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.001768/0.001768, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002166/0.002166, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001617/0.001617, allocations: 47.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09748, allocations: 53.33 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3655/0.463, allocations: 154.9 MB / 0.5681 GB, free: 5.238 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4649, allocations: 1.612 MB / 0.5696 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.465, allocations: 4 kB / 0.5696 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.4653, allocations: 67.64 kB / 0.5697 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.4657, allocations: 171 kB / 0.5699 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.4686, allocations: 1.036 MB / 0.5709 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.4691, allocations: 350.6 kB / 0.5712 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.4691, allocations: 5.562 kB / 0.5712 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.4694, allocations: 171.4 kB / 0.5714 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.4696, allocations: 135.5 kB / 0.5715 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.4697, allocations: 12 kB / 0.5715 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.4726, allocations: 1.673 MB / 0.5732 GB, free: 16 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4727, allocations: 75.83 kB / 0.5732 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.4728, allocations: 95.59 kB / 0.5733 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4745, allocations: 1.042 MB / 0.5743 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4745, allocations: 4 kB / 0.5743 GB, free: 14.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4745, allocations: 0 / 0.5743 GB, free: 14.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.4745, allocations: 0 / 0.5743 GB, free: 14.8 MB / 494.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.001799/0.4763, allocations: 0.7004 MB / 0.575 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4763, allocations: 12.03 kB / 0.575 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4765, allocations: 28.83 kB / 0.5751 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.4768, allocations: 223.3 kB / 0.5753 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4768, allocations: 8.328 kB / 0.5753 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.4768, allocations: 19.95 kB / 0.5753 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.4775, allocations: 261.4 kB / 0.5756 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4775, allocations: 0 / 0.5756 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.4775, allocations: 8 kB / 0.5756 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.4775, allocations: 15.98 kB / 0.5756 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.4782, allocations: 263.7 kB / 0.5758 GB, free: 13.18 MB / 494.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.001541/0.4798, allocations: 0.7894 MB / 0.5766 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.4805, allocations: 217 kB / 0.5768 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.4808, allocations: 137.6 kB / 0.5769 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/0.4812, allocations: 352.4 kB / 0.5773 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4812, allocations: 34.55 kB / 0.5773 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.4812, allocations: 0 / 0.5773 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002708/0.4839, allocations: 0.6866 MB / 0.578 GB, free: 10.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.484, allocations: 81.11 kB / 0.5781 GB, free: 10.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4841, allocations: 144.6 kB / 0.5782 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.4842, allocations: 33.7 kB / 0.5782 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.4843, allocations: 116.9 kB / 0.5783 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4844, allocations: 130.8 kB / 0.5785 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4845, allocations: 69.64 kB / 0.5785 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4847, allocations: 326.8 kB / 0.5788 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.4851, allocations: 131.9 kB / 0.579 GB, free: 9.723 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.4856, allocations: 211.5 kB / 0.5792 GB, free: 9.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.4866, allocations: 368.2 kB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4866, allocations: 0 / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001132/0.4877, allocations: 416.3 kB / 0.5799 GB, free: 8.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4877, allocations: 4 kB / 0.5799 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4877, allocations: 4 kB / 0.5799 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4878, allocations: 4 kB / 0.5799 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.4883, allocations: 87.88 kB / 0.58 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4883, allocations: 4 kB / 0.58 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.4886, allocations: 24.62 kB / 0.58 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.4887, allocations: 25.48 kB / 0.5801 GB, free: 8.547 MB / 494.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.0001934/0.4889, allocations: 149.6 kB / 0.5802 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.489, allocations: 19.91 kB / 0.5802 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.4894, allocations: 166.8 kB / 0.5804 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4894, allocations: 8 kB / 0.5804 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4894, allocations: 0 / 0.5804 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4894, allocations: 7.922 kB / 0.5804 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.4913, allocations: 0.7826 MB / 0.5812 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4913, allocations: 0 / 0.5812 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.4918, allocations: 88.03 kB / 0.5812 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4918, allocations: 0 / 0.5812 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.4918, allocations: 12 kB / 0.5813 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4918, allocations: 3.984 kB / 0.5813 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4918, allocations: 4 kB / 0.5813 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.4935, allocations: 0.7167 MB / 0.582 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4936, allocations: 128.9 kB / 0.5821 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.4936, allocations: 8 kB / 0.5821 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.494, allocations: 23.91 kB / 0.5821 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.4941, allocations: 27.91 kB / 0.5821 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.4941, allocations: 24.05 kB / 0.5822 GB, free: 6.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.4942, allocations: 99.27 kB / 0.5823 GB, free: 6.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4942, allocations: 0 / 0.5823 GB, free: 6.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.4948, allocations: 159.6 kB / 0.5824 GB, free: 5.996 MB / 494.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.0005006/0.4953, allocations: 236.2 kB / 0.5826 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.4963, allocations: 327.9 kB / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4963, allocations: 7.938 kB / 0.583 GB, free: 5.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.4968, allocations: 168.5 kB / 0.5831 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.4976, allocations: 105.9 kB / 0.5832 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.4992, allocations: 0.6375 MB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.4996, allocations: 0.7491 MB / 0.5846 GB, free: 3.719 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.4999, allocations: 70.25 kB / 0.5846 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5, allocations: 35.42 kB / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5, allocations: 0 / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of Templates: time 0.01219/0.5122, allocations: 6.409 MB / 0.5909 GB, free: 13.27 MB / 0.4981 GB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 4.96519011631608]