Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001368/0.001368, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.001477/0.001477, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.227/0.227, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3772, allocations: 65.48 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2119/0.5891, allocations: 153.9 MB / 0.7085 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008742/0.5979, allocations: 4.922 MB / 0.7133 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.5992, allocations: 23.75 kB / 0.7133 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.6007, allocations: 314 kB / 0.7136 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.6046, allocations: 1.281 MB / 0.7149 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.6076, allocations: 0.985 MB / 0.7158 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.6101, allocations: 1.868 MB / 0.7176 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006678/0.6108, allocations: 393.6 kB / 0.718 GB, free: 3.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.6133, allocations: 1.125 MB / 0.7191 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.6145, allocations: 0.6851 MB / 0.7198 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.6147, allocations: 63.94 kB / 0.7198 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.6161, allocations: 0.5462 MB / 0.7204 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.6164, allocations: 275.1 kB / 0.7206 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.6168, allocations: 334.6 kB / 0.721 GB, free: 212 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.619, allocations: 1.3 MB / 0.7222 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.619, allocations: 0 / 0.7222 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.619, allocations: 0 / 0.7222 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.619, allocations: 0 / 0.7222 GB, free: 14.9 MB / 0.5606 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.002527/0.6215, allocations: 1.047 MB / 0.7232 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6215, allocations: 8.031 kB / 0.7233 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008481/0.6224, allocations: 147.4 kB / 0.7234 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6235, allocations: 477.3 kB / 0.7239 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.6236, allocations: 159.8 kB / 0.724 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6237, allocations: 48 kB / 0.724 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6253, allocations: 1.136 MB / 0.7252 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.6253, allocations: 3.938 kB / 0.7252 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.6254, allocations: 31.92 kB / 0.7252 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/0.6254, allocations: 44.92 kB / 0.7252 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.6266, allocations: 0.6205 MB / 0.7258 GB, free: 10.96 MB / 0.5606 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.004563/0.6311, allocations: 3.204 MB / 0.729 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.6317, allocations: 347.6 kB / 0.7293 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.632, allocations: 161.3 kB / 0.7295 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.6321, allocations: 20.2 kB / 0.7295 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.6322, allocations: 38.84 kB / 0.7295 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.6322, allocations: 0 / 0.7295 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005659/0.6378, allocations: 1.594 MB / 0.7311 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.6379, allocations: 136.5 kB / 0.7312 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.6386, allocations: 0.5338 MB / 0.7317 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.6387, allocations: 37.7 kB / 0.7318 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.639, allocations: 384.2 kB / 0.7321 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6391, allocations: 150.7 kB / 0.7323 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.6393, allocations: 162.5 kB / 0.7324 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6395, allocations: 370.8 kB / 0.7328 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.6399, allocations: 201.9 kB / 0.733 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.6405, allocations: 0.5916 MB / 0.7335 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6416, allocations: 0.7485 MB / 0.7343 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6416, allocations: 4 kB / 0.7343 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001526/0.6431, allocations: 0.869 MB / 0.7351 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6431, allocations: 8 kB / 0.7351 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6432, allocations: 12 kB / 0.7351 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.6445, allocations: 323.5 kB / 0.7355 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.6449, allocations: 119.8 kB / 0.7356 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3022/0.9471, allocations: 0.9299 MB / 0.7365 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.9479, allocations: 28.2 kB / 0.7365 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.9481, allocations: 64.8 kB / 0.7366 GB, free: 177.5 MB / 0.5606 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.0005403/0.9486, allocations: 253.3 kB / 0.7368 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.9489, allocations: 62.08 kB / 0.7369 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.951, allocations: 0.8479 MB / 0.7377 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.951, allocations: 8.188 kB / 0.7377 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.951, allocations: 1.156 kB / 0.7377 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.951, allocations: 6.062 kB / 0.7377 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.9532, allocations: 1.085 MB / 0.7388 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9532, allocations: 1.203 kB / 0.7388 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.9542, allocations: 214.2 kB / 0.739 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.9544, allocations: 25.17 kB / 0.739 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.9544, allocations: 23.23 kB / 0.739 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.9558, allocations: 2.622 MB / 0.7416 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9558, allocations: 3.875 kB / 0.7416 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9569, allocations: 0.8168 MB / 0.7424 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.9572, allocations: 109.8 kB / 0.7425 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.272e-05/0.9573, allocations: 12.31 kB / 0.7425 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.9576, allocations: 15.45 kB / 0.7425 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9577, allocations: 51.8 kB / 0.7426 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.9578, allocations: 41.27 kB / 0.7426 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004067/0.9582, allocations: 356.8 kB / 0.7429 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9582, allocations: 0 / 0.7429 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008831/0.9591, allocations: 259.6 kB / 0.7432 GB, free: 173.5 MB / 0.5606 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.0006159/0.9597, allocations: 280.6 kB / 0.7435 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009901/0.9607, allocations: 0.5315 MB / 0.744 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9607, allocations: 5.562 kB / 0.744 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.9615, allocations: 390.9 kB / 0.7444 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.9627, allocations: 310.4 kB / 0.7447 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.9645, allocations: 1.383 MB / 0.746 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.9647, allocations: 327.8 kB / 0.7463 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.965, allocations: 126.7 kB / 0.7464 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.965, allocations: 0 / 0.7464 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01661/0.9816, allocations: 16.09 MB / 0.7621 GB, free: 154.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 11.095763275399804]