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.001046/0.001046, allocations: 178 kB / 8.008 MB, free: 1.066 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.769/1.769, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009805/0.0009803, allocations: 82.64 kB / 261.7 MB, free: 1.617 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.2314/0.2314, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.929e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.048/2.179, allocations: 0.7382 GB / 1.204 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/2.179, allocations: 79.42 kB / 1.204 GB, free: 65.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08355/2.263, allocations: 38.97 MB / 1.242 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.923e-06/2.263, allocations: 0 / 1.242 GB, free: 32.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.259e-05/2.263, allocations: 4 kB / 1.242 GB, free: 32.29 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.0009533/2.264, allocations: 0.5105 MB / 1.243 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/2.264, allocations: 8.031 kB / 1.243 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/2.267, allocations: 359.8 kB / 1.243 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/2.267, allocations: 250.9 kB / 1.243 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/2.267, allocations: 8 kB / 1.243 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/2.267, allocations: 19.95 kB / 1.243 GB, free: 31.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000724/2.268, allocations: 472.5 kB / 1.244 GB, free: 30.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/2.269, allocations: 313.5 kB / 1.244 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/2.269, allocations: 0 / 1.244 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/2.269, allocations: 0 / 1.244 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/2.269, allocations: 4 kB / 1.244 GB, free: 30.28 MB / 0.4948 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.001955/2.271, allocations: 0.9521 MB / 1.245 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/2.271, allocations: 265 kB / 1.245 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/2.271, allocations: 125.7 kB / 1.245 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/2.272, allocations: 0.6516 MB / 1.246 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/2.272, allocations: 38.56 kB / 1.246 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/2.272, allocations: 0 / 1.246 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0005737/2.273, allocations: 254.9 kB / 1.246 GB, free: 27.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/2.273, allocations: 81.11 kB / 1.246 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/2.273, allocations: 105.2 kB / 1.246 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/2.273, allocations: 29.7 kB / 1.247 GB, free: 27.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/2.273, allocations: 120.5 kB / 1.247 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/2.273, allocations: 98.5 kB / 1.247 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/2.273, allocations: 0 / 1.247 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/2.273, allocations: 330.8 kB / 1.247 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/2.273, allocations: 96.64 kB / 1.247 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/2.274, allocations: 188.2 kB / 1.247 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/2.274, allocations: 126.5 kB / 1.247 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/2.274, allocations: 4 kB / 1.247 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004853/2.274, allocations: 330.8 kB / 1.248 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/2.274, allocations: 6.812 kB / 1.248 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/2.274, allocations: 4 kB / 1.248 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/2.274, allocations: 8.25 kB / 1.248 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/2.275, allocations: 79.83 kB / 1.248 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/2.275, allocations: 4 kB / 1.248 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/2.275, allocations: 31.67 kB / 1.248 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/2.275, allocations: 16 kB / 1.248 GB, free: 26.11 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 () * 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.568e-05/2.275, allocations: 116.9 kB / 1.248 GB, free: 25.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/2.275, allocations: 11.91 kB / 1.248 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/2.276, allocations: 344.8 kB / 1.248 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/2.276, allocations: 4 kB / 1.248 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.276, allocations: 0 / 1.248 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.276, allocations: 4 kB / 1.248 GB, free: 25.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/2.276, allocations: 325.4 kB / 1.249 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/2.276, allocations: 0 / 1.249 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/2.277, allocations: 55.91 kB / 1.249 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/2.277, allocations: 8 kB / 1.249 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/2.277, allocations: 11.98 kB / 1.249 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/2.277, allocations: 0 / 1.249 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/2.277, allocations: 3.938 kB / 1.249 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/2.277, allocations: 0.5276 MB / 1.249 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/2.278, allocations: 96.92 kB / 1.249 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/2.278, allocations: 4 kB / 1.249 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/2.278, allocations: 11.98 kB / 1.249 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/2.278, allocations: 15.98 kB / 1.249 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/2.278, allocations: 23.97 kB / 1.249 GB, free: 24.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.012e-05/2.278, allocations: 83.28 kB / 1.249 GB, free: 24.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/2.278, allocations: 0 / 1.249 GB, free: 24.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009748/2.279, allocations: 243.8 kB / 1.25 GB, free: 24.15 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 () * 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.001529/2.281, allocations: 0.8281 MB / 1.251 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003579/2.281, allocations: 263.7 kB / 1.251 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.281, allocations: 0 / 1.251 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/2.281, allocations: 135.8 kB / 1.251 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/2.282, allocations: 80.42 kB / 1.251 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/2.282, allocations: 0.6001 MB / 1.252 GB, free: 22.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/2.283, allocations: 0.7327 MB / 1.252 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000466/2.283, allocations: 81.95 kB / 1.252 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/2.283, allocations: 31.42 kB / 1.252 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/2.283, allocations: 0 / 1.252 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.01399/2.297, allocations: 10.21 MB / 1.262 GB, free: 11.15 MB / 0.4948 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/jenkins/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