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.00158/0.00158, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 89.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.356/0.356, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.386e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4063, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.315/2.721, allocations: 0.7382 GB / 1.204 GB, free: 144 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/2.721, allocations: 72.39 kB / 1.204 GB, free: 144 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.1422/2.863, allocations: 38.96 MB / 1.242 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.473e-06/2.864, allocations: 0 / 1.242 GB, free: 139.6 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.317e-05/2.864, allocations: 7.719 kB / 1.242 GB, free: 139.6 MB / 0.4952 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.001023/2.865, allocations: 0.5018 MB / 1.243 GB, free: 139.1 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/2.865, allocations: 7.719 kB / 1.243 GB, free: 139.1 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/2.87, allocations: 361.8 kB / 1.243 GB, free: 139 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/2.87, allocations: 261.6 kB / 1.243 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/2.87, allocations: 11.81 kB / 1.243 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/2.87, allocations: 19.2 kB / 1.243 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/2.872, allocations: 468.5 kB / 1.244 GB, free: 138.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/2.872, allocations: 317.2 kB / 1.244 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/2.872, allocations: 0.5469 kB / 1.244 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/2.872, allocations: 0 / 1.244 GB, free: 138.6 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/2.872, allocations: 3.906 kB / 1.244 GB, free: 138.6 MB / 0.4952 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.00302/2.875, allocations: 0.9459 MB / 1.245 GB, free: 138 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/2.876, allocations: 268.2 kB / 1.245 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/2.876, allocations: 126 kB / 1.245 GB, free: 137.9 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/2.878, allocations: 0.6538 MB / 1.246 GB, free: 137.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/2.878, allocations: 38.16 kB / 1.246 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=29): time 3.587e-06/2.878, allocations: 0 / 1.246 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=29): time 0.0008756/2.879, allocations: 256.1 kB / 1.246 GB, free: 137.2 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/2.879, allocations: 81.02 kB / 1.246 GB, free: 137.1 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/2.879, allocations: 104.3 kB / 1.246 GB, free: 137 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/2.879, allocations: 33.61 kB / 1.246 GB, free: 137 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/2.879, allocations: 182.3 kB / 1.247 GB, free: 136.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/2.879, allocations: 100.6 kB / 1.247 GB, free: 136.7 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/2.879, allocations: 0 / 1.247 GB, free: 136.7 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/2.879, allocations: 334 kB / 1.247 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/2.88, allocations: 93.58 kB / 1.247 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/2.88, allocations: 187.6 kB / 1.247 GB, free: 136.3 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/2.88, allocations: 129.9 kB / 1.247 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/2.88, allocations: 0 / 1.247 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008327/2.881, allocations: 320.8 kB / 1.248 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/2.881, allocations: 7.812 kB / 1.248 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.881, allocations: 0 / 1.248 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/2.881, allocations: 8.125 kB / 1.248 GB, free: 136.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/2.882, allocations: 82.08 kB / 1.248 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/2.882, allocations: 11.78 kB / 1.248 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/2.882, allocations: 31.48 kB / 1.248 GB, free: 136.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/2.882, allocations: 19.08 kB / 1.248 GB, free: 136.1 MB / 0.4952 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 0.0001377/2.883, allocations: 112.8 kB / 1.248 GB, free: 136 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/2.883, allocations: 11.78 kB / 1.248 GB, free: 136 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/2.884, allocations: 340.6 kB / 1.248 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/2.884, allocations: 7.891 kB / 1.248 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.884, allocations: 0 / 1.248 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/2.884, allocations: 3.984 kB / 1.248 GB, free: 135.9 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/2.885, allocations: 330.3 kB / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/2.885, allocations: 0 / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/2.885, allocations: 58.86 kB / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/2.885, allocations: 4 kB / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/2.885, allocations: 7.344 kB / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/2.885, allocations: 3.906 kB / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.885, allocations: 0 / 1.249 GB, free: 135.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/2.886, allocations: 0.5233 MB / 1.249 GB, free: 135.3 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/2.886, allocations: 88.86 kB / 1.249 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/2.887, allocations: 15.75 kB / 1.249 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/2.887, allocations: 11.73 kB / 1.249 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/2.887, allocations: 19.59 kB / 1.249 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/2.887, allocations: 19.52 kB / 1.249 GB, free: 135.2 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 4.581e-05/2.887, allocations: 86.72 kB / 1.25 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.5e-07/2.887, allocations: 0 / 1.25 GB, free: 135.1 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001319/2.889, allocations: 248.1 kB / 1.25 GB, free: 135.1 MB / 0.4952 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.001902/2.891, allocations: 0.8264 MB / 1.251 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0006657/2.891, allocations: 266.6 kB / 1.251 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.891, allocations: 3.938 kB / 1.251 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/2.892, allocations: 133.8 kB / 1.251 GB, free: 134.7 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/2.892, allocations: 73.5 kB / 1.251 GB, free: 134.6 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/2.894, allocations: 0.6211 MB / 1.252 GB, free: 134.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/2.894, allocations: 0.7395 MB / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/2.894, allocations: 38.45 kB / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of SimCode: time 1.022e-06/2.894, allocations: 0 / 1.252 GB, free: 133.4 MB / 0.4952 GB Notification: Performance of Templates: time 0.01834/2.913, allocations: 9.116 MB / 1.261 GB, free: 128.8 MB / 0.4952 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