Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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 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(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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 115.3 kB / 17.08 MB, free: 5.789 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.00105/0.00105, allocations: 198.5 kB / 18.01 MB, free: 4.918 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 / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2566/0.2566, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.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.001506/0.001506, allocations: 79.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1478, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5996/0.7474, allocations: 179.6 MB / 0.664 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008703/0.7562, allocations: 5.747 MB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.7573, allocations: 23.81 kB / 0.6696 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.7585, allocations: 314 kB / 0.6699 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.7643, allocations: 1.579 MB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.7682, allocations: 1.238 MB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.7709, allocations: 1.844 MB / 0.6745 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007137/0.7716, allocations: 456.1 kB / 0.6749 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.7746, allocations: 1.235 MB / 0.6761 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.7759, allocations: 0.7549 MB / 0.6769 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.776, allocations: 60 kB / 0.6769 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.7781, allocations: 0.827 MB / 0.6777 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.7783, allocations: 263.3 kB / 0.678 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.7788, allocations: 398.2 kB / 0.6784 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.7807, allocations: 1.43 MB / 0.6798 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7807, allocations: 0 / 0.6798 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7807, allocations: 0 / 0.6798 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.7807, allocations: 0 / 0.6798 GB, free: 6.613 MB / 0.5137 GB 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.002352/0.7831, allocations: 1.126 MB / 0.6809 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7831, allocations: 15.88 kB / 0.6809 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/0.784, allocations: 139 kB / 0.681 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/0.7848, allocations: 0.5352 MB / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.785, allocations: 104.4 kB / 0.6816 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.7851, allocations: 48 kB / 0.6817 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.7864, allocations: 0.8136 MB / 0.6825 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.7864, allocations: 7.938 kB / 0.6825 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.7865, allocations: 24 kB / 0.6825 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.7866, allocations: 40.97 kB / 0.6825 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7876, allocations: 0.6088 MB / 0.6831 GB, free: 2.98 MB / 0.5137 GB 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.00506/0.7927, allocations: 3.983 MB / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/0.7934, allocations: 347.6 kB / 0.6873 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.7938, allocations: 181.3 kB / 0.6875 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.7944, allocations: 362 kB / 0.6879 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/0.7945, allocations: 38.84 kB / 0.6879 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 5.55e-06/0.7945, allocations: 0 / 0.6879 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006001/0.8005, allocations: 1.671 MB / 0.6895 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.8006, allocations: 132.5 kB / 0.6897 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.8014, allocations: 0.6171 MB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/0.8014, allocations: 33.7 kB / 0.6903 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.8017, allocations: 370.9 kB / 0.6907 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.8019, allocations: 149.9 kB / 0.6908 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.8021, allocations: 150.5 kB / 0.6909 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8023, allocations: 374.8 kB / 0.6913 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.8026, allocations: 205.9 kB / 0.6915 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.8032, allocations: 0.5125 MB / 0.692 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.8042, allocations: 0.7523 MB / 0.6927 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8042, allocations: 4 kB / 0.6927 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001354/0.8055, allocations: 0.8721 MB / 0.6936 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.8056, allocations: 12 kB / 0.6936 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.8056, allocations: 8 kB / 0.6936 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.8069, allocations: 313.2 kB / 0.6939 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.8073, allocations: 127.7 kB / 0.694 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.8085, allocations: 0.9346 MB / 0.6949 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.809, allocations: 24 kB / 0.695 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.97e-05/0.8091, allocations: 71.98 kB / 0.695 GB, free: 6.012 MB / 0.5294 GB 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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003515/0.8094, allocations: 241.7 kB / 0.6953 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.8096, allocations: 71.19 kB / 0.6953 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.8109, allocations: 0.6855 MB / 0.696 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.811, allocations: 8 kB / 0.696 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.811, allocations: 0 / 0.696 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.811, allocations: 4 kB / 0.696 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.8133, allocations: 1.599 MB / 0.6976 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8133, allocations: 3.938 kB / 0.6976 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.8143, allocations: 215.9 kB / 0.6978 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.293e-05/0.8144, allocations: 28.72 kB / 0.6978 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.8145, allocations: 19.98 kB / 0.6978 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.8167, allocations: 2.877 MB / 0.7006 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8167, allocations: 4.031 kB / 0.7006 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.8179, allocations: 0.8051 MB / 0.7014 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.8183, allocations: 192.2 kB / 0.7016 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.8184, allocations: 15.98 kB / 0.7016 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.8188, allocations: 12 kB / 0.7016 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.8189, allocations: 43.95 kB / 0.7017 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.819, allocations: 43.98 kB / 0.7017 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005902/0.8196, allocations: 447 kB / 0.7021 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8196, allocations: 0 / 0.7021 GB, free: 14.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001118/0.8208, allocations: 292 kB / 0.7024 GB, free: 13.93 MB / 0.545 GB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001194/0.822, allocations: 377.6 kB / 0.7028 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.8232, allocations: 0.5428 MB / 0.7033 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8232, allocations: 0 / 0.7033 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/0.8242, allocations: 407.4 kB / 0.7037 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.826, allocations: 374.4 kB / 0.7041 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.8285, allocations: 1.35 MB / 0.7054 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.829, allocations: 0.9183 MB / 0.7063 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.8294, allocations: 111.4 kB / 0.7064 GB, free: 9.793 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.8294, allocations: 0 / 0.7064 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Templates: time 0.0279/0.8573, allocations: 17.1 MB / 0.7231 GB, free: 8.695 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches