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.001079/0.001079, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.391/1.391, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008021, allocations: 89 kB / 267 MB, free: 9.281 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.3663/0.3663, allocations: 43.47 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.933e-05, allocations: 0 / 425.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 58.85 MB / 484.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.689/1.816, allocations: 0.7388 GB / 1.212 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/1.816, allocations: 72.41 kB / 1.212 GB, free: 22.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.317/2.133, allocations: 39.69 MB / 1.25 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/2.133, allocations: 0 / 1.25 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.037e-05/2.133, allocations: 3.188 kB / 1.25 GB, free: 147.3 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.0007307/2.134, allocations: 0.5077 MB / 1.251 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/2.134, allocations: 9.5 kB / 1.251 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/2.137, allocations: 365 kB / 1.251 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/2.137, allocations: 255.7 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/2.137, allocations: 13.09 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/2.137, allocations: 22.88 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/2.138, allocations: 468.3 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/2.138, allocations: 0 / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/2.138, allocations: 11.03 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/2.138, allocations: 3.25 kB / 1.252 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/2.138, allocations: 487.2 kB / 1.253 GB, free: 146.7 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.001697/2.14, allocations: 0.9895 MB / 1.253 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/2.14, allocations: 265.2 kB / 1.254 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/2.141, allocations: 140 kB / 1.254 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009911/2.142, allocations: 0.6612 MB / 1.255 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/2.142, allocations: 40.81 kB / 1.255 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/2.142, allocations: 0 / 1.255 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0005101/2.142, allocations: 282.7 kB / 1.255 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/2.142, allocations: 80.23 kB / 1.255 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/2.142, allocations: 104.8 kB / 1.255 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/2.142, allocations: 32.33 kB / 1.255 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/2.142, allocations: 113.8 kB / 1.255 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/2.142, allocations: 107.5 kB / 1.255 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/2.142, allocations: 7.875 kB / 1.255 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/2.143, allocations: 331.3 kB / 1.256 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/2.143, allocations: 102.4 kB / 1.256 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/2.143, allocations: 192.8 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/2.143, allocations: 122.8 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/2.143, allocations: 4 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004813/2.144, allocations: 363.1 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/2.144, allocations: 10.88 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/2.144, allocations: 6.875 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/2.144, allocations: 6.25 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/2.144, allocations: 74.48 kB / 1.256 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/2.144, allocations: 10.47 kB / 1.256 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/2.144, allocations: 31.48 kB / 1.256 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/2.144, allocations: 19.69 kB / 1.256 GB, free: 144.6 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.089e-05/2.144, allocations: 125.6 kB / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/2.144, allocations: 17.67 kB / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/2.145, allocations: 361.3 kB / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/2.145, allocations: 3.094 kB / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.145, allocations: 0 / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/2.145, allocations: 3.375 kB / 1.257 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/2.146, allocations: 359.7 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/2.146, allocations: 3.281 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/2.146, allocations: 61.47 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/2.146, allocations: 0 / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/2.146, allocations: 17.28 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/2.146, allocations: 2.531 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.146, allocations: 3.344 kB / 1.257 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/2.146, allocations: 0.5391 MB / 1.258 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/2.147, allocations: 90.12 kB / 1.258 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/2.147, allocations: 6.156 kB / 1.258 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/2.147, allocations: 23.89 kB / 1.258 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/2.147, allocations: 18.55 kB / 1.258 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/2.147, allocations: 21.08 kB / 1.258 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.398e-05/2.147, allocations: 92.34 kB / 1.258 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.147, allocations: 0 / 1.258 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009486/2.148, allocations: 266.4 kB / 1.258 GB, free: 143.8 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.001295/2.149, allocations: 0.7381 MB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000422/2.15, allocations: 286 kB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/2.15, allocations: 3.188 kB / 1.259 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/2.15, allocations: 134.2 kB / 1.26 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/2.15, allocations: 81.52 kB / 1.26 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/2.151, allocations: 0.6191 MB / 1.26 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/2.151, allocations: 0.7379 MB / 1.261 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004282/2.152, allocations: 86.19 kB / 1.261 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/2.152, allocations: 30.23 kB / 1.261 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of SimCode: time 2.1e-07/2.152, allocations: 0 / 1.261 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.01991/2.172, allocations: 15.65 MB / 1.276 GB, free: 141.1 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