Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 68.08 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 144 kB / 24.97 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8969/0.8969, allocations: 173.4 MB / 201.5 MB, free: 8.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.652e-05, allocations: 3 kB / 268.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03582/0.03584, allocations: 26.26 MB / 294.3 MB, free: 60 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.03804, allocations: 2.22 MB / 296.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.03811, allocations: 4 kB / 296.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.03845, allocations: 59.59 kB / 296.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.03874, allocations: 151.1 kB / 296.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.0491, allocations: 6.566 MB / 303.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.04943, allocations: 330.4 kB / 303.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.04947, allocations: 5.312 kB / 303.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.04967, allocations: 179.5 kB / 303.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.04984, allocations: 111.7 kB / 303.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.04987, allocations: 12 kB / 303.9 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009594/0.05946, allocations: 8.985 MB / 312.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.05954, allocations: 75.78 kB / 313 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.05961, allocations: 67.89 kB / 313.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.06477, allocations: 5.834 MB / 318.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.06478, allocations: 0 / 318.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06478, allocations: 0 / 318.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.06478, allocations: 0 / 318.9 MB, free: 7.422 MB / 298.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.001564/0.06634, allocations: 1.155 MB / 320 MB, free: 6.223 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.06638, allocations: 12.03 kB / 320.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.06652, allocations: 40.52 kB / 320.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.0667, allocations: 163.8 kB / 320.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.06671, allocations: 12.33 kB / 320.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.06675, allocations: 20 kB / 320.3 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.06713, allocations: 330.6 kB / 320.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.06715, allocations: 0 / 320.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.06717, allocations: 11.98 kB / 320.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.06719, allocations: 7.938 kB / 320.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.06746, allocations: 158.7 kB / 320.8 MB, free: 5.418 MB / 298.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.0008464/0.06831, allocations: 0.7005 MB / 321.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.06867, allocations: 226.1 kB / 321.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.06878, allocations: 103.2 kB / 321.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005123/0.07391, allocations: 2.715 MB / 324.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.07393, allocations: 37.39 kB / 324.6 MB, free: 1.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.07393, allocations: 0 / 324.6 MB, free: 1.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001174/0.07511, allocations: 0.5293 MB / 325.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.07516, allocations: 81.11 kB / 325.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.07526, allocations: 185.9 kB / 325.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.07529, allocations: 33.7 kB / 325.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.07536, allocations: 151.7 kB / 325.5 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.07543, allocations: 138.8 kB / 325.7 MB, free: 404 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.07552, allocations: 87.25 kB / 325.8 MB, free: 308 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.07565, allocations: 0.5001 MB / 326.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.07577, allocations: 79.95 kB / 326.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.07598, allocations: 185.1 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.07633, allocations: 275.2 kB / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.07633, allocations: 0 / 326.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004877/0.07682, allocations: 342.3 kB / 327.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.07683, allocations: 8 kB / 327.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.07684, allocations: 3.938 kB / 327.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.07685, allocations: 4 kB / 327.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.07707, allocations: 83.88 kB / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.07708, allocations: 4 kB / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.0772, allocations: 27.88 kB / 327.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.07722, allocations: 16 kB / 327.3 MB, free: 14.7 MB / 314.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 9.305e-05/0.07731, allocations: 176.5 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.07742, allocations: 59.66 kB / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.07769, allocations: 162.5 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.0777, allocations: 4 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.0777, allocations: 3.984 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.07771, allocations: 4 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.07843, allocations: 0.6304 MB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.07843, allocations: 4 kB / 328.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.07861, allocations: 71.89 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.07862, allocations: 8.094 kB / 328.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.07864, allocations: 16 kB / 328.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.07864, allocations: 4 kB / 328.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.07864, allocations: 4 kB / 328.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.07928, allocations: 0.6697 MB / 329.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.07934, allocations: 47.73 kB / 329.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.07937, allocations: 8 kB / 329.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.07951, allocations: 20.03 kB / 329.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.07954, allocations: 19.95 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.07956, allocations: 19.98 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.07961, allocations: 139.6 kB / 329.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.07961, allocations: 0 / 329.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001348/0.08096, allocations: 0.9471 MB / 330.3 MB, free: 11.57 MB / 314.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.002517/0.08347, allocations: 1.396 MB / 331.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.08387, allocations: 262.3 kB / 331.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.08387, allocations: 0 / 331.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.08404, allocations: 150.7 kB / 332.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.08448, allocations: 108.1 kB / 332.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.08553, allocations: 0.5196 MB / 332.7 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.704e-05/0.08559, allocations: 85.33 kB / 332.8 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.08579, allocations: 77.89 kB / 332.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.08589, allocations: 36.48 kB / 332.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.08589, allocations: 0 / 332.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of Templates: time 0.1087/0.1946, allocations: 30.44 MB / 363.3 MB, free: 62.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.8773051609750837]