Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001955/0.001955, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.002208/0.002208, allocations: 217.2 kB / 23 MB, free: 5.609 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.431/1.431, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2394, allocations: 53.31 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03662/0.276, allocations: 26.87 MB / 456.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.2793, allocations: 2.255 MB / 458.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2795, allocations: 3.938 kB / 458.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.2798, allocations: 63.64 kB / 459 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.2803, allocations: 171 kB / 459.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0171/0.2974, allocations: 6.551 MB / 465.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.298, allocations: 338.6 kB / 466 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.298, allocations: 17.55 kB / 466 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.2983, allocations: 139.6 kB / 466.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.2986, allocations: 143.4 kB / 466.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2986, allocations: 12 kB / 466.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01792/0.3166, allocations: 9.647 MB / 476 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3167, allocations: 63.86 kB / 476 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.3169, allocations: 107.5 kB / 476.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.3276, allocations: 4.74 MB / 480.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3276, allocations: 0 / 480.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3276, allocations: 0 / 480.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3276, allocations: 0 / 480.9 MB, free: 4.32 MB / 382.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.003609/0.3312, allocations: 1.185 MB / 482.1 MB, free: 3.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3312, allocations: 12.03 kB / 482.1 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.3314, allocations: 28.22 kB / 482.1 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3318, allocations: 225.5 kB / 482.3 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3318, allocations: 8.328 kB / 482.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.3318, allocations: 20 kB / 482.4 MB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008017/0.3327, allocations: 281.5 kB / 482.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3327, allocations: 0 / 482.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3327, allocations: 16 kB / 482.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.3327, allocations: 15.86 kB / 482.7 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.3336, allocations: 303.8 kB / 483 MB, free: 2.141 MB / 382.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.001605/0.3352, allocations: 0.8245 MB / 483.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.336, allocations: 245.1 kB / 484 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.3363, allocations: 133.6 kB / 484.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01787/0.3542, allocations: 12.83 MB / 497 MB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.3542, allocations: 42.56 kB / 497 MB, free: 1.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.3542, allocations: 0 / 497 MB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003064/0.3573, allocations: 0.7025 MB / 497.7 MB, free: 0.7422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.3573, allocations: 81.11 kB / 497.8 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3575, allocations: 152.6 kB / 498 MB, free: 500 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.3575, allocations: 33.7 kB / 498 MB, free: 460 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.3576, allocations: 116.9 kB / 498.1 MB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3577, allocations: 126.9 kB / 498.2 MB, free: 212 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3578, allocations: 73.62 kB / 498.3 MB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.358, allocations: 334.7 kB / 498.6 MB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.3584, allocations: 139.9 kB / 498.8 MB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.3589, allocations: 207.6 kB / 499 MB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009627/0.3599, allocations: 363 kB / 499.3 MB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3599, allocations: 0 / 499.3 MB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001224/0.3611, allocations: 428.5 kB / 499.7 MB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.3611, allocations: 4 kB / 499.7 MB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3611, allocations: 4 kB / 499.7 MB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3612, allocations: 7.938 kB / 499.8 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.3617, allocations: 92.03 kB / 499.8 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3617, allocations: 4 kB / 499.8 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.362, allocations: 31.88 kB / 499.9 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.362, allocations: 15.98 kB / 499.9 MB, free: 14.47 MB / 414.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.0001629/0.3622, allocations: 141.8 kB / 0.4883 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3623, allocations: 23.91 kB / 0.4883 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3629, allocations: 201.6 kB / 0.4885 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3629, allocations: 7.984 kB / 0.4885 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3629, allocations: 0 / 0.4885 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3629, allocations: 0 / 0.4885 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.3647, allocations: 0.793 MB / 0.4893 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3647, allocations: 4 kB / 0.4893 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.3652, allocations: 71.89 kB / 0.4894 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3652, allocations: 4 kB / 0.4894 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3652, allocations: 15.98 kB / 0.4894 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3652, allocations: 4 kB / 0.4894 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3652, allocations: 0 / 0.4894 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3668, allocations: 0.726 MB / 0.4901 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.367, allocations: 128.9 kB / 0.4902 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.367, allocations: 11.98 kB / 0.4902 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3674, allocations: 24.05 kB / 0.4903 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.3675, allocations: 23.91 kB / 0.4903 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.3675, allocations: 19.98 kB / 0.4903 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.462e-05/0.3676, allocations: 107.3 kB / 0.4904 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3676, allocations: 0 / 0.4904 GB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002523/0.3701, allocations: 0.9589 MB / 0.4913 GB, free: 11.08 MB / 414.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 (37): * Single equations (assignments): 37 * 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.003908/0.374, allocations: 1.276 MB / 0.4926 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3751, allocations: 323.7 kB / 0.4929 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3751, allocations: 4 kB / 0.4929 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.3756, allocations: 176.5 kB / 0.4931 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.3763, allocations: 102.5 kB / 0.4932 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3778, allocations: 0.6205 MB / 0.4938 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3782, allocations: 0.749 MB / 0.4945 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.3785, allocations: 86.17 kB / 0.4946 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3787, allocations: 39.41 kB / 0.4946 GB, free: 7.645 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3787, allocations: 0 / 0.4946 GB, free: 7.645 MB / 414.1 MB Notification: Performance of Templates: time 0.04327/0.4219, allocations: 30.06 MB / 0.524 GB, free: 9.594 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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: 6.273415356874466]