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.001077/0.001077, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001131/0.001131, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.311/1.311, 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.001265/0.001265, allocations: 55.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.07981, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2823/0.3622, allocations: 151.2 MB / 479.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.3654, allocations: 3.034 MB / 482.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3655, allocations: 4 kB / 482.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3659, allocations: 63.64 kB / 483 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.3678, allocations: 1.005 MB / 484 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3683, allocations: 198.1 kB / 484.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.3686, allocations: 358.6 kB / 484.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.3687, allocations: 13.08 kB / 484.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.3689, allocations: 143.5 kB / 484.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3691, allocations: 115.6 kB / 484.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.3691, allocations: 12 kB / 484.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3714, allocations: 1.473 MB / 486.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3715, allocations: 79.77 kB / 486.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3716, allocations: 103.6 kB / 486.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3728, allocations: 0.9822 MB / 487.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3729, allocations: 4 kB / 487.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3729, allocations: 0 / 487.5 MB, free: 7.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3729, allocations: 0 / 487.5 MB, free: 7.859 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.0007397/0.3736, allocations: 0.5467 MB / 488 MB, free: 7.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.3737, allocations: 8.031 kB / 488 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.375, allocations: 200.5 kB / 488.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3753, allocations: 248 kB / 488.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3754, allocations: 12.94 kB / 488.5 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.3754, allocations: 27.94 kB / 488.5 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.3759, allocations: 373.5 kB / 488.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.376, allocations: 0 / 488.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.376, allocations: 12 kB / 488.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.376, allocations: 4 kB / 488.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.3766, allocations: 415.7 kB / 489.3 MB, free: 5.945 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.001528/0.3781, allocations: 0.8046 MB / 490.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3785, allocations: 225.1 kB / 490.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3786, allocations: 121.6 kB / 490.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.3803, allocations: 0.8932 MB / 491.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3803, allocations: 38.56 kB / 491.3 MB, free: 3.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.025e-06/0.3803, allocations: 0 / 491.3 MB, free: 3.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001103/0.3814, allocations: 375 kB / 491.7 MB, free: 3.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3815, allocations: 85.09 kB / 491.8 MB, free: 3.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.3816, allocations: 114.4 kB / 491.9 MB, free: 3.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3816, allocations: 29.7 kB / 491.9 MB, free: 3.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.3817, allocations: 112.4 kB / 492 MB, free: 2.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.3817, allocations: 110.4 kB / 492.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.3818, allocations: 62.02 kB / 492.2 MB, free: 2.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.3819, allocations: 322.8 kB / 492.5 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3821, allocations: 96.61 kB / 492.6 MB, free: 2.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3824, allocations: 191.4 kB / 492.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3828, allocations: 303.8 kB / 493.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3828, allocations: 0 / 493.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005783/0.3834, allocations: 349.3 kB / 493.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3834, allocations: 8.031 kB / 493.5 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3834, allocations: 4 kB / 493.5 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3834, allocations: 4 kB / 493.5 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.3838, allocations: 71.91 kB / 493.5 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3838, allocations: 5.562 kB / 493.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.384, allocations: 27.77 kB / 493.6 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3841, allocations: 16 kB / 493.6 MB, free: 1.262 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.0001182/0.3842, allocations: 137.8 kB / 493.7 MB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.3843, allocations: 28.56 kB / 493.7 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006056/0.3849, allocations: 323.4 kB / 494.1 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3849, allocations: 7.938 kB / 494.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3849, allocations: 0 / 494.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3849, allocations: 0 / 494.1 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.3855, allocations: 335 kB / 494.4 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3855, allocations: 0 / 494.4 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3858, allocations: 53.28 kB / 494.4 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3858, allocations: 4 kB / 494.5 MB, free: 340 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3859, allocations: 8 kB / 494.5 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3859, allocations: 7.922 kB / 494.5 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3859, allocations: 3.938 kB / 494.5 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.3866, allocations: 0.5042 MB / 495 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.3866, allocations: 100.8 kB / 495.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3867, allocations: 4.062 kB / 495.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.387, allocations: 19.97 kB / 495.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.387, allocations: 12.55 kB / 495.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.3871, allocations: 23.98 kB / 495.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.3871, allocations: 91.27 kB / 495.2 MB, free: 15.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3871, allocations: 0 / 495.2 MB, free: 15.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000618/0.3878, allocations: 223.8 kB / 495.4 MB, free: 15.31 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.0008676/0.3886, allocations: 427.4 kB / 495.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.3891, allocations: 255.7 kB / 496.1 MB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3891, allocations: 0 / 496.1 MB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3893, allocations: 128.1 kB / 496.2 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000592/0.3899, allocations: 90.08 kB / 496.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.3909, allocations: 0.727 MB / 497 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3912, allocations: 0.7285 MB / 497.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.3915, allocations: 79.19 kB / 497.9 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.3916, allocations: 35.42 kB / 497.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3916, allocations: 0 / 497.9 MB, free: 12.8 MB / 398.1 MB Notification: Performance of Templates: time 0.01187/0.4034, allocations: 8.311 MB / 0.4943 GB, free: 4.48 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 cvode -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