Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002135/0.003505, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.003284, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1637/1.173, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.13/0.13, allocations: 32.36 MB / 253.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02282/0.1528, allocations: 12.29 MB / 265.9 MB, free: 7.832 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.25e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004379/0.004402, allocations: 5.157 MB / 272.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.006943, allocations: 1.666 MB / 274 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.007216, allocations: 24 kB / 274.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.008845, allocations: 1.688 MB / 275.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.009402, allocations: 313.4 kB / 276 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.01023, allocations: 0.5023 MB / 276.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.01088, allocations: 0.8394 MB / 277.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009375/0.01182, allocations: 0.6411 MB / 278 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.01249, allocations: 0.5191 MB / 278.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.0131, allocations: 363 kB / 278.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.01324, allocations: 76 kB / 279 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.01376, allocations: 183.8 kB / 279.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.01388, allocations: 131.6 kB / 279.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.01417, allocations: 239.5 kB / 279.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01522, allocations: 0.7043 MB / 280.2 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.338e-05/0.01524, allocations: 4 kB / 280.2 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01524, allocations: 4 kB / 280.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.663e-05/0.01528, allocations: 0 / 280.2 MB, free: 9.43 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003368/0.01865, allocations: 1.581 MB / 281.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.01869, allocations: 12.03 kB / 281.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.02009, allocations: 408.1 kB / 282.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.02034, allocations: 193.3 kB / 282.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/0.02042, allocations: 78.36 kB / 282.5 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.02057, allocations: 112.1 kB / 282.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.02157, allocations: 0.6747 MB / 283.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.02161, allocations: 0 / 283.3 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.02167, allocations: 40 kB / 283.3 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.02169, allocations: 24 kB / 283.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.02226, allocations: 273.8 kB / 283.6 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.02587, allocations: 2.234 MB / 285.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.02698, allocations: 0.6723 MB / 286.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.02712, allocations: 157.2 kB / 286.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.768e-05/0.02719, allocations: 20.31 kB / 286.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.02722, allocations: 54.62 kB / 286.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.02722, allocations: 0 / 286.7 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.001/0.02822, allocations: 0.6852 MB / 287.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.02827, allocations: 136.5 kB / 287.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.02844, allocations: 280.6 kB / 287.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.02846, allocations: 37.7 kB / 287.9 MB, free: 1.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.0286, allocations: 403.9 kB / 288.3 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.02871, allocations: 241.9 kB / 288.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.02882, allocations: 146.5 kB / 288.6 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.02891, allocations: 358.7 kB / 289 MB, free: 320 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.02898, allocations: 77.97 kB / 289.1 MB, free: 244 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.02915, allocations: 280.6 kB / 289.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.02945, allocations: 441.5 kB / 289.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.02945, allocations: 4 kB / 289.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005133/0.02996, allocations: 0.5482 MB / 290.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.02998, allocations: 4 kB / 290.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.02999, allocations: 8 kB / 290.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.0305, allocations: 231.3 kB / 290.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.03075, allocations: 163.7 kB / 290.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.0332, allocations: 5.313 MB / 296 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.03342, allocations: 87.45 kB / 296.1 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.03345, allocations: 24 kB / 296.1 MB, free: 8.621 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.03359, allocations: 161.5 kB / 296.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.03366, allocations: 47.95 kB / 296.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.03409, allocations: 433 kB / 296.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.03409, allocations: 8 kB / 296.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.0341, allocations: 4 kB / 296.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.0341, allocations: 11.97 kB / 296.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/0.03505, allocations: 0.888 MB / 297.7 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.03505, allocations: 4 kB / 297.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.03518, allocations: 71.91 kB / 297.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.03522, allocations: 51.58 kB / 297.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.03564, allocations: 223.1 kB / 298 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.03566, allocations: 12 kB / 298 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.03792, allocations: 5.271 MB / 303.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.03792, allocations: 0 / 303.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.03862, allocations: 0.7917 MB / 304.1 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.03867, allocations: 12 kB / 304.1 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.03897, allocations: 16 kB / 304.1 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.03908, allocations: 55.83 kB / 304.2 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.0391, allocations: 12 kB / 304.2 MB, free: 116 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.03921, allocations: 86.77 kB / 304.3 MB, free: 28 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.03921, allocations: 0 / 304.3 MB, free: 28 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001005/0.04021, allocations: 283.5 kB / 304.5 MB, free: 15.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.04046, allocations: 120.2 kB / 304.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.04157, allocations: 0.8749 MB / 305.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-05/0.0416, allocations: 8.5 kB / 305.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006173/0.04221, allocations: 0.7036 MB / 306.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.04262, allocations: 100.9 kB / 306.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/0.05143, allocations: 1.186 MB / 307.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.05166, allocations: 159.5 kB / 307.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.05187, allocations: 64.44 kB / 307.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.05198, allocations: 103.4 kB / 307.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.893e-06/0.05199, allocations: 0 / 307.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01099/0.06297, allocations: 7.346 MB / 315.2 MB, free: 4.895 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.114608669653535]