Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00104/0.00104, allocations: 176.8 kB / 17.41 MB, free: 4.383 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.508/1.508, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008148/0.0008147, allocations: 86.42 kB / 271.9 MB, free: 8.262 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.3888/0.3888, allocations: 43.57 MB / 363.8 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/1.819, allocations: 0.739 GB / 1.219 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.82, allocations: 79.95 kB / 1.219 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3546/2.174, allocations: 39.74 MB / 1.258 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.335e-06/2.174, allocations: 3.375 kB / 1.258 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.249e-05/2.174, allocations: 2.75 kB / 1.258 GB, free: 144.1 MB / 0.4948 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.001084/2.176, allocations: 0.5098 MB / 1.258 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/2.176, allocations: 15.42 kB / 1.258 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/2.179, allocations: 360 kB / 1.259 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/2.179, allocations: 261.8 kB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/2.179, allocations: 14.94 kB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/2.179, allocations: 21.94 kB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/2.18, allocations: 493.7 kB / 1.259 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/2.18, allocations: 192 / 1.259 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/2.18, allocations: 10.34 kB / 1.259 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/2.18, allocations: 5.781 kB / 1.259 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/2.181, allocations: 0.5025 MB / 1.26 GB, free: 143.4 MB / 0.4948 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.00187/2.183, allocations: 0.9856 MB / 1.261 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/2.184, allocations: 289.1 kB / 1.261 GB, free: 143 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/2.184, allocations: 151.6 kB / 1.261 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/2.185, allocations: 0.8675 MB / 1.262 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/2.185, allocations: 41.28 kB / 1.262 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 2.405e-06/2.185, allocations: 0 / 1.262 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0009223/2.186, allocations: 411.6 kB / 1.263 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/2.186, allocations: 82.52 kB / 1.263 GB, free: 142 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/2.186, allocations: 113.2 kB / 1.263 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/2.186, allocations: 29.64 kB / 1.263 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/2.186, allocations: 112.2 kB / 1.263 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/2.187, allocations: 103.5 kB / 1.263 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/2.187, allocations: 10.69 kB / 1.263 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/2.187, allocations: 323.8 kB / 1.263 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/2.187, allocations: 117 kB / 1.263 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/2.187, allocations: 200.1 kB / 1.264 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/2.188, allocations: 333.1 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.188, allocations: 2.438 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007099/2.188, allocations: 366.9 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/2.189, allocations: 5.875 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/2.189, allocations: 8.359 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/2.189, allocations: 9.781 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/2.189, allocations: 79.16 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/2.189, allocations: 5.562 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/2.189, allocations: 37.36 kB / 1.264 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/2.189, allocations: 17.25 kB / 1.264 GB, free: 141.2 MB / 0.4948 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.0001217/2.189, allocations: 138.9 kB / 1.265 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/2.189, allocations: 20.75 kB / 1.265 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007751/2.19, allocations: 380.5 kB / 1.265 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/2.19, allocations: 2.938 kB / 1.265 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/2.19, allocations: 0 / 1.265 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/2.19, allocations: 1.062 kB / 1.265 GB, free: 141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/2.191, allocations: 358.1 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/2.191, allocations: 4.531 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/2.191, allocations: 61.42 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/2.191, allocations: 6.531 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/2.191, allocations: 7.562 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/2.191, allocations: 1.469 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.191, allocations: 7.953 kB / 1.265 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/2.192, allocations: 0.5447 MB / 1.266 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/2.192, allocations: 102 kB / 1.266 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/2.192, allocations: 6.938 kB / 1.266 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/2.193, allocations: 18.58 kB / 1.266 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/2.193, allocations: 16.39 kB / 1.266 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/2.193, allocations: 20.08 kB / 1.266 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.265e-05/2.193, allocations: 90.78 kB / 1.266 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.193, allocations: 1.562 kB / 1.266 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001304/2.194, allocations: 265.3 kB / 1.266 GB, free: 140.4 MB / 0.4948 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.001374/2.196, allocations: 0.7586 MB / 1.267 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005682/2.196, allocations: 303.1 kB / 1.267 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.196, allocations: 3.625 kB / 1.267 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/2.196, allocations: 148.4 kB / 1.268 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/2.197, allocations: 85.91 kB / 1.268 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/2.198, allocations: 0.9326 MB / 1.269 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/2.198, allocations: 0.7343 MB / 1.269 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/2.199, allocations: 37.94 kB / 1.269 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/2.199, allocations: 0 / 1.269 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.0122/2.211, allocations: 8.699 MB / 1.278 GB, free: 138.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches