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.001065/0.001065, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.357/1.357, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.12 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4342/0.4342, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4744, allocations: 61.9 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.85/2.325, allocations: 0.708 GB / 1.218 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/2.325, allocations: 72.77 kB / 1.218 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.08268/2.408, allocations: 40.71 MB / 1.257 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/2.408, allocations: 0 / 1.257 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.401e-05/2.408, allocations: 4 kB / 1.257 GB, free: 27.33 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.0009436/2.409, allocations: 0.5094 MB / 1.258 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/2.409, allocations: 8.031 kB / 1.258 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/2.412, allocations: 374.4 kB / 1.258 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/2.412, allocations: 263 kB / 1.259 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/2.412, allocations: 16.06 kB / 1.259 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/2.412, allocations: 19.69 kB / 1.259 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/2.413, allocations: 472.5 kB / 1.259 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/2.413, allocations: 7.953 kB / 1.259 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/2.413, allocations: 7 kB / 1.259 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/2.413, allocations: 4 kB / 1.259 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/2.414, allocations: 0.4899 MB / 1.26 GB, free: 25.49 MB / 0.5261 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.001963/2.416, allocations: 0.9905 MB / 1.26 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/2.417, allocations: 288.5 kB / 1.261 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/2.418, allocations: 0.7532 MB / 1.261 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/2.418, allocations: 41.88 kB / 1.262 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 3.536e-06/2.418, allocations: 0 / 1.262 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29): time 0.0008596/2.419, allocations: 386.8 kB / 1.262 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/2.419, allocations: 89.28 kB / 1.262 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/2.419, allocations: 107.5 kB / 1.262 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/2.419, allocations: 33.39 kB / 1.262 GB, free: 23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/2.419, allocations: 112.1 kB / 1.262 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/2.419, allocations: 103.7 kB / 1.262 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/2.419, allocations: 7.75 kB / 1.262 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.377e-05/2.419, allocations: 329.5 kB / 1.263 GB, free: 22.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/2.42, allocations: 112.3 kB / 1.263 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/2.42, allocations: 198.4 kB / 1.263 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/2.42, allocations: 151.3 kB / 1.263 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.42, allocations: 0 / 1.263 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006141/2.421, allocations: 365.2 kB / 1.263 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/2.421, allocations: 8 kB / 1.263 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/2.421, allocations: 320 / 1.263 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/2.421, allocations: 8 kB / 1.263 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/2.421, allocations: 78.2 kB / 1.264 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/2.421, allocations: 7.938 kB / 1.264 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/2.421, allocations: 38.42 kB / 1.264 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/2.421, allocations: 18.23 kB / 1.264 GB, free: 21.71 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 () * 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.00014/2.422, allocations: 139.1 kB / 1.264 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/2.422, allocations: 18.59 kB / 1.264 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/2.422, allocations: 373.6 kB / 1.264 GB, free: 21.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/2.422, allocations: 7.984 kB / 1.264 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.422, allocations: 0 / 1.264 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/2.422, allocations: 4 kB / 1.264 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/2.423, allocations: 368.1 kB / 1.264 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/2.423, allocations: 0 / 1.264 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/2.423, allocations: 62.47 kB / 1.265 GB, free: 20.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/2.423, allocations: 0 / 1.265 GB, free: 20.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/2.423, allocations: 10.48 kB / 1.265 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/2.423, allocations: 4 kB / 1.265 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.423, allocations: 0 / 1.265 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/2.424, allocations: 0.5531 MB / 1.265 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/2.424, allocations: 100.3 kB / 1.265 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/2.424, allocations: 7.312 kB / 1.265 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/2.425, allocations: 23.3 kB / 1.265 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/2.425, allocations: 20.78 kB / 1.265 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/2.425, allocations: 15.98 kB / 1.265 GB, free: 20.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.513e-05/2.425, allocations: 91.58 kB / 1.265 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/2.425, allocations: 0 / 1.265 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001178/2.426, allocations: 263.8 kB / 1.266 GB, free: 19.88 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 () * 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.001383/2.427, allocations: 0.7488 MB / 1.266 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005843/2.428, allocations: 299.7 kB / 1.267 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/2.428, allocations: 0.625 kB / 1.267 GB, free: 18.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/2.428, allocations: 143.8 kB / 1.267 GB, free: 18.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/2.429, allocations: 87.67 kB / 1.267 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/2.43, allocations: 0.9027 MB / 1.268 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/2.43, allocations: 0.744 MB / 1.268 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004589/2.431, allocations: 81.83 kB / 1.268 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/2.431, allocations: 31.42 kB / 1.269 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/2.431, allocations: 0 / 1.269 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of Templates: time 0.0198/2.451, allocations: 14.01 MB / 1.282 GB, free: 2.816 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