Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.3 MB / 236 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 102.3 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1903/0.1903, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.358e-05, allocations: 224 / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.935/2.071, allocations: 0.7079 GB / 1.21 GB, free: 117 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/2.071, allocations: 70.66 kB / 1.21 GB, free: 117 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08419/2.156, allocations: 40.65 MB / 1.249 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/2.156, allocations: 0 / 1.249 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.602e-05/2.156, allocations: 4 kB / 1.249 GB, free: 81.09 MB / 0.5261 GB 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.0009074/2.157, allocations: 0.5066 MB / 1.25 GB, free: 80.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/2.157, allocations: 8.031 kB / 1.25 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/2.16, allocations: 379.8 kB / 1.25 GB, free: 80.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/2.16, allocations: 262.8 kB / 1.251 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/2.16, allocations: 16.2 kB / 1.251 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/2.16, allocations: 27.94 kB / 1.251 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/2.161, allocations: 449.7 kB / 1.251 GB, free: 79.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/2.161, allocations: 3.953 kB / 1.251 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/2.161, allocations: 8 kB / 1.251 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/2.161, allocations: 8 kB / 1.251 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/2.162, allocations: 467.8 kB / 1.251 GB, free: 78.89 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.001916/2.164, allocations: 0.9863 MB / 1.252 GB, free: 77.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/2.164, allocations: 269.1 kB / 1.253 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/2.164, allocations: 141.7 kB / 1.253 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/2.165, allocations: 0.7542 MB / 1.254 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/2.165, allocations: 38.78 kB / 1.254 GB, free: 76.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.665e-06/2.166, allocations: 4 kB / 1.254 GB, free: 76.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0005573/2.166, allocations: 270.2 kB / 1.254 GB, free: 76.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/2.166, allocations: 89.03 kB / 1.254 GB, free: 76.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/2.166, allocations: 105 kB / 1.254 GB, free: 76.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/2.166, allocations: 29.7 kB / 1.254 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/2.166, allocations: 120.4 kB / 1.254 GB, free: 75.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/2.166, allocations: 106.5 kB / 1.254 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/2.166, allocations: 4 kB / 1.254 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/2.166, allocations: 330.7 kB / 1.255 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/2.167, allocations: 104.6 kB / 1.255 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/2.167, allocations: 187.6 kB / 1.255 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/2.167, allocations: 138.3 kB / 1.255 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/2.167, allocations: 0 / 1.255 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005339/2.168, allocations: 349.5 kB / 1.255 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/2.168, allocations: 12 kB / 1.255 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/2.168, allocations: 4 kB / 1.255 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/2.168, allocations: 4 kB / 1.255 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/2.168, allocations: 75.89 kB / 1.255 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/2.168, allocations: 7.938 kB / 1.255 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/2.168, allocations: 31.69 kB / 1.255 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/2.168, allocations: 23.98 kB / 1.256 GB, free: 74.45 MB / 0.5261 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/2.168, allocations: 124.9 kB / 1.256 GB, free: 74.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-05/2.169, allocations: 11.91 kB / 1.256 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/2.169, allocations: 358.7 kB / 1.256 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/2.169, allocations: 4 kB / 1.256 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.169, allocations: 0 / 1.256 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/2.169, allocations: 3.984 kB / 1.256 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/2.17, allocations: 360.5 kB / 1.256 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/2.17, allocations: 4 kB / 1.256 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/2.17, allocations: 55.89 kB / 1.256 GB, free: 73.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/2.17, allocations: 4 kB / 1.256 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/2.17, allocations: 11.98 kB / 1.256 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/2.17, allocations: 3.938 kB / 1.256 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.17, allocations: 4 kB / 1.256 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/2.171, allocations: 0.5318 MB / 1.257 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/2.171, allocations: 92.95 kB / 1.257 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/2.171, allocations: 8 kB / 1.257 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/2.171, allocations: 23.83 kB / 1.257 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/2.171, allocations: 27.91 kB / 1.257 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/2.171, allocations: 19.98 kB / 1.257 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.461e-05/2.171, allocations: 87.58 kB / 1.257 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.171, allocations: 4 kB / 1.257 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001048/2.172, allocations: 263.8 kB / 1.257 GB, free: 72.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/2.174, allocations: 0.742 MB / 1.258 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004513/2.174, allocations: 284.2 kB / 1.258 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.174, allocations: 0 / 1.258 GB, free: 71.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/2.175, allocations: 135.9 kB / 1.259 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/2.175, allocations: 81.02 kB / 1.259 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/2.176, allocations: 0.617 MB / 1.259 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/2.176, allocations: 0.744 MB / 1.26 GB, free: 69.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004559/2.177, allocations: 82.19 kB / 1.26 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/2.177, allocations: 27.42 kB / 1.26 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/2.177, allocations: 4 kB / 1.26 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.01807/2.195, allocations: 15.62 MB / 1.275 GB, free: 54.02 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches