Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.0007375/0.0007375, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001837, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007037/0.0007037, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.001617, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.8981/0.8981, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07545/0.9735, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.373e-05, allocations: 5.125 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2577/0.2577, allocations: 147.3 MB / 392.5 MB, free: 4.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.2591, allocations: 1.605 MB / 394.1 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.2592, allocations: 3.938 kB / 394.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2594, allocations: 59.66 kB / 394.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.2597, allocations: 175.8 kB / 394.3 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.2616, allocations: 1.018 MB / 395.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.2621, allocations: 362.5 kB / 395.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.2622, allocations: 10.47 kB / 395.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.2624, allocations: 223.3 kB / 395.9 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2626, allocations: 111.7 kB / 396 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.2626, allocations: 16 kB / 396 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.2644, allocations: 1.438 MB / 397.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.2645, allocations: 59.83 kB / 397.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.2645, allocations: 67.88 kB / 397.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2657, allocations: 0.9039 MB / 398.5 MB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.2657, allocations: 3.938 kB / 398.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2657, allocations: 0 / 398.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2657, allocations: 0 / 398.5 MB, free: 14.66 MB / 378.7 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.001053/0.2667, allocations: 0.7931 MB / 399.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.2668, allocations: 8.625 kB / 399.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2669, allocations: 36.84 kB / 399.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.267, allocations: 154.3 kB / 399.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2671, allocations: 16.27 kB / 399.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.2671, allocations: 25.25 kB / 399.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2674, allocations: 307.7 kB / 399.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2674, allocations: 0 / 399.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.2674, allocations: 8 kB / 399.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.2674, allocations: 4 kB / 399.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2676, allocations: 111.2 kB / 400 MB, free: 13.11 MB / 378.7 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.0006688/0.2682, allocations: 0.5025 MB / 400.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.2685, allocations: 145 kB / 400.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.2685, allocations: 66.11 kB / 400.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.2686, allocations: 51.95 kB / 400.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2687, allocations: 43.94 kB / 400.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2687, allocations: 0 / 400.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006773/0.2693, allocations: 374.4 kB / 401.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.2694, allocations: 85.05 kB / 401.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.544e-05/0.2694, allocations: 145.4 kB / 401.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.2695, allocations: 33.7 kB / 401.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.2695, allocations: 112.9 kB / 401.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.2696, allocations: 130.8 kB / 401.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.2696, allocations: 73.64 kB / 401.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.2697, allocations: 330.8 kB / 402 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.676e-05/0.2698, allocations: 58.81 kB / 402.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.2699, allocations: 119.7 kB / 402.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2701, allocations: 208.5 kB / 402.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2701, allocations: 4 kB / 402.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004637/0.2705, allocations: 225.1 kB / 402.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2705, allocations: 4.219 kB / 402.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2705, allocations: 8 kB / 402.6 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2705, allocations: 7.984 kB / 402.6 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.2708, allocations: 99.81 kB / 402.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2708, allocations: 4 kB / 402.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2709, allocations: 15.95 kB / 402.8 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2709, allocations: 15.98 kB / 402.8 MB, free: 10.12 MB / 378.7 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 8.007e-05/0.271, allocations: 132.5 kB / 402.9 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.271, allocations: 28.8 kB / 402.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.2712, allocations: 132.2 kB / 403.1 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2712, allocations: 4 kB / 403.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2712, allocations: 7.938 kB / 403.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2712, allocations: 3.984 kB / 403.1 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.2717, allocations: 450.5 kB / 403.5 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2717, allocations: 4 kB / 403.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.2719, allocations: 85.69 kB / 403.6 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.272, allocations: 31.83 kB / 403.6 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.272, allocations: 7.984 kB / 403.6 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.272, allocations: 16.14 kB / 403.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.272, allocations: 0 / 403.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.272, allocations: 4 kB / 403.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.2723, allocations: 470.4 kB / 404.1 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2724, allocations: 12 kB / 404.1 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2725, allocations: 11.98 kB / 404.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.2725, allocations: 32.77 kB / 404.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.2725, allocations: 8 kB / 404.2 MB, free: 8.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.133e-05/0.2726, allocations: 30.08 kB / 404.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2726, allocations: 0 / 404.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.273, allocations: 211.5 kB / 404.4 MB, free: 8.383 MB / 378.7 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.0004282/0.2734, allocations: 333.5 kB / 404.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2736, allocations: 191.8 kB / 404.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.2736, allocations: 11.98 kB / 405 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2737, allocations: 135.7 kB / 405.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2742, allocations: 307.2 kB / 405.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.2764, allocations: 0.4926 MB / 405.9 MB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.174e-05/0.2764, allocations: 94.52 kB / 406 MB, free: 6.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.2766, allocations: 62.2 kB / 406 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.2768, allocations: 137.2 kB / 406.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2768, allocations: 0 / 406.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of Templates: time 0.009048/0.2859, allocations: 8.496 MB / 414.7 MB, free: 14.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.772865993902087]