Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005518/0.005518, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.93 MB / 362.3 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 75.86 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3647, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2192/0.584, allocations: 178.1 MB / 0.7367 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.417/1.001, allocations: 5.365 MB / 0.7419 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/1.002, allocations: 28.25 kB / 0.7419 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/1.003, allocations: 324 kB / 0.7422 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003693/1.006, allocations: 1.292 MB / 0.7435 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/1.009, allocations: 0.989 MB / 0.7445 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002463/1.012, allocations: 1.88 MB / 0.7463 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/1.012, allocations: 393.4 kB / 0.7467 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/1.015, allocations: 1.112 MB / 0.7478 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/1.016, allocations: 0.7064 MB / 0.7484 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/1.016, allocations: 61.59 kB / 0.7485 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/1.017, allocations: 0.6451 MB / 0.7491 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/1.018, allocations: 266.6 kB / 0.7494 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/1.018, allocations: 398.4 kB / 0.7498 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/1.02, allocations: 1.304 MB / 0.751 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.02, allocations: 2.781 kB / 0.751 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/1.02, allocations: 0.9375 kB / 0.751 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.02, allocations: 0 / 0.751 GB, free: 1.574 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.002311/1.022, allocations: 1.052 MB / 0.7521 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.022, allocations: 7 kB / 0.7521 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/1.023, allocations: 148.2 kB / 0.7522 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/1.024, allocations: 474 kB / 0.7527 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.024, allocations: 102.2 kB / 0.7528 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/1.024, allocations: 49.25 kB / 0.7528 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.025, allocations: 0.8172 MB / 0.7536 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/1.025, allocations: 6.844 kB / 0.7536 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/1.025, allocations: 24.23 kB / 0.7536 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/1.025, allocations: 41.31 kB / 0.7537 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009005/1.026, allocations: 0.6192 MB / 0.7543 GB, free: 16.52 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.004437/1.031, allocations: 3.887 MB / 0.7581 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/1.031, allocations: 340.6 kB / 0.7584 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/1.031, allocations: 162.1 kB / 0.7586 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/1.031, allocations: 13.91 kB / 0.7586 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.032, allocations: 45.02 kB / 0.7586 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/1.032, allocations: 1.062 kB / 0.7586 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005584/1.037, allocations: 1.608 MB / 0.7602 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.037, allocations: 132.8 kB / 0.7603 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/1.038, allocations: 0.6174 MB / 0.7609 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/1.038, allocations: 35.23 kB / 0.761 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/1.038, allocations: 376.5 kB / 0.7613 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/1.038, allocations: 153.7 kB / 0.7615 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.039, allocations: 157.6 kB / 0.7616 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.039, allocations: 372 kB / 0.762 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/1.039, allocations: 206.8 kB / 0.7622 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/1.04, allocations: 0.5113 MB / 0.7627 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009495/1.041, allocations: 0.7533 MB / 0.7634 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.041, allocations: 2.406 kB / 0.7634 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001382/1.042, allocations: 0.8801 MB / 0.7643 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.042, allocations: 15.56 kB / 0.7643 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.042, allocations: 8.688 kB / 0.7643 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.043, allocations: 321.2 kB / 0.7646 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/1.044, allocations: 120.4 kB / 0.7647 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.045, allocations: 0.9361 MB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/1.045, allocations: 29.78 kB / 0.7656 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/1.046, allocations: 60.75 kB / 0.7657 GB, free: 11.12 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.000394/1.046, allocations: 243.4 kB / 0.7659 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.046, allocations: 72.94 kB / 0.766 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/1.048, allocations: 0.8756 MB / 0.7669 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.048, allocations: 5.156 kB / 0.7669 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.048, allocations: 0.5625 kB / 0.7669 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.048, allocations: 3.969 kB / 0.7669 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.05, allocations: 1.204 MB / 0.768 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.05, allocations: 1.031 kB / 0.768 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/1.051, allocations: 211.4 kB / 0.7682 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/1.051, allocations: 22.92 kB / 0.7683 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/1.051, allocations: 23.25 kB / 0.7683 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/1.053, allocations: 2.676 MB / 0.7709 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.053, allocations: 2.344 kB / 0.7709 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/1.054, allocations: 0.8192 MB / 0.7717 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/1.055, allocations: 122.9 kB / 0.7718 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/1.055, allocations: 10.41 kB / 0.7718 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/1.055, allocations: 17.84 kB / 0.7719 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/1.055, allocations: 41.38 kB / 0.7719 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/1.055, allocations: 44.62 kB / 0.7719 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005228/1.056, allocations: 441.3 kB / 0.7724 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 0.7724 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009593/1.057, allocations: 254.9 kB / 0.7726 GB, free: 7.637 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.0006549/1.057, allocations: 285.5 kB / 0.7729 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.059, allocations: 0.5285 MB / 0.7734 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.059, allocations: 2.094 kB / 0.7734 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008961/1.059, allocations: 401.5 kB / 0.7738 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.061, allocations: 371.1 kB / 0.7741 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/1.063, allocations: 1.399 MB / 0.7755 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/1.064, allocations: 0.9268 MB / 0.7764 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.064, allocations: 125.6 kB / 0.7765 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.064, allocations: 1.031 kB / 0.7765 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.02408/1.088, allocations: 16.67 MB / 0.7928 GB, free: 1.945 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.16962522501126]