Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.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.001874/0.001874, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002204/0.002204, allocations: 215 kB / 24.49 MB, free: 3.934 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.208, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3599/0.5679, allocations: 133.3 MB / 0.5523 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.5693, allocations: 1.438 MB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.5693, allocations: 2 kB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.5696, allocations: 61.62 kB / 0.5538 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.5699, allocations: 169.3 kB / 0.554 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.5722, allocations: 1.05 MB / 0.555 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.5725, allocations: 359.2 kB / 0.5553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.5725, allocations: 5.875 kB / 0.5553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.5728, allocations: 165.8 kB / 0.5555 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.573, allocations: 142.7 kB / 0.5556 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.573, allocations: 12.84 kB / 0.5556 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.5747, allocations: 1.411 MB / 0.557 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.5748, allocations: 74.41 kB / 0.5571 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.5749, allocations: 91.59 kB / 0.5572 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.576, allocations: 0.9928 MB / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.576, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.576, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.576, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.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.001791/0.5778, allocations: 0.6329 MB / 0.5588 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.5778, allocations: 8.188 kB / 0.5588 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.578, allocations: 24.81 kB / 0.5588 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.5783, allocations: 165.9 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5783, allocations: 14.02 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.5783, allocations: 20.86 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.5789, allocations: 367.2 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.579, allocations: 0 / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.579, allocations: 11.03 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.579, allocations: 5.594 kB / 0.5594 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.5796, allocations: 264.2 kB / 0.5596 GB, free: 14.86 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.001338/0.581, allocations: 0.6151 MB / 0.5602 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.5816, allocations: 218 kB / 0.5604 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.5819, allocations: 126.4 kB / 0.5605 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.5821, allocations: 53.66 kB / 0.5606 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5821, allocations: 39.3 kB / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.5821, allocations: 0 / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002482/0.5846, allocations: 0.6956 MB / 0.5613 GB, free: 14.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5846, allocations: 84.33 kB / 0.5614 GB, free: 14.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5847, allocations: 137.2 kB / 0.5615 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.5848, allocations: 32.58 kB / 0.5615 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.5848, allocations: 112 kB / 0.5617 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.585, allocations: 137.3 kB / 0.5618 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5851, allocations: 67.09 kB / 0.5618 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5852, allocations: 329.6 kB / 0.5622 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.5856, allocations: 136.5 kB / 0.5623 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.586, allocations: 205.1 kB / 0.5625 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.5867, allocations: 362.1 kB / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5867, allocations: 0 / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008925/0.5876, allocations: 417.7 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5876, allocations: 5.375 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5876, allocations: 11.5 kB / 0.5632 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5876, allocations: 2.5 kB / 0.5633 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.5882, allocations: 88.8 kB / 0.5633 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5882, allocations: 5.484 kB / 0.5633 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.5885, allocations: 29.33 kB / 0.5634 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.5885, allocations: 14.09 kB / 0.5634 GB, free: 13.34 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.0001577/0.5887, allocations: 148.4 kB / 0.5635 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.5888, allocations: 20.53 kB / 0.5635 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.5891, allocations: 177.7 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5891, allocations: 2.672 kB / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5891, allocations: 0 / 0.5637 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.5893, allocations: 47.31 kB / 0.5638 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.5893, allocations: 9.438 kB / 0.5638 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.5897, allocations: 20.83 kB / 0.5638 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.5898, allocations: 29.62 kB / 0.5638 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.591, allocations: 0.5424 MB / 0.5643 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001393/0.5924, allocations: 0.8019 MB / 0.5651 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003624/0.5927, allocations: 146.6 kB / 0.5653 GB, free: 12.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.665e-05/0.5928, allocations: 106 kB / 0.5654 GB, free: 12.57 MB / 462.1 MB Notification: Performance of Backend: time 1.9e-07/0.5928, allocations: 0 / 0.5654 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5946, allocations: 0.6371 MB / 0.566 GB, free: 12.43 MB / 462.1 MB Notification: Performance of SimCode: time 0.001036/0.5956, allocations: 0.9459 MB / 0.5669 GB, free: 11.66 MB / 462.1 MB Notification: Performance of Templates: time 0.01417/0.6098, allocations: 10.43 MB / 0.5771 GB, free: 9.301 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.153504179004813]