Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001093/0.001093, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001095/0.001095, allocations: 164 kB / 24.99 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3142/0.3142, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.628e-05, allocations: 6.25 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3838/0.3838, allocations: 145 MB / 0.5107 GB, free: 17.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.385, allocations: 1.06 MB / 0.5118 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3851, allocations: 0 / 0.5118 GB, free: 17.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3855, allocations: 31 kB / 0.5118 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.3863, allocations: 290.5 kB / 0.5121 GB, free: 17.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3867, allocations: 112.3 kB / 0.5122 GB, free: 17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.387, allocations: 185.6 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.3871, allocations: 4.875 kB / 0.5124 GB, free: 16.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.3873, allocations: 122.8 kB / 0.5125 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3874, allocations: 51.83 kB / 0.5125 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3875, allocations: 4 kB / 0.5125 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.388, allocations: 268.1 kB / 0.5128 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.3881, allocations: 18.17 kB / 0.5128 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.3881, allocations: 42.23 kB / 0.5129 GB, free: 16.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.3887, allocations: 296.3 kB / 0.5131 GB, free: 16.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3887, allocations: 0 / 0.5131 GB, free: 16.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3887, allocations: 0 / 0.5131 GB, free: 16.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3887, allocations: 0 / 0.5131 GB, free: 16.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005144/0.3892, allocations: 446.5 kB / 0.5136 GB, free: 16.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3892, allocations: 11.91 kB / 0.5136 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.3905, allocations: 205.6 kB / 0.5138 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.3908, allocations: 151.7 kB / 0.5139 GB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3908, allocations: 11.8 kB / 0.5139 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.3909, allocations: 16.59 kB / 0.5139 GB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.3912, allocations: 295 kB / 0.5142 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3913, allocations: 4 kB / 0.5142 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3913, allocations: 2.812 kB / 0.5142 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3913, allocations: 0 / 0.5142 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3915, allocations: 132.8 kB / 0.5144 GB, free: 15.83 MB / 410.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.0007532/0.3923, allocations: 0.6295 MB / 0.515 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3925, allocations: 128.5 kB / 0.5151 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3926, allocations: 63.72 kB / 0.5152 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3926, allocations: 11.2 kB / 0.5152 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3926, allocations: 34.33 kB / 0.5152 GB, free: 15.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.3926, allocations: 2.625 kB / 0.5152 GB, free: 15.12 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002759/0.3954, allocations: 0.9725 MB / 0.5161 GB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3954, allocations: 51.41 kB / 0.5162 GB, free: 14.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3955, allocations: 176.8 kB / 0.5164 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3955, allocations: 25.7 kB / 0.5164 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.3956, allocations: 148.9 kB / 0.5165 GB, free: 14.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.3956, allocations: 65 kB / 0.5166 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.3957, allocations: 59.97 kB / 0.5167 GB, free: 14.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.3958, allocations: 0.4922 MB / 0.5171 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.3959, allocations: 48.75 kB / 0.5172 GB, free: 13.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.396, allocations: 97.81 kB / 0.5173 GB, free: 13.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3962, allocations: 153 kB / 0.5174 GB, free: 13.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3962, allocations: 0 / 0.5174 GB, free: 13.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003159/0.3965, allocations: 218.4 kB / 0.5176 GB, free: 13.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3965, allocations: 9.312 kB / 0.5176 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3965, allocations: 0 / 0.5176 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.3967, allocations: 40.3 kB / 0.5177 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.3969, allocations: 46.52 kB / 0.5177 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003296/0.3973, allocations: 0.8073 MB / 0.5185 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.3973, allocations: 9.125 kB / 0.5185 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3974, allocations: 22.28 kB / 0.5185 GB, free: 12.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.3975, allocations: 171.8 kB / 0.5187 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3975, allocations: 16.92 kB / 0.5187 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.398, allocations: 270.1 kB / 0.519 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.398, allocations: 2.844 kB / 0.519 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.398, allocations: 7.188 kB / 0.519 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.398, allocations: 7.078 kB / 0.519 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.3987, allocations: 0.5354 MB / 0.5195 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3987, allocations: 6.969 kB / 0.5195 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.3989, allocations: 55.88 kB / 0.5196 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.399, allocations: 20.84 kB / 0.5196 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.399, allocations: 18.75 kB / 0.5196 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007792/0.3998, allocations: 1.721 MB / 0.5213 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3998, allocations: 0 / 0.5213 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.4002, allocations: 436.9 kB / 0.5217 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.4003, allocations: 11.31 kB / 0.5217 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.4003, allocations: 10.72 kB / 0.5217 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4004, allocations: 9.609 kB / 0.5217 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4005, allocations: 24.69 kB / 0.5218 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.4005, allocations: 20.59 kB / 0.5218 GB, free: 9.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.4005, allocations: 129 kB / 0.5219 GB, free: 9.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4005, allocations: 0 / 0.5219 GB, free: 9.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003757/0.4009, allocations: 84.75 kB / 0.522 GB, free: 9.676 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (20): * Single equations (assignments): 19 * 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): 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.0003316/0.4012, allocations: 156.8 kB / 0.5221 GB, free: 9.559 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.4016, allocations: 168 kB / 0.5223 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4016, allocations: 3.406 kB / 0.5223 GB, free: 9.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.4018, allocations: 279.3 kB / 0.5226 GB, free: 9.309 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4022, allocations: 57.08 kB / 0.5226 GB, free: 9.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.4031, allocations: 404.8 kB / 0.523 GB, free: 9.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.4032, allocations: 69.48 kB / 0.5231 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.4034, allocations: 64.66 kB / 0.5231 GB, free: 8.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.4035, allocations: 38.41 kB / 0.5232 GB, free: 8.898 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/0.4035, allocations: 0 / 0.5232 GB, free: 8.898 MB / 410.7 MB Notification: Performance of Templates: time 0.008504/0.412, allocations: 5.351 MB / 0.5284 GB, free: 8.434 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.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.6545225467998534]