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.001301/0.001301, allocations: 109 kB / 16.41 MB, free: 6.48 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.001017/0.001017, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.559/1.559, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2404/0.2404, allocations: 43.53 MB / 314.1 MB, free: 440 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.001434/0.001434, allocations: 67.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1531, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6357/0.7888, allocations: 179.7 MB / 0.6633 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009579/0.7984, allocations: 5.747 MB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.7995, allocations: 23.88 kB / 0.669 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.8009, allocations: 314 kB / 0.6693 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.8062, allocations: 1.594 MB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.8103, allocations: 1.241 MB / 0.672 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.8137, allocations: 1.856 MB / 0.6738 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.8148, allocations: 462 kB / 0.6743 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.8187, allocations: 1.246 MB / 0.6755 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.8205, allocations: 0.7471 MB / 0.6762 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.8208, allocations: 67.98 kB / 0.6763 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.8233, allocations: 0.827 MB / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.8238, allocations: 259.3 kB / 0.6774 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000825/0.8246, allocations: 402.2 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.8278, allocations: 1.426 MB / 0.6791 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.8278, allocations: 4 kB / 0.6791 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8278, allocations: 0 / 0.6791 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.581e-05/0.8279, allocations: 0 / 0.6791 GB, free: 6.762 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.003345/0.8312, allocations: 1.126 MB / 0.6802 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.8313, allocations: 11.89 kB / 0.6802 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.8323, allocations: 143 kB / 0.6804 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.8334, allocations: 0.5353 MB / 0.6809 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.8335, allocations: 100.4 kB / 0.681 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.8337, allocations: 47.98 kB / 0.681 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.8354, allocations: 0.8136 MB / 0.6818 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.8354, allocations: 4 kB / 0.6818 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.8355, allocations: 27.98 kB / 0.6819 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.8356, allocations: 40.92 kB / 0.6819 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.8367, allocations: 0.6205 MB / 0.6825 GB, free: 3.121 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.005005/0.8417, allocations: 3.974 MB / 0.6864 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.8423, allocations: 355.2 kB / 0.6867 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.8426, allocations: 172.9 kB / 0.6869 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/0.843, allocations: 369.4 kB / 0.6873 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.8431, allocations: 38.84 kB / 0.6873 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.8431, allocations: 0 / 0.6873 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005345/0.8485, allocations: 1.667 MB / 0.6889 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.8486, allocations: 132.5 kB / 0.689 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.8495, allocations: 0.6171 MB / 0.6896 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.8495, allocations: 33.7 kB / 0.6897 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.8498, allocations: 366.9 kB / 0.69 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.85, allocations: 145.9 kB / 0.6902 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.8503, allocations: 154.5 kB / 0.6903 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.8505, allocations: 378.8 kB / 0.6907 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.8509, allocations: 205.9 kB / 0.6909 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.8516, allocations: 0.5125 MB / 0.6914 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.8537, allocations: 0.7562 MB / 0.6921 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.8538, allocations: 0 / 0.6921 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002748/0.8565, allocations: 0.8726 MB / 0.693 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.8566, allocations: 10.5 kB / 0.693 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.8566, allocations: 12.69 kB / 0.693 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.858, allocations: 309.2 kB / 0.6933 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.8584, allocations: 131.7 kB / 0.6934 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.8597, allocations: 0.9308 MB / 0.6943 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.8603, allocations: 27.98 kB / 0.6943 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.8604, allocations: 68.86 kB / 0.6944 GB, free: 6.16 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.0003992/0.8609, allocations: 241.6 kB / 0.6946 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.861, allocations: 71.17 kB / 0.6947 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.8624, allocations: 0.691 MB / 0.6954 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8625, allocations: 4 kB / 0.6954 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8625, allocations: 0 / 0.6954 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8625, allocations: 7.984 kB / 0.6954 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.8653, allocations: 1.603 MB / 0.697 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.8653, allocations: 3.938 kB / 0.697 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.8663, allocations: 199.8 kB / 0.6972 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.8664, allocations: 32.95 kB / 0.6972 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.8665, allocations: 23.94 kB / 0.6972 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.869, allocations: 2.877 MB / 0.7 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.869, allocations: 3.938 kB / 0.7 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.8704, allocations: 0.8087 MB / 0.7008 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.8709, allocations: 188.2 kB / 0.701 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.871, allocations: 12 kB / 0.701 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.8714, allocations: 15.98 kB / 0.701 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.8716, allocations: 39.89 kB / 0.7011 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.8717, allocations: 43.98 kB / 0.7011 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007421/0.8724, allocations: 451 kB / 0.7015 GB, free: 14.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8724, allocations: 0 / 0.7015 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001474/0.8739, allocations: 288 kB / 0.7018 GB, free: 14.08 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.001404/0.8753, allocations: 364.1 kB / 0.7021 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.8766, allocations: 0.5473 MB / 0.7027 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8767, allocations: 4 kB / 0.7027 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.8777, allocations: 414.5 kB / 0.7031 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.8794, allocations: 374.2 kB / 0.7034 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.8821, allocations: 1.303 MB / 0.7047 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.8829, allocations: 0.9338 MB / 0.7056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008975/0.8838, allocations: 273.9 kB / 0.7059 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.8841, allocations: 95.41 kB / 0.706 GB, free: 9.727 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.8842, allocations: 4 kB / 0.706 GB, free: 9.723 MB / 0.545 GB Notification: Performance of Templates: time 0.03415/0.9183, allocations: 18.48 MB / 0.724 GB, free: 7.262 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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