Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009058/0.0009059, allocations: 175 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007479/0.000748, allocations: 101.1 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.309/0.309, allocations: 43.56 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09809, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3157/0.4138, allocations: 163.9 MB / 0.6394 GB, free: 3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.4207, allocations: 5.474 MB / 0.6447 GB, free: 13.52 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.4215, allocations: 27.75 kB / 0.6447 GB, free: 13.49 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.4223, allocations: 266.4 kB / 0.645 GB, free: 13.23 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003772/0.4261, allocations: 1.4 MB / 0.6463 GB, free: 11.83 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.4288, allocations: 1.002 MB / 0.6473 GB, free: 10.84 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002411/0.4313, allocations: 2.249 MB / 0.6495 GB, free: 8.594 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.432, allocations: 397.9 kB / 0.6499 GB, free: 8.203 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.4347, allocations: 1.085 MB / 0.651 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.4361, allocations: 0.7239 MB / 0.6517 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.4363, allocations: 36 kB / 0.6517 GB, free: 6.355 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4379, allocations: 0.659 MB / 0.6523 GB, free: 5.695 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.4382, allocations: 231.3 kB / 0.6526 GB, free: 5.469 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.4388, allocations: 380.1 kB / 0.6529 GB, free: 5.09 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.44, allocations: 1.025 MB / 0.6539 GB, free: 4.062 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.44, allocations: 0 / 0.6539 GB, free: 4.062 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.4401, allocations: 0 / 0.6539 GB, free: 4.062 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.4401, allocations: 3.938 kB / 0.6539 GB, free: 4.059 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002079/0.4422, allocations: 0.9778 MB / 0.6549 GB, free: 3.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4422, allocations: 8.031 kB / 0.6549 GB, free: 3.023 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.443, allocations: 139.1 kB / 0.655 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.4438, allocations: 0.5002 MB / 0.6555 GB, free: 2.344 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.4439, allocations: 104.4 kB / 0.6556 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.444, allocations: 48 kB / 0.6557 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4453, allocations: 0.8135 MB / 0.6565 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.4453, allocations: 4 kB / 0.6565 GB, free: 1.293 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.4454, allocations: 23.98 kB / 0.6565 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.4455, allocations: 48.41 kB / 0.6565 GB, free: 1.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4465, allocations: 0.6165 MB / 0.6571 GB, free: 0.6094 MB / 474.7 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.004236/0.4507, allocations: 3.987 MB / 0.661 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.4513, allocations: 351.6 kB / 0.6614 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4516, allocations: 165.3 kB / 0.6615 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.452, allocations: 369.4 kB / 0.6619 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.452, allocations: 38.84 kB / 0.6619 GB, free: 11.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.452, allocations: 0 / 0.6619 GB, free: 11.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.004918/0.457, allocations: 1.665 MB / 0.6635 GB, free: 9.648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.457, allocations: 136.5 kB / 0.6637 GB, free: 9.484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.4577, allocations: 0.6093 MB / 0.6643 GB, free: 8.867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4578, allocations: 37.7 kB / 0.6643 GB, free: 8.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.458, allocations: 362.9 kB / 0.6646 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4581, allocations: 145.9 kB / 0.6648 GB, free: 8.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.4582, allocations: 16 kB / 0.6648 GB, free: 8.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4583, allocations: 374.8 kB / 0.6652 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.4587, allocations: 197.9 kB / 0.6653 GB, free: 7.738 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.4592, allocations: 0.5125 MB / 0.6658 GB, free: 7.082 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.4601, allocations: 0.7407 MB / 0.6666 GB, free: 6.203 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4601, allocations: 8 kB / 0.6666 GB, free: 6.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001387/0.4615, allocations: 0.8722 MB / 0.6674 GB, free: 5.312 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4616, allocations: 12.03 kB / 0.6674 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4616, allocations: 12 kB / 0.6674 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4629, allocations: 316.5 kB / 0.6677 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.4633, allocations: 119.8 kB / 0.6679 GB, free: 4.859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.4643, allocations: 0.9397 MB / 0.6688 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.4648, allocations: 39.98 kB / 0.6688 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.4649, allocations: 63.98 kB / 0.6689 GB, free: 3.793 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003001/0.4652, allocations: 249.6 kB / 0.6691 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4653, allocations: 75.09 kB / 0.6692 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.4667, allocations: 0.6859 MB / 0.6699 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4668, allocations: 8 kB / 0.6699 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4668, allocations: 0 / 0.6699 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4668, allocations: 0 / 0.6699 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.4688, allocations: 1.594 MB / 0.6714 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4688, allocations: 7.938 kB / 0.6714 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.4698, allocations: 207.8 kB / 0.6716 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.4699, allocations: 24.84 kB / 0.6717 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.4699, allocations: 19.98 kB / 0.6717 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1635/0.6334, allocations: 2.679 MB / 0.6743 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6335, allocations: 5.031 kB / 0.6743 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.6348, allocations: 0.8013 MB / 0.6751 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.6352, allocations: 195.1 kB / 0.6753 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6353, allocations: 8.281 kB / 0.6753 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004632/0.6358, allocations: 26.02 kB / 0.6753 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/0.6359, allocations: 41.77 kB / 0.6753 GB, free: 148.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.636, allocations: 44.22 kB / 0.6754 GB, free: 148.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006273/0.6366, allocations: 430.5 kB / 0.6758 GB, free: 148.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6366, allocations: 1.312 kB / 0.6758 GB, free: 148.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001031/0.6376, allocations: 295.8 kB / 0.6761 GB, free: 148.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009287/0.6386, allocations: 364.5 kB / 0.6764 GB, free: 148.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.6398, allocations: 0.5477 MB / 0.677 GB, free: 148.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6398, allocations: 1.219 kB / 0.677 GB, free: 148.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009139/0.6407, allocations: 402.5 kB / 0.6773 GB, free: 148.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6424, allocations: 336.2 kB / 0.6777 GB, free: 148.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.6445, allocations: 1.594 MB / 0.6792 GB, free: 147.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.6449, allocations: 0.9284 MB / 0.6801 GB, free: 147 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6453, allocations: 112.7 kB / 0.6802 GB, free: 147 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6453, allocations: 0 / 0.6802 GB, free: 147 MB / 490.7 MB Notification: Performance of Templates: time 0.01932/0.6646, allocations: 16.81 MB / 0.6966 GB, free: 145.5 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches