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.001388/0.001388, allocations: 176.9 kB / 16.41 MB, free: 5.707 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.359/1.359, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007546/0.0007546, allocations: 97.03 kB / 270.9 MB, free: 8.348 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.3838/0.3838, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 58.86 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5246/0.6637, allocations: 163.8 MB / 0.6387 GB, free: 3.363 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.6746, allocations: 5.472 MB / 0.6441 GB, free: 13.88 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.676, allocations: 23.81 kB / 0.6441 GB, free: 13.86 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.6774, allocations: 254.4 kB / 0.6444 GB, free: 13.61 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.005559/0.683, allocations: 1.365 MB / 0.6457 GB, free: 12.25 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.6868, allocations: 0.9719 MB / 0.6466 GB, free: 11.29 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.6903, allocations: 2.246 MB / 0.6488 GB, free: 9.035 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.6914, allocations: 378.5 kB / 0.6492 GB, free: 8.664 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.6949, allocations: 1.042 MB / 0.6502 GB, free: 7.621 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.6971, allocations: 0.7356 MB / 0.6509 GB, free: 6.883 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.6974, allocations: 28 kB / 0.651 GB, free: 6.855 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.6999, allocations: 0.6045 MB / 0.6515 GB, free: 6.25 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.7005, allocations: 231.3 kB / 0.6518 GB, free: 6.023 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.701, allocations: 165.3 kB / 0.6519 GB, free: 5.855 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.703, allocations: 0.9976 MB / 0.6529 GB, free: 4.855 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7031, allocations: 0 / 0.6529 GB, free: 4.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7031, allocations: 0 / 0.6529 GB, free: 4.855 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.488e-05/0.7031, allocations: 0 / 0.6529 GB, free: 4.855 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.003224/0.7064, allocations: 0.9855 MB / 0.6539 GB, free: 3.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.7064, allocations: 16.02 kB / 0.6539 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7076, allocations: 136 kB / 0.654 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.7091, allocations: 492.6 kB / 0.6545 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7093, allocations: 104.3 kB / 0.6546 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.7094, allocations: 55.92 kB / 0.6546 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.711, allocations: 0.8213 MB / 0.6554 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.7111, allocations: 4 kB / 0.6554 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.7112, allocations: 27.98 kB / 0.6555 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/0.7113, allocations: 40.92 kB / 0.6555 GB, free: 2.012 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.7125, allocations: 0.6166 MB / 0.6561 GB, free: 1.398 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.005225/0.7177, allocations: 3.977 MB / 0.66 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.7183, allocations: 355.6 kB / 0.6603 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.7186, allocations: 169.3 kB / 0.6605 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/0.7192, allocations: 361.4 kB / 0.6608 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.7192, allocations: 42.84 kB / 0.6609 GB, free: 12.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.7192, allocations: 0 / 0.6609 GB, free: 12.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006442/0.7257, allocations: 1.663 MB / 0.6625 GB, free: 10.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.7258, allocations: 136.5 kB / 0.6626 GB, free: 10.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.7268, allocations: 0.6055 MB / 0.6632 GB, free: 9.676 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.7269, allocations: 37.7 kB / 0.6632 GB, free: 9.633 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.7272, allocations: 366.9 kB / 0.6636 GB, free: 9.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7274, allocations: 142 kB / 0.6637 GB, free: 9.129 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.7275, allocations: 16 kB / 0.6637 GB, free: 9.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.7277, allocations: 370.8 kB / 0.6641 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.7281, allocations: 201.9 kB / 0.6643 GB, free: 8.547 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.7288, allocations: 0.5086 MB / 0.6648 GB, free: 7.895 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.7293, allocations: 291.7 kB / 0.6651 GB, free: 7.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7293, allocations: 0 / 0.6651 GB, free: 7.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001686/0.731, allocations: 0.8765 MB / 0.6659 GB, free: 6.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.7311, allocations: 12 kB / 0.6659 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.7311, allocations: 8 kB / 0.6659 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.7326, allocations: 321 kB / 0.6663 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.7331, allocations: 123.8 kB / 0.6664 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.7342, allocations: 0.9324 MB / 0.6673 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.7349, allocations: 51.86 kB / 0.6673 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.735, allocations: 71.98 kB / 0.6674 GB, free: 5.191 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.0003874/0.7354, allocations: 237.5 kB / 0.6676 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.7356, allocations: 71.16 kB / 0.6677 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.7371, allocations: 0.6858 MB / 0.6684 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.7372, allocations: 11.92 kB / 0.6684 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.7372, allocations: 0 / 0.6684 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.7372, allocations: 3.938 kB / 0.6684 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.7398, allocations: 1.606 MB / 0.6699 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7398, allocations: 4 kB / 0.6699 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.7408, allocations: 203.8 kB / 0.6701 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.826e-05/0.741, allocations: 28.95 kB / 0.6702 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.741, allocations: 16 kB / 0.6702 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3159/1.057, allocations: 2.675 MB / 0.6728 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.057, allocations: 2.062 kB / 0.6728 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/1.059, allocations: 0.7961 MB / 0.6736 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/1.059, allocations: 194.5 kB / 0.6738 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/1.059, allocations: 8.922 kB / 0.6738 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/1.06, allocations: 29.45 kB / 0.6738 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.06, allocations: 45.67 kB / 0.6738 GB, free: 149.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/1.06, allocations: 41.41 kB / 0.6739 GB, free: 149.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007055/1.061, allocations: 426.8 kB / 0.6743 GB, free: 149.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.061, allocations: 0 / 0.6743 GB, free: 149.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001365/1.062, allocations: 292.9 kB / 0.6746 GB, free: 149.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.001105/1.063, allocations: 369.1 kB / 0.6749 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/1.065, allocations: 0.5456 MB / 0.6755 GB, free: 149.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.065, allocations: 3.5 kB / 0.6755 GB, free: 149.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.066, allocations: 401 kB / 0.6758 GB, free: 149.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/1.068, allocations: 334.4 kB / 0.6762 GB, free: 149.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/1.071, allocations: 1.599 MB / 0.6777 GB, free: 148.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/1.071, allocations: 0.9272 MB / 0.6786 GB, free: 148 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.072, allocations: 111.9 kB / 0.6787 GB, free: 148 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/1.072, allocations: 0 / 0.6787 GB, free: 148 MB / 490.7 MB Notification: Performance of Templates: time 0.02636/1.098, allocations: 16.82 MB / 0.6952 GB, free: 146.6 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