Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000748/0.000748, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003068/0.003068, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 32.8 MB / 294.2 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.017e-05, allocations: 2.844 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3324/0.3325, allocations: 153.8 MB / 0.5807 GB, free: 10.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.3386, allocations: 4.907 MB / 0.5855 GB, free: 5.613 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.3393, allocations: 31.75 kB / 0.5855 GB, free: 5.582 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008093/0.3401, allocations: 298 kB / 0.5858 GB, free: 5.289 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.3431, allocations: 1.406 MB / 0.5872 GB, free: 3.883 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.3454, allocations: 1.091 MB / 0.5882 GB, free: 2.797 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002498/0.3479, allocations: 1.879 MB / 0.5901 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.3484, allocations: 394.1 kB / 0.5905 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.3505, allocations: 1.347 MB / 0.5918 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.3516, allocations: 0.7404 MB / 0.5925 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3517, allocations: 60 kB / 0.5926 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3529, allocations: 0.5537 MB / 0.5931 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3532, allocations: 283.1 kB / 0.5934 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.3534, allocations: 283.4 kB / 0.5936 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3549, allocations: 1.387 MB / 0.595 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3549, allocations: 0 / 0.595 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3549, allocations: 3.469 kB / 0.595 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.3549, allocations: 0 / 0.595 GB, free: 11.87 MB / 0.4948 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.001674/0.3566, allocations: 1.041 MB / 0.596 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3566, allocations: 12.03 kB / 0.596 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.3571, allocations: 139.5 kB / 0.5962 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.358, allocations: 477.4 kB / 0.5966 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3582, allocations: 155.7 kB / 0.5968 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.3582, allocations: 51.98 kB / 0.5968 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.3592, allocations: 1.14 MB / 0.5979 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3592, allocations: 3.938 kB / 0.5979 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.3593, allocations: 20 kB / 0.5979 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.3593, allocations: 36.98 kB / 0.598 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.36, allocations: 0.6205 MB / 0.5986 GB, free: 7.945 MB / 0.4948 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.002734/0.3627, allocations: 3.218 MB / 0.6017 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.3631, allocations: 340.7 kB / 0.6021 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3633, allocations: 161.3 kB / 0.6022 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.3634, allocations: 12.27 kB / 0.6022 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3634, allocations: 38.84 kB / 0.6023 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.3634, allocations: 0 / 0.6023 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003466/0.3669, allocations: 1.601 MB / 0.6038 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.367, allocations: 132.5 kB / 0.6039 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.3674, allocations: 0.5338 MB / 0.6045 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.3674, allocations: 33.7 kB / 0.6045 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3676, allocations: 380.2 kB / 0.6049 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.3677, allocations: 146.7 kB / 0.605 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.3678, allocations: 166.6 kB / 0.6052 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3679, allocations: 370.7 kB / 0.6055 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3682, allocations: 197.9 kB / 0.6057 GB, free: 432 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3686, allocations: 0.5919 MB / 0.6063 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006418/0.3692, allocations: 0.7487 MB / 0.607 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3692, allocations: 4 kB / 0.607 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009209/0.3701, allocations: 0.8764 MB / 0.6079 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3702, allocations: 8 kB / 0.6079 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3702, allocations: 13.69 kB / 0.6079 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000789/0.371, allocations: 317.4 kB / 0.6082 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3712, allocations: 127.8 kB / 0.6083 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/0.372, allocations: 0.9304 MB / 0.6092 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.3722, allocations: 27.98 kB / 0.6093 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.3723, allocations: 64 kB / 0.6093 GB, free: 12.39 MB / 0.5105 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.0002692/0.3726, allocations: 245.6 kB / 0.6095 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.3726, allocations: 67.58 kB / 0.6096 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3739, allocations: 0.8615 MB / 0.6105 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3739, allocations: 4 kB / 0.6105 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3739, allocations: 0 / 0.6105 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.374, allocations: 0 / 0.6105 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3752, allocations: 1.102 MB / 0.6115 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3752, allocations: 0 / 0.6115 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.3757, allocations: 211.8 kB / 0.6117 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-05/0.3758, allocations: 24.84 kB / 0.6118 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3758, allocations: 21.39 kB / 0.6118 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.3772, allocations: 2.622 MB / 0.6143 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3772, allocations: 4.812 kB / 0.6143 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.378, allocations: 0.8108 MB / 0.6151 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.3781, allocations: 103.6 kB / 0.6152 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.3782, allocations: 15.94 kB / 0.6152 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3784, allocations: 15.98 kB / 0.6153 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.3785, allocations: 39.89 kB / 0.6153 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.3785, allocations: 43.97 kB / 0.6153 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000298/0.3788, allocations: 358.8 kB / 0.6157 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3788, allocations: 0 / 0.6157 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006716/0.3795, allocations: 259.7 kB / 0.6159 GB, free: 5.297 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0005224/0.38, allocations: 299.4 kB / 0.6162 GB, free: 5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007652/0.3808, allocations: 0.5277 MB / 0.6167 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3808, allocations: 3.953 kB / 0.6167 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.3813, allocations: 402.2 kB / 0.6171 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.3826, allocations: 304.1 kB / 0.6174 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3843, allocations: 1.278 MB / 0.6187 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3845, allocations: 336.2 kB / 0.619 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.3848, allocations: 120.4 kB / 0.6191 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/0.3848, allocations: 0 / 0.6191 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of Templates: time 0.01571/0.4005, allocations: 16.14 MB / 0.6349 GB, free: 1.895 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.809070223942399]