Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009801/0.0009804, allocations: 176.2 kB / 16.77 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000802/0.000802, allocations: 86.41 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3908/0.3908, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004363, allocations: 20 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.966/2.105, allocations: 0.739 GB / 1.219 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/2.105, allocations: 71.97 kB / 1.219 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08538/2.191, allocations: 39.76 MB / 1.258 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/2.191, allocations: 0 / 1.258 GB, free: 20.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.816e-05/2.191, allocations: 8 kB / 1.258 GB, free: 20.32 MB / 0.5105 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.001078/2.192, allocations: 0.5018 MB / 1.258 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/2.192, allocations: 12.03 kB / 1.258 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/2.195, allocations: 363 kB / 1.259 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/2.195, allocations: 252.2 kB / 1.259 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/2.195, allocations: 16.75 kB / 1.259 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/2.195, allocations: 24.28 kB / 1.259 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/2.196, allocations: 494.1 kB / 1.259 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/2.196, allocations: 192 / 1.259 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/2.196, allocations: 11.94 kB / 1.259 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/2.197, allocations: 11.94 kB / 1.26 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009153/2.197, allocations: 0.4968 MB / 1.26 GB, free: 18.07 MB / 0.5105 GB 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.002111/2.2, allocations: 0.9822 MB / 1.261 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/2.2, allocations: 289 kB / 1.261 GB, free: 16.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/2.2, allocations: 149.6 kB / 1.261 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001518/2.202, allocations: 0.8774 MB / 1.262 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/2.202, allocations: 38.56 kB / 1.262 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 4.569e-06/2.202, allocations: 0 / 1.262 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0009421/2.203, allocations: 396.2 kB / 1.263 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/2.203, allocations: 85.05 kB / 1.263 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/2.203, allocations: 121.7 kB / 1.263 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/2.203, allocations: 33.7 kB / 1.263 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/2.203, allocations: 108.4 kB / 1.263 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/2.203, allocations: 110.4 kB / 1.263 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/2.203, allocations: 8 kB / 1.263 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001013/2.203, allocations: 330.8 kB / 1.263 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/2.204, allocations: 112.6 kB / 1.264 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/2.204, allocations: 203.7 kB / 1.264 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/2.205, allocations: 336.5 kB / 1.264 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/2.205, allocations: 0 / 1.264 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007253/2.205, allocations: 374.5 kB / 1.264 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/2.205, allocations: 4 kB / 1.264 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/2.205, allocations: 7.938 kB / 1.264 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/2.205, allocations: 4 kB / 1.264 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/2.206, allocations: 75.89 kB / 1.264 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/2.206, allocations: 7.938 kB / 1.264 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/2.206, allocations: 40.03 kB / 1.265 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/2.206, allocations: 20 kB / 1.265 GB, free: 13.06 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/2.206, allocations: 141.7 kB / 1.265 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/2.206, allocations: 19.81 kB / 1.265 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/2.207, allocations: 363.4 kB / 1.265 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/2.207, allocations: 8 kB / 1.265 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/2.207, allocations: 0 / 1.265 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/2.207, allocations: 7.984 kB / 1.265 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/2.208, allocations: 354.4 kB / 1.265 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.208, allocations: 0 / 1.265 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/2.208, allocations: 63.89 kB / 1.265 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/2.208, allocations: 7.938 kB / 1.265 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/2.208, allocations: 8 kB / 1.265 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/2.208, allocations: 0 / 1.265 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.208, allocations: 0 / 1.265 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007501/2.209, allocations: 0.5536 MB / 1.266 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/2.209, allocations: 104.7 kB / 1.266 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/2.209, allocations: 12.05 kB / 1.266 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/2.209, allocations: 12 kB / 1.266 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/2.209, allocations: 19.97 kB / 1.266 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/2.209, allocations: 15.98 kB / 1.266 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.758e-05/2.209, allocations: 95.58 kB / 1.266 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.209, allocations: 0 / 1.266 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001132/2.211, allocations: 267.7 kB / 1.267 GB, free: 10.94 MB / 0.5105 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 () * 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 (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.001682/2.212, allocations: 0.7514 MB / 1.267 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005591/2.213, allocations: 300 kB / 1.268 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.213, allocations: 0 / 1.268 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/2.213, allocations: 151.2 kB / 1.268 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/2.214, allocations: 90.94 kB / 1.268 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/2.215, allocations: 0.8985 MB / 1.269 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/2.215, allocations: 0.7325 MB / 1.269 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004889/2.216, allocations: 81.83 kB / 1.269 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/2.216, allocations: 39.42 kB / 1.269 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/2.216, allocations: 0 / 1.269 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of Templates: time 0.2864/2.502, allocations: 14.42 MB / 1.284 GB, free: 151.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches