Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.0009137/0.0009137, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 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.0009727/0.0009727, allocations: 169.6 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9586/0.9586, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.705e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02418/0.02419, allocations: 26.42 MB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.02701, allocations: 2.231 MB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.02707, allocations: 4 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.02742, allocations: 55.66 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.02779, allocations: 155 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01464/0.04243, allocations: 5.713 MB / 286.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.04287, allocations: 322.7 kB / 286.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.04293, allocations: 13.97 kB / 286.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.04321, allocations: 175.6 kB / 286.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.04345, allocations: 111.7 kB / 286.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.04348, allocations: 12 kB / 286.8 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.06024, allocations: 9.38 MB / 296.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.06037, allocations: 67.86 kB / 296.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.06051, allocations: 75.83 kB / 296.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008726/0.06923, allocations: 5.803 MB / 302.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.06924, allocations: 0 / 302.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.06924, allocations: 3.938 kB / 302.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.06924, allocations: 0 / 302.1 MB, free: 4.543 MB / 282.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.002112/0.07136, allocations: 1.014 MB / 303.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.07139, allocations: 11.98 kB / 303.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.07152, allocations: 48.53 kB / 303.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.0717, allocations: 145 kB / 303.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.07171, allocations: 20.27 kB / 303.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.07174, allocations: 23.98 kB / 303.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.07209, allocations: 303.8 kB / 303.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.0721, allocations: 4 kB / 303.6 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.07212, allocations: 4 kB / 303.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.07214, allocations: 8 kB / 303.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.07235, allocations: 118.6 kB / 303.8 MB, free: 2.758 MB / 282.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.0006973/0.07305, allocations: 0.5124 MB / 304.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.07334, allocations: 193 kB / 304.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.07342, allocations: 65.69 kB / 304.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004895/0.07831, allocations: 2.586 MB / 307.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.07834, allocations: 34.5 kB / 307.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.363e-06/0.07834, allocations: 0 / 307.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008871/0.07922, allocations: 396.8 kB / 307.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.07925, allocations: 81.11 kB / 307.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.07932, allocations: 130.7 kB / 307.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.07934, allocations: 29.7 kB / 307.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.07938, allocations: 112.9 kB / 307.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.07945, allocations: 130.8 kB / 308 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.07952, allocations: 69.64 kB / 308.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.0796, allocations: 326.8 kB / 308.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.07967, allocations: 58.81 kB / 308.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.0798, allocations: 123.6 kB / 308.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.08006, allocations: 221.1 kB / 308.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.08006, allocations: 0 / 308.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003476/0.08041, allocations: 251.9 kB / 309 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.08042, allocations: 11.94 kB / 309.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.08043, allocations: 0 / 309.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.08045, allocations: 7.984 kB / 309.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.08066, allocations: 91.88 kB / 309.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.08066, allocations: 7.938 kB / 309.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.08076, allocations: 24.11 kB / 309.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.08078, allocations: 19.98 kB / 309.2 MB, free: 13.13 MB / 298.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.639e-05/0.08087, allocations: 132.5 kB / 309.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.08097, allocations: 43.73 kB / 309.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.08119, allocations: 138.5 kB / 309.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.0812, allocations: 4 kB / 309.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.0812, allocations: 0 / 309.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.0812, allocations: 3.984 kB / 309.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.08179, allocations: 454.7 kB / 310 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.08179, allocations: 0 / 310 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.08197, allocations: 75.89 kB / 310 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.08198, allocations: 4 kB / 310 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.082, allocations: 11.98 kB / 310.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.082, allocations: 4 kB / 310.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.08201, allocations: 7.938 kB / 310.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.08246, allocations: 490.1 kB / 310.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.08252, allocations: 35.81 kB / 310.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.08254, allocations: 8 kB / 310.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.08267, allocations: 15.94 kB / 310.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.0827, allocations: 27.89 kB / 310.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.08272, allocations: 15.98 kB / 310.7 MB, free: 11.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.08274, allocations: 20.84 kB / 310.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08274, allocations: 0 / 310.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001732/0.08447, allocations: 0.9355 MB / 311.6 MB, free: 10.64 MB / 298.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 (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.002724/0.0872, allocations: 1.467 MB / 313.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.08747, allocations: 208.3 kB / 313.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.08747, allocations: 0 / 313.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.08759, allocations: 108.7 kB / 313.4 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.08797, allocations: 108.7 kB / 313.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.08883, allocations: 486.2 kB / 314 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.08889, allocations: 85.33 kB / 314 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.08907, allocations: 69.91 kB / 314.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.0893, allocations: 137.2 kB / 314.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0893, allocations: 0 / 314.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of Templates: time 0.03902/0.1283, allocations: 36.91 MB / 351.2 MB, free: 2.977 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.900473860092461]