Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 104.9 kB / 17.58 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 224.4 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 51.94 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.07975, allocations: 46.64 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2878/0.3676, allocations: 151.2 MB / 478.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003273/0.3709, allocations: 3.04 MB / 481.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.371, allocations: 0 / 481.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.3714, allocations: 59.64 kB / 481.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.3733, allocations: 1.005 MB / 482.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.3737, allocations: 200.4 kB / 482.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3741, allocations: 354.7 kB / 483.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.3742, allocations: 17.08 kB / 483.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3744, allocations: 147.5 kB / 483.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3746, allocations: 107.6 kB / 483.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.3746, allocations: 12 kB / 483.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.3769, allocations: 1.5 MB / 484.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.679e-05/0.377, allocations: 83.78 kB / 485 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.3771, allocations: 107.6 kB / 485.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3784, allocations: 0.99 MB / 486 MB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3784, allocations: 0 / 486 MB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3784, allocations: 0 / 486 MB, free: 8.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3784, allocations: 0 / 486 MB, free: 8.348 MB / 382.1 MB 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.0007399/0.3792, allocations: 0.539 MB / 486.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3792, allocations: 12.02 kB / 486.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/0.3831, allocations: 388.7 kB / 487 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.3834, allocations: 264 kB / 487.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3834, allocations: 12.94 kB / 487.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.3835, allocations: 27.88 kB / 487.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.3844, allocations: 493.3 kB / 487.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3844, allocations: 0 / 487.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.3845, allocations: 8 kB / 487.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3845, allocations: 4 kB / 487.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3855, allocations: 0.5075 MB / 488.3 MB, free: 6.023 MB / 382.1 MB 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.002151/0.3877, allocations: 0.9892 MB / 489.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.3883, allocations: 297 kB / 489.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.3886, allocations: 149.6 kB / 489.7 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.3902, allocations: 0.8931 MB / 490.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3902, allocations: 38.5 kB / 490.6 MB, free: 3.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.3903, allocations: 4 kB / 490.6 MB, free: 3.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008985/0.3912, allocations: 402.5 kB / 491 MB, free: 3.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.3912, allocations: 77.11 kB / 491.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.3913, allocations: 113.8 kB / 491.2 MB, free: 2.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.3913, allocations: 33.7 kB / 491.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.3914, allocations: 120.4 kB / 491.4 MB, free: 2.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.208e-05/0.3915, allocations: 110.4 kB / 491.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3916, allocations: 62.02 kB / 491.5 MB, free: 2.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.3917, allocations: 322.8 kB / 491.8 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.3919, allocations: 116.6 kB / 492 MB, free: 2.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.3922, allocations: 203.5 kB / 492.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.3928, allocations: 336 kB / 492.5 MB, free: 1.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3928, allocations: 4 kB / 492.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006916/0.3935, allocations: 381.5 kB / 492.9 MB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3935, allocations: 8 kB / 492.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3935, allocations: 4 kB / 492.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3935, allocations: 4.312 kB / 492.9 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.394, allocations: 83.83 kB / 493 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.394, allocations: 4 kB / 493 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3943, allocations: 31.67 kB / 493 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.3944, allocations: 23.94 kB / 493 MB, free: 0.9023 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3945, allocations: 141.8 kB / 493.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3946, allocations: 15.84 kB / 493.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/0.3954, allocations: 375.5 kB / 493.5 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3954, allocations: 0.875 kB / 493.5 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3954, allocations: 4 kB / 493.5 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3954, allocations: 0 / 493.5 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.396, allocations: 380.5 kB / 493.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.396, allocations: 0 / 493.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.3964, allocations: 59.91 kB / 494 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3964, allocations: 0.8125 kB / 494 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.3965, allocations: 11.98 kB / 494 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3965, allocations: 9.562 kB / 494 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3965, allocations: 0 / 494 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.3973, allocations: 0.5511 MB / 494.6 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.3974, allocations: 92.89 kB / 494.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3974, allocations: 11.88 kB / 494.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3978, allocations: 19.98 kB / 494.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.3979, allocations: 15.97 kB / 494.7 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3979, allocations: 19.98 kB / 494.7 MB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.398, allocations: 87.27 kB / 494.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.398, allocations: 4 kB / 494.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006881/0.3987, allocations: 227.7 kB / 495 MB, free: 14.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009404/0.3996, allocations: 434.7 kB / 495.4 MB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005874/0.4002, allocations: 299.7 kB / 495.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4002, allocations: 3.938 kB / 495.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4005, allocations: 152.4 kB / 495.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.4012, allocations: 81.7 kB / 496 MB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4022, allocations: 0.7343 MB / 496.7 MB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4025, allocations: 0.7363 MB / 497.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004685/0.403, allocations: 89.7 kB / 497.5 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4031, allocations: 31.42 kB / 497.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4031, allocations: 0 / 497.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of Templates: time 0.01201/0.4151, allocations: 8.428 MB / 0.4941 GB, free: 3.785 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches