Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008875/0.0008875, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00399/0.00399, allocations: 163.3 kB / 24.7 MB, free: 9.43 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 0.8842/0.8842, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 440.8 MB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.2e-05, allocations: 6.219 kB / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2682/0.2682, allocations: 131.5 MB / 0.559 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2694, allocations: 1.437 MB / 0.5604 GB, free: 15.38 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.2694, allocations: 0 / 0.5604 GB, free: 15.38 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2697, allocations: 47.67 kB / 0.5604 GB, free: 15.33 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.2703, allocations: 421.6 kB / 0.5608 GB, free: 14.92 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2706, allocations: 175.3 kB / 0.561 GB, free: 14.75 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.2708, allocations: 195.1 kB / 0.5612 GB, free: 14.55 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.2709, allocations: 2.922 kB / 0.5612 GB, free: 14.55 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.2713, allocations: 107.7 kB / 0.5613 GB, free: 14.45 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.973e-05/0.2714, allocations: 51.8 kB / 0.5613 GB, free: 14.4 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2714, allocations: 8 kB / 0.5613 GB, free: 14.39 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005537/0.2719, allocations: 0.5492 MB / 0.5619 GB, free: 13.84 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.272, allocations: 27.91 kB / 0.5619 GB, free: 13.81 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.272, allocations: 43.91 kB / 0.5619 GB, free: 13.77 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.2725, allocations: 438.9 kB / 0.5623 GB, free: 13.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2725, allocations: 3.984 kB / 0.5623 GB, free: 13.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2725, allocations: 4 kB / 0.5624 GB, free: 13.33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2725, allocations: 0 / 0.5624 GB, free: 13.33 MB / 474.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.0004394/0.2729, allocations: 362.4 kB / 0.5627 GB, free: 12.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2729, allocations: 8.031 kB / 0.5627 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.2741, allocations: 207.9 kB / 0.5629 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.2742, allocations: 145.6 kB / 0.563 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2743, allocations: 12.56 kB / 0.5631 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.2743, allocations: 15.89 kB / 0.5631 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.2746, allocations: 282.1 kB / 0.5633 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2746, allocations: 0 / 0.5633 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.2746, allocations: 4 kB / 0.5633 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2747, allocations: 0 / 0.5633 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.275, allocations: 239.7 kB / 0.5636 GB, free: 12.02 MB / 474.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.0009642/0.276, allocations: 0.5444 MB / 0.5641 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.2762, allocations: 178.5 kB / 0.5643 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.2764, allocations: 96.75 kB / 0.5644 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.732e-05/0.2764, allocations: 11.98 kB / 0.5644 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2765, allocations: 38.5 kB / 0.5644 GB, free: 11.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.916e-06/0.2765, allocations: 8 kB / 0.5644 GB, free: 11.12 MB / 474.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.00294/0.2794, allocations: 1.377 MB / 0.5658 GB, free: 9.688 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2794, allocations: 63.34 kB / 0.5658 GB, free: 9.613 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.2795, allocations: 114 kB / 0.5659 GB, free: 9.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.2795, allocations: 29.7 kB / 0.566 GB, free: 9.457 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2796, allocations: 104.3 kB / 0.5661 GB, free: 9.352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.2796, allocations: 63.44 kB / 0.5661 GB, free: 9.289 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.2797, allocations: 45.69 kB / 0.5662 GB, free: 9.238 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.2797, allocations: 314.8 kB / 0.5665 GB, free: 8.922 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2799, allocations: 91.94 kB / 0.5666 GB, free: 8.832 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.28, allocations: 125.6 kB / 0.5667 GB, free: 8.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.2803, allocations: 221.6 kB / 0.5669 GB, free: 8.473 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.2803, allocations: 4 kB / 0.5669 GB, free: 8.469 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003528/0.2806, allocations: 294.8 kB / 0.5672 GB, free: 8.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2806, allocations: 8.094 kB / 0.5672 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2806, allocations: 3.938 kB / 0.5672 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.2807, allocations: 20.84 kB / 0.5672 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.281, allocations: 55.95 kB / 0.5673 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002491/0.2812, allocations: 0.5407 MB / 0.5678 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2813, allocations: 7.156 kB / 0.5678 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2814, allocations: 12 kB / 0.5678 GB, free: 7.504 MB / 474.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.489e-05/0.2815, allocations: 142.8 kB / 0.5679 GB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2815, allocations: 7.953 kB / 0.5679 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.2822, allocations: 312.8 kB / 0.5682 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2822, allocations: 4 kB / 0.5682 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2822, allocations: 0 / 0.5682 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2822, allocations: 0 / 0.5682 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006365/0.2828, allocations: 0.6012 MB / 0.5688 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2828, allocations: 0 / 0.5688 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.283, allocations: 47.91 kB / 0.5689 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.769e-05/0.2831, allocations: 28.88 kB / 0.5689 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2831, allocations: 11.98 kB / 0.5689 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005926/0.2837, allocations: 1.229 MB / 0.5701 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2837, allocations: 8.016 kB / 0.5701 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.2842, allocations: 457.7 kB / 0.5706 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.2842, allocations: 11.98 kB / 0.5706 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2842, allocations: 4 kB / 0.5706 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.2844, allocations: 10.31 kB / 0.5706 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.2844, allocations: 19.91 kB / 0.5706 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2844, allocations: 11.98 kB / 0.5706 GB, free: 4.426 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.2845, allocations: 91.27 kB / 0.5707 GB, free: 4.336 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2845, allocations: 3.938 kB / 0.5707 GB, free: 4.332 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.2848, allocations: 131.7 kB / 0.5708 GB, free: 4.203 MB / 474.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.0004538/0.2852, allocations: 266.8 kB / 0.5711 GB, free: 3.934 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.2856, allocations: 227.7 kB / 0.5713 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2856, allocations: 0 / 0.5713 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.2859, allocations: 229.2 kB / 0.5715 GB, free: 3.477 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2861, allocations: 48.55 kB / 0.5716 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.2867, allocations: 445 kB / 0.572 GB, free: 2.957 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.052e-05/0.2868, allocations: 90.09 kB / 0.5721 GB, free: 2.852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2869, allocations: 28.48 kB / 0.5721 GB, free: 2.824 MB / 474.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2869, allocations: 0 / 0.5721 GB, free: 2.824 MB / 474.7 MB Notification: Performance of Templates: time 0.004997/0.2919, allocations: 5.244 MB / 0.5772 GB, free: 13.6 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.265248385258019]