Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001504/0.001504, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002485/0.002485, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.534/1.534, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.2362/0.2362, allocations: 32.37 MB / 270 MB, free: 14.78 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.819e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3425/0.3425, allocations: 129.5 MB / 476.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3436, allocations: 0.8858 MB / 477.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.3437, allocations: 0 / 477.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.3439, allocations: 29.38 kB / 477.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.3446, allocations: 254.6 kB / 477.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3449, allocations: 122.2 kB / 477.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3451, allocations: 170.1 kB / 477.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.3451, allocations: 2.844 kB / 477.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3453, allocations: 112.9 kB / 478 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.3454, allocations: 46.58 kB / 478.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3455, allocations: 8.938 kB / 478.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.3459, allocations: 254.7 kB / 478.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.346, allocations: 21.88 kB / 478.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.346, allocations: 35.59 kB / 478.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.3465, allocations: 316 kB / 478.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3465, allocations: 3.984 kB / 478.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3465, allocations: 2.938 kB / 478.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3465, allocations: 0 / 478.7 MB, free: 11.15 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004456/0.3469, allocations: 330.1 kB / 479 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.347, allocations: 10.72 kB / 479 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.3489, allocations: 224.2 kB / 479.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3492, allocations: 161 kB / 479.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3493, allocations: 5.594 kB / 479.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.3493, allocations: 8.812 kB / 479.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.3498, allocations: 303.2 kB / 479.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3498, allocations: 7.188 kB / 479.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3498, allocations: 3.375 kB / 479.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3498, allocations: 2.531 kB / 479.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.3502, allocations: 164.2 kB / 479.9 MB, free: 10.38 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.0009029/0.3511, allocations: 0.5133 MB / 480.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3515, allocations: 133.4 kB / 480.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3516, allocations: 68.61 kB / 480.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.3516, allocations: 3.656 kB / 480.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3516, allocations: 37 kB / 480.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.3516, allocations: 0 / 480.6 MB, free: 9.848 MB / 362.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.004726/0.3564, allocations: 1.123 MB / 481.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.3564, allocations: 54.25 kB / 481.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.3565, allocations: 110.8 kB / 481.9 MB, free: 9.207 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3565, allocations: 36.08 kB / 481.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.3565, allocations: 97.2 kB / 482 MB, free: 9.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.3566, allocations: 67.52 kB / 482.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.3567, allocations: 48.53 kB / 482.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.3567, allocations: 323.7 kB / 482.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3568, allocations: 63.16 kB / 482.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.357, allocations: 101.7 kB / 482.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.3573, allocations: 183.5 kB / 482.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3573, allocations: 0 / 482.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004231/0.3577, allocations: 257.1 kB / 483.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3577, allocations: 9.141 kB / 483.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3577, allocations: 0 / 483.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.3579, allocations: 33.31 kB / 483.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.3582, allocations: 50.31 kB / 483.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002699/0.3585, allocations: 0.553 MB / 483.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3587, allocations: 9.922 kB / 483.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.3587, allocations: 13.19 kB / 483.7 MB, free: 7.949 MB / 362.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 9.333e-05/0.3588, allocations: 131.7 kB / 483.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.3588, allocations: 16.62 kB / 483.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.3594, allocations: 305.7 kB / 484.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3595, allocations: 0 / 484.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3595, allocations: 2.812 kB / 484.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3595, allocations: 3.984 kB / 484.2 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.3603, allocations: 0.5254 MB / 484.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3603, allocations: 2.719 kB / 484.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.3606, allocations: 52.19 kB / 484.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/0.3607, allocations: 25.19 kB / 484.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3608, allocations: 12.7 kB / 484.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.3614, allocations: 1.238 MB / 486 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3614, allocations: 3.984 kB / 486 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.362, allocations: 413.3 kB / 486.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.362, allocations: 16.55 kB / 486.5 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.362, allocations: 2.312 kB / 486.5 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3622, allocations: 6.5 kB / 486.5 MB, free: 5.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3623, allocations: 29.45 kB / 486.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3623, allocations: 21.59 kB / 486.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.3624, allocations: 89.56 kB / 486.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3624, allocations: 0 / 486.6 MB, free: 5.816 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004436/0.3628, allocations: 84.94 kB / 486.7 MB, free: 5.809 MB / 362.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.0003865/0.3632, allocations: 153.9 kB / 486.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.3636, allocations: 185.9 kB / 487 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3636, allocations: 2.188 kB / 487 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3639, allocations: 205.3 kB / 487.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.3644, allocations: 70.77 kB / 487.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.365, allocations: 390.1 kB / 487.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.3651, allocations: 90.25 kB / 487.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.3653, allocations: 64.2 kB / 487.8 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.3655, allocations: 44.09 kB / 487.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3655, allocations: 0 / 487.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of Templates: time 0.007925/0.3734, allocations: 5.257 MB / 493.1 MB, free: 2.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.428829911979847]