Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 110.5 kB / 17.73 MB, free: 5.363 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.00126/0.00126, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.467/1.467, 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.002031/0.002031, allocations: 52.14 kB / 328.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4002/0.5105, allocations: 172.7 MB / 0.5351 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.5146, allocations: 3.217 MB / 0.5382 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.5149, allocations: 7.938 kB / 0.5382 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.5155, allocations: 175 kB / 0.5384 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008732/0.5164, allocations: 399.2 kB / 0.5388 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.5173, allocations: 349.6 kB / 0.5391 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009756/0.5183, allocations: 0.8876 MB / 0.54 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.5185, allocations: 104.7 kB / 0.5401 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5204, allocations: 0.7951 MB / 0.5408 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.5208, allocations: 274.9 kB / 0.5411 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.5209, allocations: 32 kB / 0.5411 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.5212, allocations: 119.9 kB / 0.5412 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.5213, allocations: 99.7 kB / 0.5413 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5215, allocations: 183.3 kB / 0.5415 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.5221, allocations: 0.5141 MB / 0.542 GB, free: 11.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5221, allocations: 8 kB / 0.542 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5222, allocations: 0 / 0.542 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.5222, allocations: 0 / 0.542 GB, free: 11.19 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008674/0.523, allocations: 0.5775 MB / 0.5426 GB, free: 10.56 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5231, allocations: 19.88 kB / 0.5426 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.5234, allocations: 39.62 kB / 0.5426 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.5239, allocations: 302.3 kB / 0.5429 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5239, allocations: 20.56 kB / 0.5429 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.5239, allocations: 24 kB / 0.543 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.5245, allocations: 324.5 kB / 0.5433 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5245, allocations: 3.938 kB / 0.5433 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.5245, allocations: 12 kB / 0.5433 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5245, allocations: 4 kB / 0.5433 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.5249, allocations: 205.5 kB / 0.5435 GB, free: 9.562 MB / 478.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.001873/0.5268, allocations: 1.589 MB / 0.545 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.5271, allocations: 167.1 kB / 0.5452 GB, free: 7.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5272, allocations: 96.77 kB / 0.5453 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.5273, allocations: 7.984 kB / 0.5453 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5273, allocations: 35.12 kB / 0.5453 GB, free: 7.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/0.5273, allocations: 0 / 0.5453 GB, free: 7.504 MB / 478.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006031/0.5334, allocations: 1.624 MB / 0.5469 GB, free: 5.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5334, allocations: 55.41 kB / 0.547 GB, free: 5.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.5337, allocations: 252.9 kB / 0.5472 GB, free: 5.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.5337, allocations: 33.7 kB / 0.5473 GB, free: 5.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5338, allocations: 180.2 kB / 0.5474 GB, free: 5.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.5339, allocations: 94.64 kB / 0.5475 GB, free: 5.113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.5341, allocations: 81.69 kB / 0.5476 GB, free: 5.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5342, allocations: 334.8 kB / 0.5479 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.5344, allocations: 84.78 kB / 0.548 GB, free: 4.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5346, allocations: 191.7 kB / 0.5482 GB, free: 4.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.535, allocations: 308.2 kB / 0.5485 GB, free: 4.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.535, allocations: 0 / 0.5485 GB, free: 4.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006306/0.5356, allocations: 403 kB / 0.5489 GB, free: 3.629 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5357, allocations: 12.03 kB / 0.5489 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.5357, allocations: 4 kB / 0.5489 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.5359, allocations: 65.69 kB / 0.5489 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.5363, allocations: 90.7 kB / 0.549 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.5378, allocations: 1.954 MB / 0.5509 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.538, allocations: 12.19 kB / 0.5509 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.538, allocations: 36 kB / 0.551 GB, free: 1.293 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.5382, allocations: 162.4 kB / 0.5511 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.5383, allocations: 23.72 kB / 0.5511 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/0.5392, allocations: 448.5 kB / 0.5516 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5392, allocations: 0 / 0.5516 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.5392, allocations: 4 kB / 0.5516 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2229/0.7621, allocations: 0.5583 MB / 0.5521 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7634, allocations: 0.7343 MB / 0.5528 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7635, allocations: 1 kB / 0.5528 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.7638, allocations: 74.33 kB / 0.5529 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.551e-05/0.7639, allocations: 21.34 kB / 0.5529 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.7639, allocations: 15.78 kB / 0.5529 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006964/0.7646, allocations: 1.374 MB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7647, allocations: 3.312 kB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.7653, allocations: 483.3 kB / 0.5548 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.7653, allocations: 97.62 kB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.7654, allocations: 7.812 kB / 0.5549 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.7656, allocations: 12.44 kB / 0.5549 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.7657, allocations: 22.14 kB / 0.5549 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.7657, allocations: 31.33 kB / 0.5549 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.766, allocations: 195.2 kB / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.766, allocations: 0.5 kB / 0.5551 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.7666, allocations: 120.6 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.0004096/0.767, allocations: 161.1 kB / 0.5554 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.7677, allocations: 374.1 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7678, allocations: 0.5625 kB / 0.5557 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.7681, allocations: 232.5 kB / 0.556 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7691, allocations: 169.2 kB / 0.5561 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.7702, allocations: 0.6925 MB / 0.5568 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.7705, allocations: 0.7667 MB / 0.5575 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.7709, allocations: 113.7 kB / 0.5576 GB, free: 167.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.771, allocations: 69.84 kB / 0.5577 GB, free: 167.2 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.7711, allocations: 0 / 0.5577 GB, free: 167.2 MB / 478.1 MB Notification: Performance of Templates: time 0.01522/0.7863, allocations: 8.78 MB / 0.5663 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches