Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009173/0.0009173, allocations: 73.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004833/0.00575, allocations: 453.8 kB / 10.45 MB, free: 248 kB / 10.45 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.0008984/0.0008984, allocations: 157.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003648/0.004546, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09683/1.116, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2545/0.2545, allocations: 34.25 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02142/0.2759, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.504e-06/8.847e-06, allocations: 3.406 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.146/0.146, allocations: 148.6 MB / 441.4 MB, free: 1.059 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2028/0.3488, allocations: 2.648 MB / 444 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.3494, allocations: 29.34 kB / 444.1 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.3499, allocations: 207.6 kB / 444.3 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.3519, allocations: 1.066 MB / 445.3 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3533, allocations: 0.8082 MB / 446.2 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.355, allocations: 1.924 MB / 448.1 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.3555, allocations: 415.2 kB / 448.5 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.3568, allocations: 1.183 MB / 449.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.3574, allocations: 0.5608 MB / 450.2 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.3575, allocations: 60.84 kB / 450.3 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.3582, allocations: 478 kB / 450.8 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3584, allocations: 233.8 kB / 451 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.3586, allocations: 228.5 kB / 451.2 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.3594, allocations: 0.8739 MB / 452.1 MB, free: 3.539 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3594, allocations: 0 / 452.1 MB, free: 3.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3594, allocations: 0 / 452.1 MB, free: 3.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.3594, allocations: 0.9375 kB / 452.1 MB, free: 3.539 MB / 426.7 MB 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.00168/0.3611, allocations: 1.247 MB / 453.3 MB, free: 18.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.3611, allocations: 9.188 kB / 453.3 MB, free: 18.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005104/0.3617, allocations: 209.7 kB / 453.5 MB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.3622, allocations: 419.5 kB / 454 MB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.31e-05/0.3623, allocations: 156.9 kB / 454.1 MB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/0.3624, allocations: 58.73 kB / 454.2 MB, free: 18.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.363, allocations: 0.887 MB / 455 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.363, allocations: 3.406 kB / 455.1 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.3631, allocations: 24.77 kB / 455.1 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.3631, allocations: 36.78 kB / 455.1 MB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.3634, allocations: 231.2 kB / 455.3 MB, free: 17.92 MB / 442.7 MB 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.002113/0.3656, allocations: 2.657 MB / 458 MB, free: 16.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3657, allocations: 167.2 kB / 458.2 MB, free: 16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.3658, allocations: 63.78 kB / 458.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3659, allocations: 42.78 kB / 458.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3659, allocations: 45.53 kB / 458.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.3659, allocations: 0 / 458.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002054/0.368, allocations: 0.9503 MB / 459.3 MB, free: 15.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.368, allocations: 58.8 kB / 459.3 MB, free: 15.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.3683, allocations: 482.5 kB / 459.8 MB, free: 15.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.3683, allocations: 36.89 kB / 459.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3684, allocations: 336.8 kB / 460.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.3685, allocations: 156.2 kB / 460.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3686, allocations: 142.5 kB / 460.4 MB, free: 15.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.3687, allocations: 377.5 kB / 460.8 MB, free: 14.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.3688, allocations: 63.5 kB / 460.9 MB, free: 14.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.369, allocations: 499.3 kB / 461.4 MB, free: 14.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3694, allocations: 0.5595 MB / 461.9 MB, free: 13.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3694, allocations: 2.438 kB / 461.9 MB, free: 13.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0004804/0.3699, allocations: 495.4 kB / 462.4 MB, free: 13.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3699, allocations: 11.31 kB / 462.4 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3699, allocations: 12 kB / 462.4 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005056/0.3704, allocations: 218.3 kB / 462.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3706, allocations: 144.2 kB / 462.8 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003998/0.371, allocations: 0.6722 MB / 463.5 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3712, allocations: 24.59 kB / 463.5 MB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3713, allocations: 51.66 kB / 463.5 MB, free: 13.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001382/0.3714, allocations: 166.3 kB / 463.7 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.3715, allocations: 54.17 kB / 463.7 MB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.372, allocations: 0.5733 MB / 464.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3721, allocations: 3.469 kB / 464.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3721, allocations: 1.062 kB / 464.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3721, allocations: 3 kB / 464.3 MB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007159/0.3728, allocations: 0.7254 MB / 465.1 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3728, allocations: 0.9688 kB / 465.1 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.3733, allocations: 197.9 kB / 465.2 MB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.3734, allocations: 75.75 kB / 465.3 MB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-05/0.3734, allocations: 27.58 kB / 465.3 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3735, allocations: 18.03 kB / 465.4 MB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/0.3744, allocations: 2.401 MB / 467.8 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3744, allocations: 6.094 kB / 467.8 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.3748, allocations: 463.1 kB / 468.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.3749, allocations: 9.281 kB / 468.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.375, allocations: 20.92 kB / 468.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3751, allocations: 36.47 kB / 468.3 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3751, allocations: 28.52 kB / 468.3 MB, free: 10.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3752, allocations: 200.5 kB / 468.5 MB, free: 10.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3752, allocations: 0 / 468.5 MB, free: 10.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.3757, allocations: 244.6 kB / 468.7 MB, free: 10.01 MB / 442.7 MB 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 (38): * Single equations (assignments): 36 * 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.0003742/0.3761, allocations: 235.7 kB / 469 MB, free: 9.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003873/0.3764, allocations: 336.3 kB / 469.3 MB, free: 9.891 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/0.3765, allocations: 17.16 kB / 469.3 MB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.3768, allocations: 322.4 kB / 469.6 MB, free: 9.754 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.3782, allocations: 1.837 MB / 471.5 MB, free: 8.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/0.3854, allocations: 1.143 MB / 472.6 MB, free: 7.449 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.3855, allocations: 167.7 kB / 472.8 MB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.3859, allocations: 320.7 kB / 473.1 MB, free: 7.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/0.3864, allocations: 315.4 kB / 473.4 MB, free: 7.277 MB / 442.7 MB Notification: Performance of SimCode: time 7.42e-07/0.3864, allocations: 0 / 473.4 MB, free: 7.277 MB / 442.7 MB Notification: Performance of Templates: time 0.01635/0.4027, allocations: 16.44 MB / 489.8 MB, free: 4.828 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.571147042326629]