Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008613/0.000861, allocations: 92.64 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5227/0.5227, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 8 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5109/0.5113, allocations: 62.96 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.537, allocations: 0.709 GB / 1.227 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/2.537, allocations: 75.95 kB / 1.227 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08468/2.622, allocations: 40.65 MB / 1.267 GB, free: 66.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.734e-06/2.622, allocations: 0 / 1.267 GB, free: 66.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.549e-05/2.622, allocations: 7.984 kB / 1.267 GB, free: 66.68 MB / 0.5417 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.0009086/2.623, allocations: 0.5268 MB / 1.268 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/2.623, allocations: 8.875 kB / 1.268 GB, free: 66.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0027/2.626, allocations: 364.2 kB / 1.268 GB, free: 65.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/2.626, allocations: 260.1 kB / 1.268 GB, free: 65.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/2.626, allocations: 16.75 kB / 1.268 GB, free: 65.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/2.626, allocations: 20.28 kB / 1.268 GB, free: 65.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008783/2.627, allocations: 482.1 kB / 1.269 GB, free: 64.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/2.627, allocations: 192 / 1.269 GB, free: 64.92 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/2.627, allocations: 11.94 kB / 1.269 GB, free: 64.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/2.627, allocations: 4 kB / 1.269 GB, free: 64.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/2.628, allocations: 499.6 kB / 1.269 GB, free: 64.42 MB / 0.5417 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.001865/2.63, allocations: 0.9792 MB / 1.27 GB, free: 63.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/2.631, allocations: 285 kB / 1.271 GB, free: 63.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/2.631, allocations: 146.9 kB / 1.271 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/2.632, allocations: 0.9724 MB / 1.272 GB, free: 61.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/2.632, allocations: 38.56 kB / 1.272 GB, free: 61.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/2.632, allocations: 0 / 1.272 GB, free: 61.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=29): time 0.0008787/2.633, allocations: 410.7 kB / 1.272 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/2.633, allocations: 81.11 kB / 1.272 GB, free: 61.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/2.633, allocations: 113.8 kB / 1.272 GB, free: 61.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/2.633, allocations: 29.7 kB / 1.272 GB, free: 61.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/2.633, allocations: 116.4 kB / 1.272 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/2.634, allocations: 98.47 kB / 1.272 GB, free: 60.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/2.634, allocations: 12 kB / 1.272 GB, free: 60.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001171/2.634, allocations: 322.8 kB / 1.273 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/2.634, allocations: 112.6 kB / 1.273 GB, free: 60.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/2.634, allocations: 211.4 kB / 1.273 GB, free: 60.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/2.635, allocations: 330 kB / 1.273 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.635, allocations: 0 / 1.273 GB, free: 59.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006474/2.635, allocations: 367.1 kB / 1.274 GB, free: 59.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/2.635, allocations: 11.98 kB / 1.274 GB, free: 59.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.635, allocations: 7.938 kB / 1.274 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/2.635, allocations: 4 kB / 1.274 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/2.636, allocations: 71.91 kB / 1.274 GB, free: 59.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/2.636, allocations: 7.984 kB / 1.274 GB, free: 59.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/2.636, allocations: 36 kB / 1.274 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/2.636, allocations: 19.98 kB / 1.274 GB, free: 59.32 MB / 0.5417 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.0001569/2.636, allocations: 141.7 kB / 1.274 GB, free: 59.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/2.636, allocations: 19.75 kB / 1.274 GB, free: 59.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/2.637, allocations: 373.9 kB / 1.274 GB, free: 58.79 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/2.637, allocations: 4 kB / 1.274 GB, free: 58.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/2.637, allocations: 4 kB / 1.274 GB, free: 58.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/2.637, allocations: 3.984 kB / 1.274 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/2.638, allocations: 368.6 kB / 1.275 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/2.638, allocations: 0 / 1.275 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/2.638, allocations: 55.95 kB / 1.275 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/2.638, allocations: 3.938 kB / 1.275 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/2.638, allocations: 11.98 kB / 1.275 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.638, allocations: 11.94 kB / 1.275 GB, free: 58.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.638, allocations: 0 / 1.275 GB, free: 58.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/2.639, allocations: 0.5393 MB / 1.275 GB, free: 57.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/2.639, allocations: 100.8 kB / 1.275 GB, free: 57.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/2.639, allocations: 8.062 kB / 1.275 GB, free: 57.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/2.639, allocations: 19.92 kB / 1.276 GB, free: 57.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/2.639, allocations: 19.98 kB / 1.276 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/2.639, allocations: 15.98 kB / 1.276 GB, free: 57.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.77e-05/2.639, allocations: 91.55 kB / 1.276 GB, free: 57.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.639, allocations: 0 / 1.276 GB, free: 57.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001401/2.641, allocations: 275.8 kB / 1.276 GB, free: 57.18 MB / 0.5417 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.001533/2.642, allocations: 0.7496 MB / 1.277 GB, free: 56.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005701/2.643, allocations: 297.8 kB / 1.277 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.643, allocations: 0 / 1.277 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/2.643, allocations: 151.8 kB / 1.277 GB, free: 55.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/2.644, allocations: 87.06 kB / 1.277 GB, free: 55.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/2.645, allocations: 0.903 MB / 1.278 GB, free: 54.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/2.645, allocations: 0.7326 MB / 1.279 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004762/2.646, allocations: 77.84 kB / 1.279 GB, free: 54.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/2.646, allocations: 31.42 kB / 1.279 GB, free: 54.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/2.646, allocations: 0 / 1.279 GB, free: 54.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.01854/2.664, allocations: 14.48 MB / 1.293 GB, free: 39.66 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches