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.001131/0.001131, allocations: 107.2 kB / 18.34 MB, free: 4.699 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.001172/0.001172, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001198/0.001198, allocations: 47.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0755/0.07671, allocations: 46.62 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2809/0.3577, allocations: 151.2 MB / 479.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.3611, allocations: 3.039 MB / 482.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3612, allocations: 8 kB / 482.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.3615, allocations: 63.58 kB / 483 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3635, allocations: 1.009 MB / 484 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.3639, allocations: 196.5 kB / 484.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.3643, allocations: 354.6 kB / 484.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.3644, allocations: 17.08 kB / 484.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3646, allocations: 139.6 kB / 484.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3648, allocations: 111.6 kB / 484.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3648, allocations: 12 kB / 484.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.3672, allocations: 1.473 MB / 486.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.3673, allocations: 75.83 kB / 486.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3674, allocations: 107.5 kB / 486.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3686, allocations: 0.9861 MB / 487.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3686, allocations: 0 / 487.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3686, allocations: 0 / 487.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3686, allocations: 0 / 487.5 MB, free: 8.035 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.0007667/0.3694, allocations: 0.5467 MB / 488 MB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3695, allocations: 8.031 kB / 488 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3708, allocations: 200.5 kB / 488.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.3712, allocations: 248 kB / 488.4 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3712, allocations: 20.94 kB / 488.5 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.3713, allocations: 19.94 kB / 488.5 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.3718, allocations: 373.5 kB / 488.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3719, allocations: 0 / 488.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.979e-05/0.3719, allocations: 15.94 kB / 488.9 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3719, allocations: 4 kB / 488.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.3725, allocations: 407.8 kB / 489.3 MB, free: 6.125 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.001618/0.3741, allocations: 0.8046 MB / 490.1 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.3746, allocations: 229.1 kB / 490.3 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3747, allocations: 125.6 kB / 490.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/0.3764, allocations: 0.8932 MB / 491.3 MB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.3764, allocations: 39.44 kB / 491.4 MB, free: 3.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.3765, allocations: 0 / 491.4 MB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001121/0.3776, allocations: 371.8 kB / 491.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3776, allocations: 85.05 kB / 491.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.3777, allocations: 113.8 kB / 491.9 MB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.3778, allocations: 33.64 kB / 491.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3778, allocations: 112.4 kB / 492.1 MB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.3779, allocations: 106.4 kB / 492.2 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.378, allocations: 62.02 kB / 492.2 MB, free: 2.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.3781, allocations: 322.8 kB / 492.5 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3783, allocations: 100.5 kB / 492.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.3786, allocations: 187.5 kB / 492.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.379, allocations: 299.1 kB / 493.1 MB, free: 1.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3791, allocations: 0 / 493.1 MB, free: 1.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006292/0.3797, allocations: 350.1 kB / 493.4 MB, free: 1.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3797, allocations: 8.031 kB / 493.5 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3797, allocations: 4 kB / 493.5 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3797, allocations: 4 kB / 493.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.3801, allocations: 74.66 kB / 493.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3801, allocations: 4.703 kB / 493.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3803, allocations: 23.83 kB / 493.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3804, allocations: 16 kB / 493.6 MB, free: 1.445 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.000125/0.3805, allocations: 145.6 kB / 493.7 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3806, allocations: 27.75 kB / 493.7 MB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.3812, allocations: 322.8 kB / 494.1 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.3812, allocations: 4 kB / 494.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3813, allocations: 0 / 494.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3813, allocations: 0 / 494.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.3818, allocations: 335 kB / 494.4 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3818, allocations: 0 / 494.4 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.3822, allocations: 55.91 kB / 494.4 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3822, allocations: 4 kB / 494.5 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.3822, allocations: 11.98 kB / 494.5 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3822, allocations: 0 / 494.5 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3822, allocations: 3.938 kB / 494.5 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.383, allocations: 0.5025 MB / 495 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.383, allocations: 100.8 kB / 495.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.3831, allocations: 4.062 kB / 495.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3834, allocations: 15.98 kB / 495.1 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3834, allocations: 18.73 kB / 495.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.3835, allocations: 23.98 kB / 495.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.3835, allocations: 95.56 kB / 495.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3835, allocations: 0 / 495.2 MB, free: 15.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006701/0.3842, allocations: 223.8 kB / 495.4 MB, free: 15.48 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.0009119/0.3851, allocations: 430.6 kB / 495.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004696/0.3856, allocations: 259.8 kB / 496.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3856, allocations: 4 kB / 496.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3858, allocations: 123.8 kB / 496.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.3865, allocations: 88.67 kB / 496.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3876, allocations: 0.7291 MB / 497.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3878, allocations: 0.7323 MB / 497.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002743/0.3881, allocations: 69.84 kB / 497.9 MB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.3882, allocations: 35.42 kB / 497.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3882, allocations: 0 / 497.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.01227/0.4005, allocations: 8.306 MB / 0.4943 GB, free: 4.664 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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