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.00156/0.00156, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001724/0.001724, allocations: 164.1 kB / 24.49 MB, free: 3.453 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.1 MB " [Timeout remaining time 178] 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.2165/0.2165, allocations: 34.27 MB / 295.5 MB, free: 14.63 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+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 0.002237/0.002237, allocations: 67.89 kB / 443.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2905, allocations: 66.02 MB / 0.4972 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4811/0.7716, allocations: 153.9 MB / 0.6475 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005961/0.7776, allocations: 4.911 MB / 0.6523 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.778, allocations: 27.72 kB / 0.6523 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.7788, allocations: 306 kB / 0.6526 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.7814, allocations: 1.297 MB / 0.6539 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.7835, allocations: 0.9854 MB / 0.6548 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.7855, allocations: 1.873 MB / 0.6567 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005043/0.786, allocations: 386.5 kB / 0.657 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.7879, allocations: 1.124 MB / 0.6581 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009022/0.7888, allocations: 0.6836 MB / 0.6588 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.7889, allocations: 60.06 kB / 0.6589 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.7901, allocations: 0.5482 MB / 0.6594 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.7903, allocations: 272.6 kB / 0.6597 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.7907, allocations: 338.7 kB / 0.66 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.792, allocations: 1.298 MB / 0.6613 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.792, allocations: 0 / 0.6613 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.913e-06/0.792, allocations: 5.031 kB / 0.6613 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.792, allocations: 0 / 0.6613 GB, free: 1.438 MB / 0.5294 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.002025/0.7941, allocations: 1.051 MB / 0.6623 GB, free: 16.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.7941, allocations: 9.406 kB / 0.6623 GB, free: 16.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008095/0.7949, allocations: 140.8 kB / 0.6624 GB, free: 16.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.7957, allocations: 482.9 kB / 0.6629 GB, free: 16.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.7959, allocations: 152 kB / 0.663 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.796, allocations: 56.09 kB / 0.6631 GB, free: 16.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.7973, allocations: 1.135 MB / 0.6642 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.7974, allocations: 6.781 kB / 0.6642 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.7974, allocations: 27.52 kB / 0.6642 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.7975, allocations: 42.81 kB / 0.6643 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008888/0.7984, allocations: 0.6153 MB / 0.6649 GB, free: 15.88 MB / 0.545 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.003974/0.8023, allocations: 3.212 MB / 0.668 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.8029, allocations: 342.4 kB / 0.6683 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.8031, allocations: 160.4 kB / 0.6685 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.119e-05/0.8032, allocations: 14.98 kB / 0.6685 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.8033, allocations: 46 kB / 0.6685 GB, free: 13.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.8033, allocations: 0 / 0.6685 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.005449/0.8087, allocations: 1.599 MB / 0.6701 GB, free: 13.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.8088, allocations: 133.3 kB / 0.6702 GB, free: 13.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.8094, allocations: 0.536 MB / 0.6708 GB, free: 13.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.8094, allocations: 34.98 kB / 0.6708 GB, free: 13.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.8096, allocations: 387.7 kB / 0.6712 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.8098, allocations: 151.5 kB / 0.6713 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.81, allocations: 158.1 kB / 0.6715 GB, free: 12.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8101, allocations: 374.4 kB / 0.6718 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.8105, allocations: 203.1 kB / 0.672 GB, free: 12.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.811, allocations: 0.59 MB / 0.6726 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009921/0.812, allocations: 0.753 MB / 0.6733 GB, free: 11.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.812, allocations: 2.594 kB / 0.6733 GB, free: 11.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001339/0.8134, allocations: 0.8654 MB / 0.6742 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.8134, allocations: 15.25 kB / 0.6742 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8134, allocations: 8.938 kB / 0.6742 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.8147, allocations: 311.9 kB / 0.6745 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.8151, allocations: 127.3 kB / 0.6746 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.8161, allocations: 0.9254 MB / 0.6755 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.8166, allocations: 29.98 kB / 0.6755 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.8166, allocations: 67.41 kB / 0.6756 GB, free: 11 MB / 0.545 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.0003132/0.817, allocations: 251.7 kB / 0.6758 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.8171, allocations: 64.61 kB / 0.6759 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.8185, allocations: 0.8626 MB / 0.6767 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8185, allocations: 6.375 kB / 0.6768 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8185, allocations: 0 / 0.6768 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8185, allocations: 2.953 kB / 0.6768 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.8202, allocations: 1.092 MB / 0.6778 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8202, allocations: 4.344 kB / 0.6778 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/0.8212, allocations: 204.2 kB / 0.678 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.8213, allocations: 27.97 kB / 0.678 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.8213, allocations: 24.81 kB / 0.6781 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.8236, allocations: 2.629 MB / 0.6806 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8236, allocations: 2.531 kB / 0.6806 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8246, allocations: 0.8133 MB / 0.6814 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.8249, allocations: 105.8 kB / 0.6815 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.825, allocations: 15.23 kB / 0.6815 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.8253, allocations: 15.84 kB / 0.6816 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.8254, allocations: 44.72 kB / 0.6816 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.8255, allocations: 46.14 kB / 0.6817 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003645/0.8258, allocations: 357.6 kB / 0.682 GB, free: 7.621 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8258, allocations: 2.969 kB / 0.682 GB, free: 7.621 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000881/0.8267, allocations: 247.8 kB / 0.6822 GB, free: 7.609 MB / 0.545 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.0006202/0.8273, allocations: 286.2 kB / 0.6825 GB, free: 7.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.8284, allocations: 0.5322 MB / 0.683 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8284, allocations: 6.484 kB / 0.683 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000939/0.8294, allocations: 406 kB / 0.6834 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.8307, allocations: 305.5 kB / 0.6837 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.8326, allocations: 1.336 MB / 0.685 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8329, allocations: 335.5 kB / 0.6853 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008811/0.8338, allocations: 455.4 kB / 0.6858 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.8341, allocations: 111.7 kB / 0.6859 GB, free: 6.641 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.8341, allocations: 0 / 0.6859 GB, free: 6.641 MB / 0.545 GB Notification: Performance of Templates: time 0.02354/0.8577, allocations: 15.74 MB / 0.7012 GB, free: 2.344 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 5.9815809790743515]