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.001114/0.001114, 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.001101/0.001101, 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.346/1.346, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001508/0.001508, allocations: 52.39 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0779/0.07942, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2943/0.3738, allocations: 150.8 MB / 479.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3756, allocations: 1.498 MB / 481.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.134e-05/0.3757, allocations: 0 / 481.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3761, allocations: 51.72 kB / 481.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008297/0.3769, allocations: 384 kB / 481.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.3774, allocations: 171.4 kB / 481.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3776, allocations: 179.2 kB / 481.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.3776, allocations: 7.984 kB / 481.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3778, allocations: 71.77 kB / 481.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3779, allocations: 71.67 kB / 482 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3779, allocations: 8 kB / 482 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.3789, allocations: 0.569 MB / 482.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.379, allocations: 31.89 kB / 482.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.379, allocations: 51.8 kB / 482.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.3796, allocations: 392.3 kB / 483 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3796, allocations: 0 / 483 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3796, allocations: 0 / 483 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3796, allocations: 0 / 483 MB, free: 12.29 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.0005037/0.3801, allocations: 424.1 kB / 483.4 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3802, allocations: 19.97 kB / 483.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.3823, allocations: 197 kB / 483.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3825, allocations: 212.2 kB / 483.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3826, allocations: 8.312 kB / 483.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.3826, allocations: 8 kB / 483.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.3831, allocations: 209.5 kB / 484.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3831, allocations: 0 / 484.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3831, allocations: 0 / 484.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.3832, allocations: 4 kB / 484.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.3837, allocations: 243.8 kB / 484.3 MB, free: 10.91 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.001661/0.3854, allocations: 0.6642 MB / 485 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3858, allocations: 190.5 kB / 485.2 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3861, allocations: 88.81 kB / 485.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.3862, allocations: 89.09 kB / 485.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3863, allocations: 43.44 kB / 485.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3863, allocations: 0 / 485.4 MB, free: 9.746 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.005444/0.3917, allocations: 1.539 MB / 486.9 MB, free: 8.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.3918, allocations: 51.41 kB / 487 MB, free: 8.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.3919, allocations: 117.7 kB / 487.1 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3919, allocations: 29.7 kB / 487.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.392, allocations: 104.2 kB / 487.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.392, allocations: 67.08 kB / 487.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.3921, allocations: 45.56 kB / 487.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3923, allocations: 322.8 kB / 487.6 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3925, allocations: 95.95 kB / 487.7 MB, free: 7.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3927, allocations: 119.4 kB / 487.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.3932, allocations: 223.3 kB / 488.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3932, allocations: 0 / 488.1 MB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005992/0.3938, allocations: 286.1 kB / 488.3 MB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3938, allocations: 8.094 kB / 488.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3938, allocations: 4 kB / 488.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.394, allocations: 28.83 kB / 488.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.3944, allocations: 51.91 kB / 488.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003505/0.3948, allocations: 0.5367 MB / 489 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3951, allocations: 12.12 kB / 489 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3951, allocations: 11.98 kB / 489 MB, free: 5.906 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.0001147/0.3952, allocations: 125.7 kB / 489.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.3953, allocations: 11.91 kB / 489.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.396, allocations: 319.2 kB / 489.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.396, allocations: 4 kB / 489.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3961, allocations: 7.875 kB / 489.5 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3961, allocations: 0 / 489.5 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3972, allocations: 0.6757 MB / 490.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3972, allocations: 4 kB / 490.1 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.3976, allocations: 51.89 kB / 490.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.3977, allocations: 22.03 kB / 490.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3977, allocations: 4 kB / 490.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009091/0.3987, allocations: 1.368 MB / 491.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3987, allocations: 0 / 491.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.3995, allocations: 461.9 kB / 492 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3995, allocations: 92.97 kB / 492.1 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.3996, allocations: 8 kB / 492.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.3999, allocations: 8 kB / 492.1 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4, allocations: 15.97 kB / 492.1 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.4, allocations: 16 kB / 492.2 MB, free: 2.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.4, allocations: 83.58 kB / 492.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4, allocations: 0 / 492.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.4005, allocations: 140 kB / 492.4 MB, free: 2.246 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.0005983/0.4011, allocations: 250.9 kB / 492.6 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005818/0.4017, allocations: 231.8 kB / 492.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4018, allocations: 0 / 492.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.4021, allocations: 227 kB / 493.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.4026, allocations: 52.11 kB / 493.1 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.4034, allocations: 490.9 kB / 493.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4037, allocations: 0.7084 MB / 494.3 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.4039, allocations: 49.39 kB / 494.4 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4041, allocations: 23.42 kB / 494.4 MB, free: 156 kB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4041, allocations: 0 / 494.4 MB, free: 156 kB / 382.1 MB Notification: Performance of Templates: time 0.009646/0.4137, allocations: 6.258 MB / 0.4889 GB, free: 9.891 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 gbode -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