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.001357/0.001357, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001597/0.001597, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.489/1.489, allocations: 230.2 MB / 257.8 MB, free: 8.48 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.23/0.23, allocations: 46.9 MB / 361.1 MB, free: 4.617 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.002288/0.002288, allocations: 75.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.396, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2288/0.6248, allocations: 178.1 MB / 0.7351 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4158/1.041, allocations: 5.366 MB / 0.7403 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/1.041, allocations: 21.31 kB / 0.7404 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/1.042, allocations: 327.8 kB / 0.7407 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004031/1.046, allocations: 1.267 MB / 0.7419 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/1.05, allocations: 0.9747 MB / 0.7429 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003277/1.053, allocations: 1.863 MB / 0.7447 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/1.054, allocations: 400.8 kB / 0.7451 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/1.056, allocations: 1.094 MB / 0.7461 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/1.057, allocations: 0.7016 MB / 0.7468 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/1.057, allocations: 61.31 kB / 0.7469 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/1.059, allocations: 0.639 MB / 0.7475 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/1.06, allocations: 268.7 kB / 0.7478 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005086/1.06, allocations: 398.1 kB / 0.7481 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/1.062, allocations: 1.308 MB / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.062, allocations: 2.859 kB / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/1.062, allocations: 0.8438 kB / 0.7494 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.062, allocations: 0 / 0.7494 GB, free: 1.59 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.002499/1.065, allocations: 1.123 MB / 0.7505 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.065, allocations: 17.02 kB / 0.7505 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/1.065, allocations: 131.2 kB / 0.7507 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000931/1.066, allocations: 0.54 MB / 0.7512 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/1.066, allocations: 108 kB / 0.7513 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/1.067, allocations: 47.11 kB / 0.7513 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.068, allocations: 0.8218 MB / 0.7521 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/1.068, allocations: 1.969 kB / 0.7521 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.469e-05/1.068, allocations: 21.16 kB / 0.7522 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/1.068, allocations: 45.3 kB / 0.7522 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/1.069, allocations: 0.6186 MB / 0.7528 GB, free: 16.37 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.004861/1.074, allocations: 3.941 MB / 0.7567 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/1.074, allocations: 339.5 kB / 0.757 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/1.074, allocations: 157.9 kB / 0.7571 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/1.075, allocations: 96.2 kB / 0.7572 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.075, allocations: 41.41 kB / 0.7573 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/1.075, allocations: 0 / 0.7573 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.00586/1.08, allocations: 1.689 MB / 0.7589 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.081, allocations: 136.8 kB / 0.759 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/1.081, allocations: 0.6142 MB / 0.7596 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/1.081, allocations: 30.08 kB / 0.7597 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/1.082, allocations: 375.1 kB / 0.76 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/1.082, allocations: 154.4 kB / 0.7602 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/1.082, allocations: 154.3 kB / 0.7603 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002142/1.082, allocations: 375 kB / 0.7607 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/1.083, allocations: 204.2 kB / 0.7609 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/1.083, allocations: 0.5183 MB / 0.7614 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/1.084, allocations: 0.7462 MB / 0.7621 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.084, allocations: 3.172 kB / 0.7621 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/1.086, allocations: 0.8816 MB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.086, allocations: 13.75 kB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.086, allocations: 10.25 kB / 0.763 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/1.087, allocations: 310.7 kB / 0.7633 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/1.087, allocations: 127.5 kB / 0.7634 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/1.089, allocations: 0.9334 MB / 0.7643 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/1.089, allocations: 31.66 kB / 0.7644 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/1.089, allocations: 69.52 kB / 0.7644 GB, free: 10.75 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.0005041/1.09, allocations: 249 kB / 0.7647 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.09, allocations: 70.36 kB / 0.7647 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.092, allocations: 0.8621 MB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.092, allocations: 6.688 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.092, allocations: 0.9375 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.092, allocations: 3 kB / 0.7656 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.094, allocations: 1.467 MB / 0.767 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.094, allocations: 0.8438 kB / 0.767 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.095, allocations: 216.4 kB / 0.7672 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/1.095, allocations: 21.31 kB / 0.7672 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/1.095, allocations: 22.81 kB / 0.7673 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/1.098, allocations: 2.871 MB / 0.7701 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.098, allocations: 3.531 kB / 0.7701 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.099, allocations: 0.8224 MB / 0.7709 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/1.1, allocations: 191.6 kB / 0.7711 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.1, allocations: 9.781 kB / 0.7711 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/1.1, allocations: 21.77 kB / 0.7711 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.1, allocations: 45.05 kB / 0.7711 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/1.1, allocations: 47.92 kB / 0.7712 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007302/1.101, allocations: 441.3 kB / 0.7716 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 0.7716 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001214/1.102, allocations: 253.5 kB / 0.7718 GB, free: 6.605 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.001047/1.103, allocations: 296.2 kB / 0.7721 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.105, allocations: 0.545 MB / 0.7727 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.105, allocations: 4.828 kB / 0.7727 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.106, allocations: 404 kB / 0.773 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/1.108, allocations: 370 kB / 0.7734 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.111, allocations: 1.35 MB / 0.7747 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/1.111, allocations: 0.9295 MB / 0.7756 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001279/1.113, allocations: 466.1 kB / 0.7761 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/1.113, allocations: 113 kB / 0.7762 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of SimCode: time 1.453e-06/1.113, allocations: 6.125 kB / 0.7762 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of Templates: time 0.03701/1.15, allocations: 17.94 MB / 0.7937 GB, free: 0.5352 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.683300144970417]