Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 112.8 kB / 17.73 MB, free: 5.355 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.001737/0.001738, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001477/0.001477, allocations: 47.94 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09432, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3697/0.464, allocations: 150.6 MB / 0.5134 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4654, allocations: 0.9715 MB / 0.5144 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.4656, allocations: 0 / 0.5144 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.4659, allocations: 31.75 kB / 0.5144 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.467, allocations: 246.7 kB / 0.5146 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.4675, allocations: 119.6 kB / 0.5147 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.4678, allocations: 163.3 kB / 0.5149 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.4679, allocations: 11.98 kB / 0.5149 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.4682, allocations: 87.56 kB / 0.515 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4684, allocations: 47.84 kB / 0.515 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.4684, allocations: 8 kB / 0.515 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.4691, allocations: 271.7 kB / 0.5153 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.4692, allocations: 15.97 kB / 0.5153 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.4693, allocations: 43.8 kB / 0.5154 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.4699, allocations: 288 kB / 0.5156 GB, free: 6.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4699, allocations: 3.938 kB / 0.5156 GB, free: 6.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4699, allocations: 0 / 0.5156 GB, free: 6.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.4699, allocations: 0 / 0.5156 GB, free: 6.316 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005917/0.4705, allocations: 407 kB / 0.516 GB, free: 5.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4706, allocations: 12.03 kB / 0.516 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.4725, allocations: 188.6 kB / 0.5162 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.4729, allocations: 208.5 kB / 0.5164 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4729, allocations: 3.938 kB / 0.5164 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.4729, allocations: 19.89 kB / 0.5164 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.4734, allocations: 220.1 kB / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4734, allocations: 0 / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.4735, allocations: 7.984 kB / 0.5167 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4735, allocations: 4 kB / 0.5167 GB, free: 5.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.4739, allocations: 171.8 kB / 0.5168 GB, free: 5 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.0009787/0.4749, allocations: 0.5806 MB / 0.5174 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.4752, allocations: 142.5 kB / 0.5175 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4754, allocations: 68.83 kB / 0.5176 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.4754, allocations: 7.984 kB / 0.5176 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4755, allocations: 38.5 kB / 0.5176 GB, free: 4.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.4755, allocations: 0 / 0.5176 GB, free: 4.09 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.005442/0.4809, allocations: 1.305 MB / 0.5189 GB, free: 2.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.481, allocations: 55.41 kB / 0.519 GB, free: 2.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.4811, allocations: 105.8 kB / 0.5191 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4812, allocations: 29.7 kB / 0.5191 GB, free: 2.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.4812, allocations: 100 kB / 0.5192 GB, free: 2.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.4813, allocations: 71.36 kB / 0.5193 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.4814, allocations: 53.69 kB / 0.5193 GB, free: 2.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4816, allocations: 322.8 kB / 0.5196 GB, free: 1.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.4817, allocations: 71.97 kB / 0.5197 GB, free: 1.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4819, allocations: 103.2 kB / 0.5198 GB, free: 1.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.4823, allocations: 187.2 kB / 0.52 GB, free: 1.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4823, allocations: 8 kB / 0.52 GB, free: 1.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005182/0.4828, allocations: 258.2 kB / 0.5202 GB, free: 1.277 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4828, allocations: 4 kB / 0.5202 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.4828, allocations: 5.562 kB / 0.5202 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.483, allocations: 48.83 kB / 0.5203 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.4834, allocations: 55.89 kB / 0.5203 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004289/0.4838, allocations: 0.568 MB / 0.5209 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.484, allocations: 8.906 kB / 0.5209 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.4841, allocations: 23.98 kB / 0.5209 GB, free: 0.5391 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.0001351/0.4842, allocations: 129.8 kB / 0.521 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.4843, allocations: 7.953 kB / 0.521 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.4851, allocations: 345.6 kB / 0.5214 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4851, allocations: 7.938 kB / 0.5214 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.4851, allocations: 0 / 0.5214 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4852, allocations: 3.984 kB / 0.5214 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4869, allocations: 0.6159 MB / 0.522 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4869, allocations: 4 kB / 0.522 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.4874, allocations: 59.95 kB / 0.522 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.4876, allocations: 16.84 kB / 0.5221 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.4876, allocations: 15.98 kB / 0.5221 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.489, allocations: 1.376 MB / 0.5234 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4891, allocations: 4.25 kB / 0.5234 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4902, allocations: 430.8 kB / 0.5238 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.4903, allocations: 89.05 kB / 0.5239 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.4904, allocations: 5.062 kB / 0.5239 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.4907, allocations: 16.05 kB / 0.5239 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.4908, allocations: 27.91 kB / 0.524 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.4909, allocations: 23.94 kB / 0.524 GB, free: 13.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.508e-05/0.491, allocations: 95.25 kB / 0.5241 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.491, allocations: 0 / 0.5241 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.4916, allocations: 83.88 kB / 0.5242 GB, free: 12.94 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 (21): * Single equations (assignments): 20 * 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.000529/0.4922, allocations: 151 kB / 0.5243 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007436/0.4929, allocations: 208.5 kB / 0.5245 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.493, allocations: 4 kB / 0.5245 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.4935, allocations: 218.6 kB / 0.5247 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.4942, allocations: 49.02 kB / 0.5248 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.4955, allocations: 476.2 kB / 0.5252 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4959, allocations: 0.7085 MB / 0.5259 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.4964, allocations: 81.62 kB / 0.526 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.4967, allocations: 47.41 kB / 0.526 GB, free: 10.94 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4967, allocations: 0 / 0.526 GB, free: 10.94 MB / 462.1 MB Notification: Performance of Templates: time 0.01437/0.5111, allocations: 5.639 MB / 0.5315 GB, free: 5.305 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches