Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001908, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 110.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4896/0.4896, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3676, allocations: 62.01 MB / 0.5151 GB, free: 37.61 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.149/0.5166, allocations: 147.4 MB / 0.6591 GB, free: 5.688 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.5185, allocations: 1.64 MB / 0.6607 GB, free: 4.043 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.5186, allocations: 0 / 0.6607 GB, free: 4.043 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.519, allocations: 47.78 kB / 0.6608 GB, free: 3.996 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000829/0.5199, allocations: 370.4 kB / 0.6611 GB, free: 3.633 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.5203, allocations: 153.7 kB / 0.6613 GB, free: 3.488 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.5206, allocations: 247.1 kB / 0.6615 GB, free: 3.246 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.5206, allocations: 4 kB / 0.6615 GB, free: 3.242 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.5207, allocations: 81.75 kB / 0.6616 GB, free: 3.164 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.5209, allocations: 63.75 kB / 0.6616 GB, free: 3.102 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.5209, allocations: 7.984 kB / 0.6616 GB, free: 3.094 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.522, allocations: 0.7055 MB / 0.6623 GB, free: 2.387 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.5221, allocations: 31.89 kB / 0.6624 GB, free: 2.355 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.5221, allocations: 47.8 kB / 0.6624 GB, free: 2.309 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.5227, allocations: 446.9 kB / 0.6628 GB, free: 1.871 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5227, allocations: 0 / 0.6628 GB, free: 1.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.5228, allocations: 0 / 0.6628 GB, free: 1.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.5228, allocations: 0 / 0.6628 GB, free: 1.871 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.0004946/0.5233, allocations: 439.4 kB / 0.6633 GB, free: 1.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5233, allocations: 8.031 kB / 0.6633 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.5255, allocations: 192.6 kB / 0.6634 GB, free: 1.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.5258, allocations: 215.7 kB / 0.6637 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.5258, allocations: 4 kB / 0.6637 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.5259, allocations: 8 kB / 0.6637 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.5263, allocations: 203 kB / 0.6639 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5263, allocations: 4 kB / 0.6639 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.5264, allocations: 4 kB / 0.6639 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5264, allocations: 3.938 kB / 0.6639 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.5269, allocations: 235.8 kB / 0.6641 GB, free: 0.4922 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.001687/0.5286, allocations: 0.6705 MB / 0.6647 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.5291, allocations: 186.5 kB / 0.6649 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.5293, allocations: 96.75 kB / 0.665 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.5295, allocations: 89.09 kB / 0.6651 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5295, allocations: 38.56 kB / 0.6651 GB, free: 15.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/0.5295, allocations: 0 / 0.6651 GB, free: 15.33 MB / 490.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.005568/0.5351, allocations: 1.537 MB / 0.6666 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.5352, allocations: 59.34 kB / 0.6667 GB, free: 13.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.5353, allocations: 109.8 kB / 0.6668 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5353, allocations: 29.7 kB / 0.6668 GB, free: 13.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.5353, allocations: 92.42 kB / 0.6669 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.5354, allocations: 70.94 kB / 0.667 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.5355, allocations: 45.7 kB / 0.667 GB, free: 13.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.5356, allocations: 322.8 kB / 0.6673 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5358, allocations: 87.95 kB / 0.6674 GB, free: 12.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.5361, allocations: 119.4 kB / 0.6675 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.5365, allocations: 231.5 kB / 0.6678 GB, free: 12.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5365, allocations: 4 kB / 0.6678 GB, free: 12.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005986/0.5371, allocations: 282.2 kB / 0.668 GB, free: 12.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5371, allocations: 12.08 kB / 0.668 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5372, allocations: 0 / 0.668 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.5373, allocations: 24.84 kB / 0.6681 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.5377, allocations: 55.91 kB / 0.6681 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003194/0.5381, allocations: 0.5367 MB / 0.6686 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.5384, allocations: 12.06 kB / 0.6687 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.5384, allocations: 15.98 kB / 0.6687 GB, free: 11.49 MB / 490.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.0001155/0.5385, allocations: 122.7 kB / 0.6688 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.5386, allocations: 11.91 kB / 0.6688 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007356/0.5394, allocations: 315.4 kB / 0.6691 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5394, allocations: 4 kB / 0.6691 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5394, allocations: 3.938 kB / 0.6691 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5394, allocations: 0 / 0.6691 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5405, allocations: 0.6872 MB / 0.6698 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5405, allocations: 4 kB / 0.6698 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.5409, allocations: 51.89 kB / 0.6698 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.826e-05/0.541, allocations: 20.84 kB / 0.6698 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.541, allocations: 8.094 kB / 0.6699 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.5419, allocations: 1.26 MB / 0.6711 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5419, allocations: 4.094 kB / 0.6711 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/0.5677, allocations: 4.92 MB / 0.6759 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.5677, allocations: 88.98 kB / 0.676 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.5678, allocations: 8 kB / 0.676 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.5681, allocations: 7.984 kB / 0.676 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5682, allocations: 24.16 kB / 0.676 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.5682, allocations: 11.98 kB / 0.676 GB, free: 3.371 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.5683, allocations: 95.14 kB / 0.6761 GB, free: 3.277 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5683, allocations: 0 / 0.6761 GB, free: 3.277 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001023/0.5693, allocations: 343.9 kB / 0.6764 GB, free: 2.941 MB / 490.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.001987/0.5713, allocations: 466.8 kB / 0.6769 GB, free: 2.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.5719, allocations: 239.6 kB / 0.6771 GB, free: 2.238 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.572, allocations: 4 kB / 0.6771 GB, free: 2.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.5724, allocations: 230.9 kB / 0.6773 GB, free: 1.996 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.5728, allocations: 41.52 kB / 0.6774 GB, free: 1.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5739, allocations: 0.8074 MB / 0.6782 GB, free: 1.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.5742, allocations: 0.7206 MB / 0.6789 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000415/0.5746, allocations: 53.62 kB / 0.6789 GB, free: 300 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5747, allocations: 27.42 kB / 0.679 GB, free: 272 kB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5747, allocations: 4 kB / 0.679 GB, free: 268 kB / 490.7 MB Notification: Performance of Templates: time 0.2155/0.7902, allocations: 18.28 MB / 0.6968 GB, free: 140.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches