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.001606/0.001606, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001965/0.001965, allocations: 214.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.693/1.693, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 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.2606/0.2606, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 70.72 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.16, allocations: 61.04 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.489/0.649, allocations: 129.8 MB / 0.6433 GB, free: 456 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.6513, allocations: 1.338 MB / 0.6446 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.6514, allocations: 0 / 0.6446 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.6518, allocations: 43.75 kB / 0.6447 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.6532, allocations: 406 kB / 0.6451 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.6538, allocations: 163.4 kB / 0.6452 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.6542, allocations: 187.3 kB / 0.6454 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.6542, allocations: 11.97 kB / 0.6454 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.6544, allocations: 79.69 kB / 0.6455 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.6546, allocations: 60.38 kB / 0.6456 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.6546, allocations: 11.94 kB / 0.6456 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.6559, allocations: 0.5221 MB / 0.6461 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.656, allocations: 27.95 kB / 0.6461 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.6561, allocations: 47.8 kB / 0.6462 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.6569, allocations: 377.7 kB / 0.6465 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.6569, allocations: 1.406 kB / 0.6465 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6569, allocations: 0 / 0.6465 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.6569, allocations: 0 / 0.6465 GB, free: 13.21 MB / 494.1 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.0006587/0.6576, allocations: 357.9 kB / 0.6469 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6576, allocations: 8.031 kB / 0.6469 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/0.66, allocations: 197.1 kB / 0.647 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.6603, allocations: 146.4 kB / 0.6472 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6603, allocations: 8.312 kB / 0.6472 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.6604, allocations: 12 kB / 0.6472 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.661, allocations: 282.6 kB / 0.6475 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.661, allocations: 0 / 0.6475 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.661, allocations: 4 kB / 0.6475 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.661, allocations: 0 / 0.6475 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.6617, allocations: 243.8 kB / 0.6477 GB, free: 11.91 MB / 494.1 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.001957/0.6636, allocations: 0.5414 MB / 0.6482 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.6641, allocations: 187.1 kB / 0.6484 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.6643, allocations: 88.77 kB / 0.6485 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.6645, allocations: 11.98 kB / 0.6485 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.6645, allocations: 38.56 kB / 0.6486 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.6645, allocations: 2.906 kB / 0.6486 GB, free: 11 MB / 494.1 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.006278/0.6708, allocations: 1.38 MB / 0.6499 GB, free: 9.543 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.6709, allocations: 63.28 kB / 0.65 GB, free: 9.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.671, allocations: 109.8 kB / 0.6501 GB, free: 9.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.671, allocations: 37.69 kB / 0.6501 GB, free: 9.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.6711, allocations: 104.3 kB / 0.6502 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.6712, allocations: 71.38 kB / 0.6503 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.6713, allocations: 37.7 kB / 0.6503 GB, free: 9.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6715, allocations: 326.8 kB / 0.6506 GB, free: 8.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.6717, allocations: 87.95 kB / 0.6507 GB, free: 8.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.672, allocations: 132.3 kB / 0.6508 GB, free: 8.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.6726, allocations: 223.3 kB / 0.651 GB, free: 8.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6726, allocations: 4 kB / 0.651 GB, free: 8.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006804/0.6732, allocations: 274.3 kB / 0.6513 GB, free: 8.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6733, allocations: 11.94 kB / 0.6513 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6733, allocations: 3.984 kB / 0.6513 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.6734, allocations: 32.88 kB / 0.6514 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.6739, allocations: 47.97 kB / 0.6514 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000466/0.6744, allocations: 0.5406 MB / 0.6519 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.6747, allocations: 8.031 kB / 0.6519 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.6747, allocations: 15.92 kB / 0.652 GB, free: 7.336 MB / 494.1 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.0001653/0.6749, allocations: 125.8 kB / 0.6521 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.675, allocations: 15.67 kB / 0.6521 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.6758, allocations: 314.5 kB / 0.6524 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.6758, allocations: 0 / 0.6524 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6758, allocations: 0 / 0.6524 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.6758, allocations: 7.938 kB / 0.6524 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.677, allocations: 0.5896 MB / 0.653 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.677, allocations: 0 / 0.653 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.6775, allocations: 55.83 kB / 0.653 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.6776, allocations: 24.84 kB / 0.653 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.6776, allocations: 8.094 kB / 0.6531 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.6789, allocations: 1.237 MB / 0.6543 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6789, allocations: 4.344 kB / 0.6543 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.6798, allocations: 447.7 kB / 0.6547 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.6798, allocations: 16 kB / 0.6547 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.6799, allocations: 8 kB / 0.6547 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.6802, allocations: 15.92 kB / 0.6547 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.6803, allocations: 15.97 kB / 0.6547 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.6803, allocations: 8 kB / 0.6548 GB, free: 4.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.6804, allocations: 91.25 kB / 0.6548 GB, free: 4.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6804, allocations: 0 / 0.6548 GB, free: 4.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005939/0.681, allocations: 135.7 kB / 0.655 GB, free: 4.039 MB / 494.1 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.0007272/0.6817, allocations: 254.7 kB / 0.6552 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.6824, allocations: 219.8 kB / 0.6554 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6824, allocations: 0 / 0.6554 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.6829, allocations: 234.4 kB / 0.6556 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.6834, allocations: 53.52 kB / 0.6557 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.6845, allocations: 482.5 kB / 0.6562 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.6846, allocations: 93.97 kB / 0.6562 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.6849, allocations: 57.61 kB / 0.6563 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.685, allocations: 23.42 kB / 0.6563 GB, free: 2.586 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.685, allocations: 3.938 kB / 0.6563 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Templates: time 0.01294/0.698, allocations: 6.474 MB / 0.6627 GB, free: 12.12 MB / 0.4981 GB " [Timeout remaining time 659] 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: 6.216941814869642]