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.00197/0.00197, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002583/0.002583, allocations: 210.5 kB / 23.74 MB, free: 4.66 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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.234/0.234, allocations: 46.94 MB / 360.9 MB, free: 4.23 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.002404/0.002404, allocations: 71.83 kB / 0.4967 GB, free: 7.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3988, allocations: 66.03 MB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2282/0.627, allocations: 178.1 MB / 0.7351 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4645/1.092, allocations: 5.363 MB / 0.7403 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007667/1.092, allocations: 31.53 kB / 0.7403 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/1.093, allocations: 317 kB / 0.7406 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/1.098, allocations: 1.298 MB / 0.7419 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/1.101, allocations: 0.986 MB / 0.7429 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003012/1.104, allocations: 1.874 MB / 0.7447 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/1.104, allocations: 395.1 kB / 0.7451 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/1.107, allocations: 1.124 MB / 0.7462 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/1.108, allocations: 0.7028 MB / 0.7468 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/1.108, allocations: 59.78 kB / 0.7469 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/1.11, allocations: 0.6433 MB / 0.7475 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/1.11, allocations: 265.2 kB / 0.7478 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004392/1.111, allocations: 399.2 kB / 0.7482 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/1.113, allocations: 1.307 MB / 0.7494 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.113, allocations: 0.9375 kB / 0.7494 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/1.113, allocations: 0 / 0.7494 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.113, allocations: 0.9375 kB / 0.7494 GB, free: 1.598 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.002604/1.115, allocations: 1.053 MB / 0.7505 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.115, allocations: 7.75 kB / 0.7505 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/1.116, allocations: 141.2 kB / 0.7506 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009242/1.117, allocations: 479.7 kB / 0.7511 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.117, allocations: 155.5 kB / 0.7512 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/1.117, allocations: 53.09 kB / 0.7513 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/1.118, allocations: 0.8134 MB / 0.7521 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.118, allocations: 6.406 kB / 0.7521 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/1.119, allocations: 24.98 kB / 0.7521 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.015e-05/1.119, allocations: 37.31 kB / 0.7521 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.12, allocations: 0.6229 MB / 0.7527 GB, free: 16.47 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.005255/1.125, allocations: 3.885 MB / 0.7565 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/1.125, allocations: 340.8 kB / 0.7569 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/1.126, allocations: 161.2 kB / 0.757 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/1.126, allocations: 16.22 kB / 0.757 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/1.126, allocations: 42.53 kB / 0.7571 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/1.126, allocations: 0 / 0.7571 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005434/1.131, allocations: 1.613 MB / 0.7586 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.131, allocations: 131.9 kB / 0.7588 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/1.132, allocations: 0.6094 MB / 0.7594 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/1.132, allocations: 38.36 kB / 0.7594 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/1.132, allocations: 373.8 kB / 0.7598 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.133, allocations: 150 kB / 0.7599 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.133, allocations: 160.2 kB / 0.76 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.133, allocations: 375.6 kB / 0.7604 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/1.133, allocations: 206.9 kB / 0.7606 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/1.134, allocations: 0.5111 MB / 0.7611 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.135, allocations: 0.7566 MB / 0.7618 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.135, allocations: 3.594 kB / 0.7618 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001362/1.136, allocations: 0.8783 MB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.136, allocations: 8.562 kB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.136, allocations: 12 kB / 0.7627 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/1.138, allocations: 320.3 kB / 0.763 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/1.138, allocations: 123 kB / 0.7631 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/1.139, allocations: 0.9355 MB / 0.7641 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/1.14, allocations: 31.45 kB / 0.7641 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/1.14, allocations: 62.17 kB / 0.7641 GB, free: 11.09 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.0004104/1.14, allocations: 245 kB / 0.7644 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.141, allocations: 75.86 kB / 0.7645 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.142, allocations: 0.8729 MB / 0.7653 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.142, allocations: 2.094 kB / 0.7653 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.142, allocations: 0.9688 kB / 0.7653 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.142, allocations: 2.953 kB / 0.7653 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/1.144, allocations: 1.206 MB / 0.7665 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.144, allocations: 3.062 kB / 0.7665 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.145, allocations: 207.7 kB / 0.7667 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/1.145, allocations: 29.02 kB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/1.145, allocations: 27.88 kB / 0.7667 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/1.148, allocations: 2.665 MB / 0.7693 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.148, allocations: 4.094 kB / 0.7694 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/1.149, allocations: 0.8179 MB / 0.7702 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/1.149, allocations: 115.8 kB / 0.7703 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/1.149, allocations: 17.33 kB / 0.7703 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/1.15, allocations: 16.98 kB / 0.7703 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/1.15, allocations: 40.62 kB / 0.7703 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/1.15, allocations: 43.27 kB / 0.7704 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005318/1.15, allocations: 441.4 kB / 0.7708 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.15, allocations: 2.406 kB / 0.7708 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001032/1.152, allocations: 257.7 kB / 0.771 GB, free: 7.602 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.0006938/1.152, allocations: 283 kB / 0.7713 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.154, allocations: 0.5351 MB / 0.7718 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.154, allocations: 0 / 0.7718 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.155, allocations: 407 kB / 0.7722 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.156, allocations: 380.8 kB / 0.7726 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/1.159, allocations: 1.366 MB / 0.7739 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/1.16, allocations: 0.9287 MB / 0.7748 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001042/1.161, allocations: 459.9 kB / 0.7753 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.161, allocations: 110.9 kB / 0.7754 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/1.161, allocations: 0 / 0.7754 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of Templates: time 0.03252/1.193, allocations: 18.1 MB / 0.793 GB, free: 1.445 MB / 0.5762 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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: 6.810158062027767]