Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, 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.75/1.75, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001008, allocations: 105.6 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3924/0.3924, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 465.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3836, allocations: 62.03 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1636/0.5472, allocations: 147.7 MB / 0.6594 GB, free: 5.383 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.5512, allocations: 3.225 MB / 0.6626 GB, free: 2.148 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.5513, allocations: 0 / 0.6626 GB, free: 2.148 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.5517, allocations: 63.7 kB / 0.6626 GB, free: 2.086 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.554, allocations: 0.9436 MB / 0.6636 GB, free: 1.141 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.5545, allocations: 189.9 kB / 0.6637 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000648/0.5552, allocations: 486.4 kB / 0.6642 GB, free: 496 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.5553, allocations: 12.72 kB / 0.6642 GB, free: 488 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.5556, allocations: 139.5 kB / 0.6644 GB, free: 348 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.5559, allocations: 123.6 kB / 0.6645 GB, free: 224 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.5559, allocations: 8 kB / 0.6645 GB, free: 216 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.5591, allocations: 1.754 MB / 0.6662 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.5593, allocations: 75.66 kB / 0.6663 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.5594, allocations: 99.58 kB / 0.6664 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.5616, allocations: 1.138 MB / 0.6675 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5616, allocations: 0 / 0.6675 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.5616, allocations: 0 / 0.6675 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5616, allocations: 0 / 0.6675 GB, free: 13.14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001104/0.5627, allocations: 0.5384 MB / 0.668 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5628, allocations: 8.031 kB / 0.668 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/0.5667, allocations: 396.2 kB / 0.6684 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.5671, allocations: 259.8 kB / 0.6686 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5672, allocations: 12.38 kB / 0.6686 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.5672, allocations: 23.91 kB / 0.6687 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.5682, allocations: 485.5 kB / 0.6691 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5682, allocations: 4 kB / 0.6691 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.5683, allocations: 12 kB / 0.6691 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5683, allocations: 4 kB / 0.6691 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5694, allocations: 0.5005 MB / 0.6696 GB, free: 10.83 MB / 490.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.002374/0.5717, allocations: 0.9843 MB / 0.6706 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.5724, allocations: 289 kB / 0.6709 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.5727, allocations: 161.9 kB / 0.671 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/0.5746, allocations: 0.9761 MB / 0.672 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5746, allocations: 42.56 kB / 0.672 GB, free: 8.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.5746, allocations: 4 kB / 0.672 GB, free: 8.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009529/0.5756, allocations: 395.1 kB / 0.6724 GB, free: 7.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5757, allocations: 89.05 kB / 0.6725 GB, free: 7.629 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.5758, allocations: 109.8 kB / 0.6726 GB, free: 7.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.5758, allocations: 29.7 kB / 0.6726 GB, free: 7.477 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.5759, allocations: 116.3 kB / 0.6727 GB, free: 7.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.576, allocations: 110.4 kB / 0.6728 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.5761, allocations: 62.03 kB / 0.6729 GB, free: 7.184 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5762, allocations: 330.8 kB / 0.6732 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.5765, allocations: 116.6 kB / 0.6733 GB, free: 6.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.5768, allocations: 199.5 kB / 0.6735 GB, free: 6.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.5774, allocations: 347 kB / 0.6738 GB, free: 6.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5775, allocations: 0 / 0.6738 GB, free: 6.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007487/0.5782, allocations: 381.1 kB / 0.6742 GB, free: 5.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5782, allocations: 4 kB / 0.6742 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5783, allocations: 4 kB / 0.6742 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5783, allocations: 4 kB / 0.6742 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.5787, allocations: 75.89 kB / 0.6743 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.5787, allocations: 8.25 kB / 0.6743 GB, free: 5.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.5791, allocations: 35.77 kB / 0.6743 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.5791, allocations: 20 kB / 0.6743 GB, free: 5.609 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.5793, allocations: 137.7 kB / 0.6745 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5794, allocations: 19.81 kB / 0.6745 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.5802, allocations: 376.1 kB / 0.6749 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5802, allocations: 4 kB / 0.6749 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5802, allocations: 0 / 0.6749 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5802, allocations: 4 kB / 0.6749 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.5808, allocations: 372.2 kB / 0.6752 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5808, allocations: 0 / 0.6752 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.5813, allocations: 59.91 kB / 0.6753 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5813, allocations: 4 kB / 0.6753 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.5813, allocations: 11.98 kB / 0.6753 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5813, allocations: 4 kB / 0.6753 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5813, allocations: 0 / 0.6753 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.5833, allocations: 1.633 MB / 0.6769 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.5834, allocations: 88.95 kB / 0.677 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.5835, allocations: 8 kB / 0.677 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.5839, allocations: 19.89 kB / 0.677 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.5839, allocations: 23.91 kB / 0.677 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.584, allocations: 23.98 kB / 0.677 GB, free: 2.625 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.584, allocations: 87.27 kB / 0.6771 GB, free: 2.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.584, allocations: 0 / 0.6771 GB, free: 2.539 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001047/0.5851, allocations: 259.8 kB / 0.6774 GB, free: 2.285 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.5864, allocations: 443.3 kB / 0.6778 GB, free: 1.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.5871, allocations: 304.1 kB / 0.6781 GB, free: 1.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5871, allocations: 4 kB / 0.6781 GB, free: 1.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.5874, allocations: 139.9 kB / 0.6782 GB, free: 1.402 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.588, allocations: 85.48 kB / 0.6783 GB, free: 1.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.5895, allocations: 0.9809 MB / 0.6793 GB, free: 308 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2127/0.8023, allocations: 0.7425 MB / 0.68 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006275/0.8029, allocations: 86.62 kB / 0.6801 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.8031, allocations: 30.88 kB / 0.6801 GB, free: 144.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8031, allocations: 1.312 kB / 0.6801 GB, free: 144.3 MB / 490.7 MB Notification: Performance of Templates: time 0.01258/0.8157, allocations: 8.392 MB / 0.6883 GB, free: 143.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches