Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.002008/0.002008, 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.0025/0.0025, allocations: 157.3 kB / 23.52 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.618/1.618, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2274/0.2274, allocations: 32.38 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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.754e-05, allocations: 2.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3437/0.3437, allocations: 129.8 MB / 476.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3454, allocations: 1.346 MB / 478 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3455, allocations: 0 / 478 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3459, allocations: 44.59 kB / 478.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.347, allocations: 404.2 kB / 478.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.3475, allocations: 174.4 kB / 478.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3478, allocations: 192.7 kB / 478.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.3478, allocations: 6.656 kB / 478.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.348, allocations: 102 kB / 478.9 MB, free: 11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3482, allocations: 52.55 kB / 479 MB, free: 11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3482, allocations: 5.156 kB / 479 MB, free: 11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3493, allocations: 0.5317 MB / 479.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.489e-05/0.3494, allocations: 33.89 kB / 479.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.3495, allocations: 40.31 kB / 479.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.3503, allocations: 428.5 kB / 480 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3503, allocations: 0 / 480 MB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3503, allocations: 0 / 480 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3503, allocations: 0 / 480 MB, free: 10.74 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005822/0.3509, allocations: 360.1 kB / 480.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3509, allocations: 10.69 kB / 480.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.3532, allocations: 232.5 kB / 480.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3534, allocations: 148.2 kB / 480.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3534, allocations: 12.69 kB / 480.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.3535, allocations: 11.62 kB / 480.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.354, allocations: 281.7 kB / 481 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.354, allocations: 3.984 kB / 481 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.354, allocations: 5.719 kB / 481.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.354, allocations: 2.375 kB / 481.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.3545, allocations: 231.5 kB / 481.3 MB, free: 9.961 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.001582/0.3561, allocations: 0.5599 MB / 481.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.3565, allocations: 184.6 kB / 482 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3567, allocations: 88.75 kB / 482.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.3569, allocations: 15.67 kB / 482.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3569, allocations: 37.56 kB / 482.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.3569, allocations: 0 / 482.2 MB, free: 9.5 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.005599/0.3625, allocations: 1.382 MB / 483.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3625, allocations: 53.78 kB / 483.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.3626, allocations: 115.5 kB / 483.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3626, allocations: 35.27 kB / 483.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.3627, allocations: 95.62 kB / 483.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3627, allocations: 75.5 kB / 483.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.3628, allocations: 46.16 kB / 484 MB, free: 8.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.3629, allocations: 321.5 kB / 484.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3631, allocations: 91.62 kB / 484.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3633, allocations: 123.1 kB / 484.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.3637, allocations: 228.6 kB / 484.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3637, allocations: 0 / 484.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006168/0.3644, allocations: 289.7 kB / 485 MB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3644, allocations: 5.844 kB / 485 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3644, allocations: 2.594 kB / 485 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.3645, allocations: 26.53 kB / 485 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.365, allocations: 66.67 kB / 485.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000272/0.3652, allocations: 0.5335 MB / 485.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3655, allocations: 5.594 kB / 485.6 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3656, allocations: 8.25 kB / 485.6 MB, free: 7.465 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 0.0001018/0.3657, allocations: 129 kB / 485.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.3658, allocations: 29.94 kB / 485.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.3665, allocations: 318.5 kB / 486.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3665, allocations: 2.531 kB / 486.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3665, allocations: 0 / 486.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3665, allocations: 4 kB / 486.1 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009732/0.3675, allocations: 0.5862 MB / 486.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3675, allocations: 3.984 kB / 486.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.3679, allocations: 45.56 kB / 486.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.368, allocations: 22.5 kB / 486.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.3681, allocations: 14.3 kB / 486.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.3687, allocations: 1.247 MB / 488 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3687, allocations: 0 / 488 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.3696, allocations: 459.4 kB / 488.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.3696, allocations: 10.3 kB / 488.5 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3696, allocations: 3.812 kB / 488.5 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.37, allocations: 12.52 kB / 488.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.37, allocations: 23.2 kB / 488.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.37, allocations: 9.453 kB / 488.5 MB, free: 5.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.3701, allocations: 90.58 kB / 488.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3701, allocations: 0 / 488.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006082/0.3707, allocations: 130.9 kB / 488.7 MB, free: 5.27 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 (19): * Single equations (assignments): 18 * 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.0007009/0.3714, allocations: 256.2 kB / 489 MB, free: 5.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.372, allocations: 229.2 kB / 489.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.372, allocations: 10.94 kB / 489.2 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.3724, allocations: 231.9 kB / 489.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.3729, allocations: 47.45 kB / 489.5 MB, free: 4.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.3737, allocations: 401.1 kB / 489.9 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.3737, allocations: 97.42 kB / 490 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.374, allocations: 61.94 kB / 490 MB, free: 4.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3742, allocations: 21.91 kB / 490.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3742, allocations: 0 / 490.1 MB, free: 4.488 MB / 362.7 MB Notification: Performance of Templates: time 0.01041/0.3846, allocations: 6.348 MB / 496.4 MB, free: 1.199 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.480094010010362]