Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 99.97 kB / 21.18 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 191.4 kB / 24.46 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2898, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4289/0.7187, allocations: 130.3 MB / 0.5411 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.7208, allocations: 1.424 MB / 0.5425 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.721, allocations: 2.344 kB / 0.5425 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.7214, allocations: 53.36 kB / 0.5425 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.7219, allocations: 156.8 kB / 0.5427 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.7246, allocations: 1.046 MB / 0.5437 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.7251, allocations: 328.4 kB / 0.544 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.7251, allocations: 11.62 kB / 0.544 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.7254, allocations: 152.3 kB / 0.5442 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.7256, allocations: 128.2 kB / 0.5443 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.7256, allocations: 14.41 kB / 0.5443 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.7278, allocations: 1.322 MB / 0.5456 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.7279, allocations: 72.84 kB / 0.5457 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.728, allocations: 85.53 kB / 0.5458 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.7293, allocations: 0.9452 MB / 0.5467 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7293, allocations: 4.031 kB / 0.5467 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7293, allocations: 0 / 0.5467 GB, free: 1.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.7293, allocations: 0 / 0.5467 GB, free: 1.199 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001709/0.731, allocations: 0.6044 MB / 0.5473 GB, free: 16.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.7311, allocations: 10.81 kB / 0.5473 GB, free: 16.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7312, allocations: 21.06 kB / 0.5473 GB, free: 16.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.7315, allocations: 165.7 kB / 0.5475 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7315, allocations: 16.17 kB / 0.5475 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.7315, allocations: 17.58 kB / 0.5475 GB, free: 16.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.7321, allocations: 363.7 kB / 0.5478 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7321, allocations: 2.875 kB / 0.5478 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.7321, allocations: 9.219 kB / 0.5479 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.7321, allocations: 5.781 kB / 0.5479 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.7327, allocations: 264.2 kB / 0.5481 GB, free: 16.49 MB / 462.1 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.001329/0.734, allocations: 0.6147 MB / 0.5487 GB, free: 16.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.7346, allocations: 209.1 kB / 0.5489 GB, free: 16.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.7349, allocations: 129.5 kB / 0.549 GB, free: 16.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.735, allocations: 48.72 kB / 0.5491 GB, free: 16.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.7351, allocations: 40.22 kB / 0.5491 GB, free: 16.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.993e-06/0.7351, allocations: 5.047 kB / 0.5491 GB, free: 16.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002264/0.7373, allocations: 0.6752 MB / 0.5498 GB, free: 15.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.7374, allocations: 83.72 kB / 0.5499 GB, free: 15.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7375, allocations: 123.6 kB / 0.55 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.7376, allocations: 33.08 kB / 0.55 GB, free: 15.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.7376, allocations: 107.8 kB / 0.5501 GB, free: 15.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.7377, allocations: 130.7 kB / 0.5502 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.7378, allocations: 63.72 kB / 0.5503 GB, free: 15.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.738, allocations: 327.3 kB / 0.5506 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.7383, allocations: 140.7 kB / 0.5508 GB, free: 15.22 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.7387, allocations: 204.1 kB / 0.5509 GB, free: 15.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.7394, allocations: 362.8 kB / 0.5513 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7394, allocations: 4 kB / 0.5513 GB, free: 15.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008696/0.7403, allocations: 411.4 kB / 0.5517 GB, free: 15.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7403, allocations: 9.156 kB / 0.5517 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7403, allocations: 0 / 0.5517 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7403, allocations: 7.406 kB / 0.5517 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.7408, allocations: 88.67 kB / 0.5518 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.7408, allocations: 5.375 kB / 0.5518 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.7411, allocations: 31.77 kB / 0.5518 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.7412, allocations: 14.28 kB / 0.5518 GB, free: 15 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.7413, allocations: 145.3 kB / 0.552 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.7414, allocations: 22.02 kB / 0.552 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.7417, allocations: 173.6 kB / 0.5522 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7417, allocations: 6.125 kB / 0.5522 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7417, allocations: 4.094 kB / 0.5522 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7417, allocations: 3.719 kB / 0.5522 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.7433, allocations: 0.6571 MB / 0.5528 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7433, allocations: 0 / 0.5528 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.7437, allocations: 82.19 kB / 0.5529 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.7437, allocations: 14.45 kB / 0.5529 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.7437, allocations: 9.906 kB / 0.5529 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.7437, allocations: 2.625 kB / 0.5529 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7437, allocations: 6.875 kB / 0.5529 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.745, allocations: 0.7121 MB / 0.5536 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7451, allocations: 41 kB / 0.5537 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.7451, allocations: 10.75 kB / 0.5537 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.7455, allocations: 24.22 kB / 0.5537 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.7455, allocations: 32.66 kB / 0.5537 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.7455, allocations: 11.8 kB / 0.5537 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.742e-05/0.7456, allocations: 97.22 kB / 0.5538 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7456, allocations: 1.203 kB / 0.5538 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.7462, allocations: 139.4 kB / 0.554 GB, free: 14.14 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004214/0.7466, allocations: 224.2 kB / 0.5542 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000807/0.7474, allocations: 343.8 kB / 0.5545 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7474, allocations: 0 / 0.5545 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.7478, allocations: 174.8 kB / 0.5547 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.7485, allocations: 97.22 kB / 0.5548 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.7498, allocations: 0.6395 MB / 0.5554 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.75, allocations: 130.7 kB / 0.5555 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.7501, allocations: 42.56 kB / 0.5556 GB, free: 13.54 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.7501, allocations: 0 / 0.5556 GB, free: 13.54 MB / 462.1 MB Notification: Performance of Templates: time 0.006318/0.7564, allocations: 4.482 MB / 0.5599 GB, free: 13.12 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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: 8.213746313005686]