Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.00104/0.00104, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.53 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.357/0.4629, allocations: 149.6 MB / 0.6057 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.4648, allocations: 1.602 MB / 0.6073 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.4648, allocations: 0 / 0.6073 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.4652, allocations: 51.72 kB / 0.6073 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000907/0.4661, allocations: 400 kB / 0.6077 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.4666, allocations: 164.6 kB / 0.6079 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.4668, allocations: 187.2 kB / 0.6081 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.4669, allocations: 15.94 kB / 0.6081 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.467, allocations: 79.69 kB / 0.6081 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.4672, allocations: 51.83 kB / 0.6082 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4672, allocations: 11.94 kB / 0.6082 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009633/0.4682, allocations: 0.5846 MB / 0.6088 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.4682, allocations: 35.88 kB / 0.6088 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.4683, allocations: 58.17 kB / 0.6089 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.4689, allocations: 400.8 kB / 0.6093 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.4689, allocations: 4 kB / 0.6093 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4689, allocations: 0 / 0.6093 GB, free: 7.113 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4689, allocations: 0 / 0.6093 GB, free: 7.113 MB / 446.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.0005061/0.4694, allocations: 431 kB / 0.6097 GB, free: 6.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4695, allocations: 12.02 kB / 0.6097 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.4717, allocations: 188.6 kB / 0.6099 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.472, allocations: 216.2 kB / 0.6101 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.472, allocations: 12.81 kB / 0.6101 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.472, allocations: 4 kB / 0.6101 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.4725, allocations: 205.5 kB / 0.6103 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4725, allocations: 0 / 0.6103 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.4726, allocations: 0 / 0.6103 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4726, allocations: 4 kB / 0.6103 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.4731, allocations: 239.8 kB / 0.6105 GB, free: 5.742 MB / 446.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.001708/0.4749, allocations: 0.6644 MB / 0.6112 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.4753, allocations: 190.4 kB / 0.6113 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4755, allocations: 102.6 kB / 0.6114 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.4757, allocations: 89.09 kB / 0.6115 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4757, allocations: 38.56 kB / 0.6116 GB, free: 4.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.4757, allocations: 0 / 0.6116 GB, free: 4.574 MB / 446.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.005393/0.4811, allocations: 1.533 MB / 0.6131 GB, free: 2.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4812, allocations: 55.41 kB / 0.6131 GB, free: 2.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/0.4813, allocations: 109.8 kB / 0.6132 GB, free: 2.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.4813, allocations: 33.7 kB / 0.6132 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.4814, allocations: 96.33 kB / 0.6133 GB, free: 2.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.4814, allocations: 71.02 kB / 0.6134 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.4815, allocations: 37.7 kB / 0.6134 GB, free: 2.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4817, allocations: 322.8 kB / 0.6138 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.4819, allocations: 87.95 kB / 0.6138 GB, free: 2.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.4821, allocations: 135 kB / 0.614 GB, free: 1.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.4826, allocations: 224.8 kB / 0.6142 GB, free: 1.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4826, allocations: 0 / 0.6142 GB, free: 1.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005903/0.4832, allocations: 288.5 kB / 0.6145 GB, free: 1.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4832, allocations: 4 kB / 0.6145 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4832, allocations: 4 kB / 0.6145 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.4833, allocations: 16.84 kB / 0.6145 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.4838, allocations: 67.83 kB / 0.6145 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003389/0.4841, allocations: 0.5329 MB / 0.6151 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.4844, allocations: 12.02 kB / 0.6151 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4844, allocations: 11.94 kB / 0.6151 GB, free: 0.75 MB / 446.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.0001246/0.4846, allocations: 125.8 kB / 0.6152 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4846, allocations: 11.89 kB / 0.6152 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.4853, allocations: 311.2 kB / 0.6155 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4854, allocations: 7.922 kB / 0.6155 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4854, allocations: 0 / 0.6155 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.4854, allocations: 7.984 kB / 0.6155 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.4865, allocations: 0.6787 MB / 0.6162 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4865, allocations: 4.812 kB / 0.6162 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.4869, allocations: 52.05 kB / 0.6162 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.487, allocations: 20.84 kB / 0.6163 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.4871, allocations: 11.98 kB / 0.6163 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/0.488, allocations: 1.36 MB / 0.6176 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.488, allocations: 4.031 kB / 0.6176 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.4888, allocations: 457.3 kB / 0.618 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.4889, allocations: 84.92 kB / 0.6181 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4889, allocations: 4 kB / 0.6181 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.4892, allocations: 15.98 kB / 0.6181 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4893, allocations: 23.98 kB / 0.6182 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.4893, allocations: 11.98 kB / 0.6182 GB, free: 13.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.4894, allocations: 87.59 kB / 0.6183 GB, free: 13.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4894, allocations: 0 / 0.6183 GB, free: 13.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.4899, allocations: 131.9 kB / 0.6184 GB, free: 13.09 MB / 462.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.0006436/0.4906, allocations: 250.9 kB / 0.6186 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.4912, allocations: 235.7 kB / 0.6189 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4912, allocations: 4.188 kB / 0.6189 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.4916, allocations: 230.6 kB / 0.6191 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.492, allocations: 40.38 kB / 0.6191 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.4929, allocations: 493.6 kB / 0.6196 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4932, allocations: 0.7046 MB / 0.6203 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4935, allocations: 57.33 kB / 0.6203 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4936, allocations: 23.42 kB / 0.6203 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4936, allocations: 0 / 0.6203 GB, free: 11 MB / 462.1 MB Notification: Performance of Templates: time 0.009905/0.5035, allocations: 6.192 MB / 0.6264 GB, free: 4.832 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches