Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001484/0.001484, allocations: 96.2 kB / 20.21 MB, free: 4.195 MB / 18.57 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.001568/0.001568, allocations: 157.3 kB / 23.51 MB, free: 0.8945 MB / 18.57 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.395/1.395, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2218/0.2218, allocations: 32.37 MB / 270 MB, free: 14.79 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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.676e-05, allocations: 2.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3195/0.3196, allocations: 127.3 MB / 474.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.3257, allocations: 5.167 MB / 479.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.3263, allocations: 26.28 kB / 479.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008562/0.3272, allocations: 328.8 kB / 479.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.3289, allocations: 0.9063 MB / 480.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.3313, allocations: 1.071 MB / 481.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3328, allocations: 1.833 MB / 483.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005011/0.3333, allocations: 426.4 kB / 484 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.3345, allocations: 0.9838 MB / 485 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.3353, allocations: 0.6918 MB / 485.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.3354, allocations: 61.41 kB / 485.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008858/0.3363, allocations: 491.8 kB / 486.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.3365, allocations: 285.5 kB / 486.5 MB, free: 8.785 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.3368, allocations: 287.7 kB / 486.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.3379, allocations: 1.181 MB / 487.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3379, allocations: 3.938 kB / 487.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3379, allocations: 4 kB / 487.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3379, allocations: 0 / 487.9 MB, free: 8.094 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001691/0.3396, allocations: 0.9938 MB / 488.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3397, allocations: 10.66 kB / 488.9 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.3401, allocations: 152.2 kB / 489.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.3408, allocations: 0.4958 MB / 489.6 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3409, allocations: 151.2 kB / 489.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.983e-05/0.341, allocations: 58.31 kB / 489.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.342, allocations: 1.173 MB / 491 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.342, allocations: 7.031 kB / 491 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.3421, allocations: 27.69 kB / 491 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.3422, allocations: 42.12 kB / 491 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.343, allocations: 0.6517 MB / 491.7 MB, free: 5.402 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.3462, allocations: 3.078 MB / 494.8 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.3469, allocations: 406.5 kB / 495.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.3472, allocations: 187.7 kB / 495.3 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.3474, allocations: 74.53 kB / 495.4 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3475, allocations: 39.95 kB / 495.5 MB, free: 2.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.502e-06/0.3475, allocations: 0 / 495.5 MB, free: 2.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002744/0.3502, allocations: 1.407 MB / 496.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3502, allocations: 144.6 kB / 497 MB, free: 1.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.3507, allocations: 0.5128 MB / 497.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.3507, allocations: 38.64 kB / 497.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3509, allocations: 369.6 kB / 497.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.351, allocations: 168.9 kB / 498.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3511, allocations: 140.7 kB / 498.2 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.3512, allocations: 368.1 kB / 498.6 MB, free: 228 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.3515, allocations: 215 kB / 498.8 MB, free: 124 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.3522, allocations: 0.5889 MB / 499.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3533, allocations: 0.7662 MB / 0.4884 GB, free: 14.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3533, allocations: 2.781 kB / 0.4884 GB, free: 14.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001668/0.355, allocations: 0.9295 MB / 0.4893 GB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.355, allocations: 10.62 kB / 0.4893 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.355, allocations: 11.91 kB / 0.4894 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.3564, allocations: 294.1 kB / 0.4896 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.3568, allocations: 122 kB / 0.4897 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.3582, allocations: 0.8983 MB / 0.4906 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.3586, allocations: 25.38 kB / 0.4906 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.3587, allocations: 37.2 kB / 0.4907 GB, free: 13.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.359, allocations: 243 kB / 0.4909 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3592, allocations: 83 kB / 0.491 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3605, allocations: 0.6917 MB / 0.4917 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3605, allocations: 7.109 kB / 0.4917 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3605, allocations: 2.5 kB / 0.4917 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3605, allocations: 0 / 0.4917 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3626, allocations: 1.175 MB / 0.4928 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3626, allocations: 7.312 kB / 0.4928 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.3637, allocations: 199.8 kB / 0.493 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.3638, allocations: 25.03 kB / 0.493 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.3639, allocations: 23.92 kB / 0.4931 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.3665, allocations: 2.627 MB / 0.4956 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.3665, allocations: 4.031 kB / 0.4956 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.3683, allocations: 0.9395 MB / 0.4966 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/0.3687, allocations: 119.5 kB / 0.4967 GB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.3688, allocations: 15.94 kB / 0.4967 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.3692, allocations: 19.98 kB / 0.4967 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3693, allocations: 41.44 kB / 0.4967 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.3693, allocations: 23.98 kB / 0.4968 GB, free: 7.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000522/0.3699, allocations: 359 kB / 0.4971 GB, free: 7.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 0.4971 GB, free: 7.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009142/0.3708, allocations: 227.7 kB / 0.4973 GB, free: 6.891 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006715/0.3715, allocations: 264.5 kB / 0.4976 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.3732, allocations: 0.5827 MB / 0.4982 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.3732, allocations: 0 / 0.4982 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3743, allocations: 439.9 kB / 0.4986 GB, free: 5.617 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.3759, allocations: 333.2 kB / 0.4989 GB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.3784, allocations: 1.322 MB / 0.5002 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.3788, allocations: 341 kB / 0.5005 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.3795, allocations: 201.6 kB / 0.5007 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3796, allocations: 60.48 kB / 0.5008 GB, free: 3.328 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.3796, allocations: 4 kB / 0.5008 GB, free: 3.324 MB / 378.7 MB Notification: Performance of Templates: time 0.02867/0.4083, allocations: 14.26 MB / 0.5147 GB, free: 5.164 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.603980315034278]