Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 108.4 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.001261/0.001261, allocations: 186.9 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.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001149/0.001149, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07436/0.07552, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2875/0.3631, allocations: 150.8 MB / 479.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3648, allocations: 1.502 MB / 481.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.3648, allocations: 4 kB / 481.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3652, allocations: 43.73 kB / 481.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007912/0.366, allocations: 392 kB / 481.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.3665, allocations: 167.5 kB / 481.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3668, allocations: 183.2 kB / 481.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.3668, allocations: 4 kB / 481.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.367, allocations: 71.75 kB / 481.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3671, allocations: 63.69 kB / 482 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3672, allocations: 8 kB / 482 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.3681, allocations: 0.5769 MB / 482.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.3682, allocations: 31.94 kB / 482.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.3683, allocations: 47.81 kB / 482.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.3688, allocations: 396.3 kB / 483 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3689, allocations: 0 / 483 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3689, allocations: 0 / 483 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3689, allocations: 0 / 483 MB, free: 12.32 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005737/0.3695, allocations: 428 kB / 483.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3695, allocations: 12.03 kB / 483.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.3716, allocations: 197 kB / 483.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3719, allocations: 212.2 kB / 483.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.372, allocations: 8.312 kB / 483.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.372, allocations: 12 kB / 483.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.3725, allocations: 193.5 kB / 484.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3725, allocations: 8 kB / 484.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.3725, allocations: 4 kB / 484.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3726, allocations: 0.875 kB / 484.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.3731, allocations: 247.7 kB / 484.3 MB, free: 10.94 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.001669/0.3748, allocations: 0.6643 MB / 485 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.3752, allocations: 186.5 kB / 485.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.3754, allocations: 92.81 kB / 485.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.3756, allocations: 93.09 kB / 485.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3756, allocations: 37.62 kB / 485.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3756, allocations: 4 kB / 485.4 MB, free: 9.777 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005462/0.3811, allocations: 1.54 MB / 486.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3812, allocations: 59.34 kB / 487 MB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.3813, allocations: 113.8 kB / 487.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3813, allocations: 29.7 kB / 487.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3814, allocations: 100.2 kB / 487.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.3814, allocations: 63.11 kB / 487.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.3815, allocations: 45.55 kB / 487.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3817, allocations: 326.8 kB / 487.6 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3819, allocations: 87.95 kB / 487.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3821, allocations: 119.4 kB / 487.8 MB, free: 7.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.3826, allocations: 227.3 kB / 488.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3826, allocations: 0 / 488.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005997/0.3832, allocations: 294 kB / 488.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3832, allocations: 4 kB / 488.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3832, allocations: 8.094 kB / 488.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.3833, allocations: 20.84 kB / 488.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3838, allocations: 55.95 kB / 488.4 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/0.3842, allocations: 0.5328 MB / 489 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.3844, allocations: 8.094 kB / 489 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3845, allocations: 15.98 kB / 489 MB, free: 5.938 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.3846, allocations: 133.7 kB / 489.1 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3847, allocations: 7.906 kB / 489.1 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.3854, allocations: 315.3 kB / 489.4 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3854, allocations: 0 / 489.4 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.3855, allocations: 7.938 kB / 489.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3855, allocations: 1.188 kB / 489.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3866, allocations: 0.6718 MB / 490.1 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3866, allocations: 3.984 kB / 490.1 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.387, allocations: 51.91 kB / 490.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-05/0.3871, allocations: 20.84 kB / 490.2 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.3872, allocations: 11.98 kB / 490.2 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009345/0.3881, allocations: 1.364 MB / 491.6 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3881, allocations: 12.09 kB / 491.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.389, allocations: 461.9 kB / 492 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.389, allocations: 92.92 kB / 492.1 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3891, allocations: 4 kB / 492.1 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3894, allocations: 11.98 kB / 492.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3895, allocations: 15.98 kB / 492.2 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.3895, allocations: 7.984 kB / 492.2 MB, free: 2.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.3896, allocations: 91.27 kB / 492.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3896, allocations: 0 / 492.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.3901, allocations: 124 kB / 492.4 MB, free: 2.285 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006069/0.3907, allocations: 255 kB / 492.6 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.3913, allocations: 231.8 kB / 492.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3913, allocations: 0 / 492.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.3917, allocations: 234.9 kB / 493.1 MB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3922, allocations: 48.44 kB / 493.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.3931, allocations: 494.9 kB / 493.6 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.3933, allocations: 0.7084 MB / 494.3 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.3936, allocations: 57.33 kB / 494.4 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3937, allocations: 19.42 kB / 494.4 MB, free: 180 kB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3938, allocations: 4 kB / 494.4 MB, free: 176 kB / 382.1 MB Notification: Performance of Templates: time 0.009809/0.4036, allocations: 6.238 MB / 0.4889 GB, free: 9.93 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches