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.001846/0.001846, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002389/0.002389, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2107/0.2107, allocations: 44.92 MB / 359.6 MB, free: 6.367 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.002359/0.002359, allocations: 67.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.333, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.231/0.564, allocations: 178.1 MB / 0.7322 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3303/0.8943, allocations: 5.367 MB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.8951, allocations: 31.58 kB / 0.7374 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009294/0.8961, allocations: 322.4 kB / 0.7378 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.8996, allocations: 1.288 MB / 0.739 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.9021, allocations: 0.9918 MB / 0.74 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.9047, allocations: 1.879 MB / 0.7418 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.9053, allocations: 391.5 kB / 0.7422 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.9074, allocations: 1.113 MB / 0.7433 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009186/0.9083, allocations: 0.7043 MB / 0.744 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/0.9084, allocations: 61.5 kB / 0.744 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.9097, allocations: 0.6415 MB / 0.7446 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.9099, allocations: 274.8 kB / 0.7449 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.9103, allocations: 397.3 kB / 0.7453 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.9118, allocations: 1.302 MB / 0.7466 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9118, allocations: 0 / 0.7466 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9118, allocations: 4.5 kB / 0.7466 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.9118, allocations: 4.609 kB / 0.7466 GB, free: 1.688 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.002243/0.914, allocations: 1.058 MB / 0.7476 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9141, allocations: 8.375 kB / 0.7476 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008114/0.9149, allocations: 139 kB / 0.7477 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.9158, allocations: 480.4 kB / 0.7482 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.9159, allocations: 157.4 kB / 0.7484 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.916, allocations: 47.47 kB / 0.7484 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9171, allocations: 0.8199 MB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.9171, allocations: 4.188 kB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.9172, allocations: 24.48 kB / 0.7492 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/0.9173, allocations: 37.84 kB / 0.7493 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.9182, allocations: 0.6193 MB / 0.7499 GB, free: 16.56 MB / 0.5762 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.004479/0.9226, allocations: 3.882 MB / 0.7537 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.9231, allocations: 349.4 kB / 0.754 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.9234, allocations: 160 kB / 0.7541 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.9235, allocations: 17.23 kB / 0.7542 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.9235, allocations: 36.88 kB / 0.7542 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.9235, allocations: 0.8438 kB / 0.7542 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005448/0.9289, allocations: 1.608 MB / 0.7558 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9291, allocations: 134.7 kB / 0.7559 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.9297, allocations: 0.6154 MB / 0.7565 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.9298, allocations: 35.23 kB / 0.7565 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.93, allocations: 380.2 kB / 0.7569 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.9301, allocations: 152.1 kB / 0.757 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.9303, allocations: 160.2 kB / 0.7572 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.9305, allocations: 375.6 kB / 0.7575 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.9308, allocations: 202.6 kB / 0.7577 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.9314, allocations: 0.5102 MB / 0.7582 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.9323, allocations: 0.7475 MB / 0.759 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9323, allocations: 6.031 kB / 0.759 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001311/0.9336, allocations: 0.8837 MB / 0.7598 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.9336, allocations: 11.94 kB / 0.7598 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9336, allocations: 14.11 kB / 0.7599 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.935, allocations: 309.7 kB / 0.7602 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.9353, allocations: 125.5 kB / 0.7603 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.9365, allocations: 0.9339 MB / 0.7612 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.937, allocations: 32.19 kB / 0.7612 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.9371, allocations: 64.33 kB / 0.7613 GB, free: 11.17 MB / 0.5762 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.0003732/0.9375, allocations: 242.9 kB / 0.7615 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9376, allocations: 72.2 kB / 0.7616 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.939, allocations: 0.87 MB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.939, allocations: 8.344 kB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.939, allocations: 1.031 kB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.939, allocations: 3.094 kB / 0.7624 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.9409, allocations: 1.21 MB / 0.7636 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9409, allocations: 3.391 kB / 0.7636 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.9419, allocations: 211.4 kB / 0.7638 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.942, allocations: 24.8 kB / 0.7639 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.9421, allocations: 24.11 kB / 0.7639 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.9444, allocations: 2.672 MB / 0.7665 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9444, allocations: 4.094 kB / 0.7665 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.9456, allocations: 0.818 MB / 0.7673 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.9459, allocations: 114.6 kB / 0.7674 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/0.946, allocations: 16.53 kB / 0.7674 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.9464, allocations: 22.03 kB / 0.7674 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.9465, allocations: 37.11 kB / 0.7675 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.9465, allocations: 47.05 kB / 0.7675 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005338/0.9471, allocations: 437.2 kB / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9471, allocations: 0 / 0.7679 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009423/0.948, allocations: 257.5 kB / 0.7682 GB, free: 7.684 MB / 0.5762 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.000652/0.9487, allocations: 287.3 kB / 0.7685 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.9497, allocations: 0.5324 MB / 0.769 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9497, allocations: 0.9688 kB / 0.769 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.9506, allocations: 401.6 kB / 0.7694 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.9521, allocations: 368.8 kB / 0.7697 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.9543, allocations: 1.398 MB / 0.7711 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.9549, allocations: 0.9273 MB / 0.772 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.9552, allocations: 127.5 kB / 0.7721 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9552, allocations: 1 kB / 0.7721 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.02188/0.9771, allocations: 16.65 MB / 0.7884 GB, free: 2.48 MB / 0.5762 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.280563996871933]