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.001101/0.001101, allocations: 114.8 kB / 17.28 MB, free: 6.211 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.001029/0.001029, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.38/1.38, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001175/0.001176, allocations: 51.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.09044, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.327/0.4175, allocations: 148.7 MB / 475.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.4192, allocations: 1.491 MB / 477 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.4192, allocations: 0 / 477 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.4196, allocations: 47.64 kB / 477.1 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.4204, allocations: 358.5 kB / 477.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.4208, allocations: 156.4 kB / 477.6 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.421, allocations: 187.2 kB / 477.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.4211, allocations: 4 kB / 477.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.4212, allocations: 75.7 kB / 477.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.4214, allocations: 63.8 kB / 477.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4214, allocations: 4 kB / 477.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.4223, allocations: 0.6041 MB / 478.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.4223, allocations: 27.91 kB / 478.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.4224, allocations: 51.78 kB / 478.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.4229, allocations: 428.5 kB / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.423, allocations: 4 kB / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.423, allocations: 0 / 479 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.423, allocations: 0 / 479 MB, free: 15.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.0005424/0.4235, allocations: 432 kB / 479.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4236, allocations: 8.031 kB / 479.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.4257, allocations: 197 kB / 479.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.4259, allocations: 204.3 kB / 479.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4259, allocations: 12.31 kB / 479.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.426, allocations: 15.98 kB / 479.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.4265, allocations: 197.5 kB / 480 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4265, allocations: 0 / 480 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.4265, allocations: 8 kB / 480 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4265, allocations: 0 / 480 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005666/0.4271, allocations: 243.8 kB / 480.3 MB, free: 13.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.001634/0.4287, allocations: 0.6602 MB / 480.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.4292, allocations: 191.5 kB / 481.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4294, allocations: 96.81 kB / 481.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.4296, allocations: 97.03 kB / 481.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4296, allocations: 30.56 kB / 481.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.4296, allocations: 0 / 481.3 MB, free: 12.78 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.005625/0.4352, allocations: 1.545 MB / 482.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4353, allocations: 59.41 kB / 482.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.4354, allocations: 105.8 kB / 483 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4354, allocations: 33.7 kB / 483.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.4355, allocations: 96.25 kB / 483.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.4356, allocations: 67.09 kB / 483.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.4357, allocations: 49.55 kB / 483.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4358, allocations: 322.8 kB / 483.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.436, allocations: 95.89 kB / 483.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.4362, allocations: 115.4 kB / 483.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.4367, allocations: 231.3 kB / 484 MB, free: 9.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4367, allocations: 0 / 484 MB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006058/0.4373, allocations: 286.1 kB / 484.3 MB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4373, allocations: 4 kB / 484.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4373, allocations: 0 / 484.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.4375, allocations: 28.94 kB / 484.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.4379, allocations: 59.89 kB / 484.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003478/0.4383, allocations: 0.5329 MB / 484.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.4386, allocations: 7.969 kB / 484.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.4387, allocations: 15.98 kB / 485 MB, free: 8.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.000117/0.4388, allocations: 133.8 kB / 485.1 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.4388, allocations: 7.906 kB / 485.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007645/0.4396, allocations: 319.3 kB / 485.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4396, allocations: 0 / 485.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4396, allocations: 3.938 kB / 485.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4396, allocations: 0 / 485.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4407, allocations: 0.6787 MB / 486.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4407, allocations: 0 / 486.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.4412, allocations: 51.95 kB / 486.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.4413, allocations: 20.78 kB / 486.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.4413, allocations: 11.98 kB / 486.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007913/0.4421, allocations: 1.365 MB / 487.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4421, allocations: 11.98 kB / 487.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.4429, allocations: 450.6 kB / 488 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.443, allocations: 88.95 kB / 488.1 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.443, allocations: 4 kB / 488.1 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.4433, allocations: 11.98 kB / 488.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.4434, allocations: 15.92 kB / 488.1 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4434, allocations: 12.86 kB / 488.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.4435, allocations: 91.27 kB / 488.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4435, allocations: 0 / 488.2 MB, free: 5.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.444, allocations: 132 kB / 488.3 MB, free: 5.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.0006557/0.4447, allocations: 251 kB / 488.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.4453, allocations: 239.7 kB / 488.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4453, allocations: 0 / 488.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.4457, allocations: 234.8 kB / 489 MB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.4461, allocations: 61.41 kB / 489.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.447, allocations: 0.5146 MB / 489.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.4473, allocations: 0.7046 MB / 490.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.4477, allocations: 57.61 kB / 490.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4479, allocations: 23.42 kB / 490.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4479, allocations: 0 / 490.4 MB, free: 3.129 MB / 382.1 MB Notification: Performance of Templates: time 0.009884/0.4577, allocations: 6.243 MB / 496.7 MB, free: 12.89 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches