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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000906/0.0009059, allocations: 94.31 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007582/0.0007583, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1778, allocations: 46.62 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02314/0.201, allocations: 28.42 MB / 402.2 MB, free: 21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.2029, allocations: 2.337 MB / 404.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.2029, allocations: 0 / 404.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.2033, allocations: 63.7 kB / 404.6 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.2035, allocations: 151.2 kB / 404.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.214, allocations: 5.036 MB / 409.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.2144, allocations: 474.4 kB / 410.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.2144, allocations: 8.906 kB / 410.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2146, allocations: 123.6 kB / 410.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2147, allocations: 127.5 kB / 410.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2147, allocations: 8 kB / 410.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.2255, allocations: 9.479 MB / 420 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.2256, allocations: 71.83 kB / 420.1 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2257, allocations: 91.59 kB / 420.2 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006238/0.232, allocations: 4.749 MB / 424.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.232, allocations: 0 / 424.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.232, allocations: 3.984 kB / 424.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.232, allocations: 0 / 424.9 MB, free: 14.27 MB / 314.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.002213/0.2342, allocations: 1.104 MB / 426 MB, free: 13.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2343, allocations: 12.03 kB / 426.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.2344, allocations: 28.48 kB / 426.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2346, allocations: 214.7 kB / 426.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2346, allocations: 24.25 kB / 426.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2347, allocations: 16 kB / 426.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.2353, allocations: 289.3 kB / 426.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2353, allocations: 0 / 426.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.2354, allocations: 12 kB / 426.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2354, allocations: 4 kB / 426.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.2361, allocations: 323.6 kB / 426.9 MB, free: 12.16 MB / 314.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.001275/0.2374, allocations: 0.8146 MB / 427.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.2381, allocations: 253.1 kB / 428 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.2384, allocations: 133.6 kB / 428.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/0.2523, allocations: 12.85 MB / 441 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2524, allocations: 42.5 kB / 441 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.2524, allocations: 0 / 441 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002522/0.2549, allocations: 0.6803 MB / 441.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.255, allocations: 81.11 kB / 441.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.2551, allocations: 133.8 kB / 441.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2551, allocations: 33.7 kB / 442 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.2552, allocations: 112.7 kB / 442.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.2553, allocations: 126.1 kB / 442.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2554, allocations: 73.62 kB / 442.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.2555, allocations: 330.8 kB / 442.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2559, allocations: 135.9 kB / 442.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.2563, allocations: 203.6 kB / 442.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.2572, allocations: 363.5 kB / 443.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2572, allocations: 4 kB / 443.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/0.2582, allocations: 414.2 kB / 443.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2583, allocations: 8 kB / 443.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2583, allocations: 3.984 kB / 443.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2583, allocations: 4 kB / 443.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.2587, allocations: 96.09 kB / 443.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2588, allocations: 11.88 kB / 443.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.259, allocations: 27.83 kB / 443.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.2591, allocations: 19.98 kB / 443.8 MB, free: 8.516 MB / 330.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 0.0001205/0.2592, allocations: 142.6 kB / 444 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2593, allocations: 19.81 kB / 444 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.2598, allocations: 186.3 kB / 444.2 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2598, allocations: 7.938 kB / 444.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2598, allocations: 0 / 444.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2598, allocations: 4 kB / 444.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2613, allocations: 0.7596 MB / 445 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2613, allocations: 4 kB / 445 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.2617, allocations: 83.81 kB / 445 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2618, allocations: 4 kB / 445 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.2618, allocations: 16.14 kB / 445.1 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2618, allocations: 4 kB / 445.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2618, allocations: 3.938 kB / 445.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.2642, allocations: 1.734 MB / 446.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2644, allocations: 116.9 kB / 446.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.2644, allocations: 16.12 kB / 446.9 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2647, allocations: 19.98 kB / 447 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2648, allocations: 31.91 kB / 447 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.2648, allocations: 15.98 kB / 447 MB, free: 5.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.2649, allocations: 99.27 kB / 447.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 0 / 447.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002085/0.267, allocations: 0.9604 MB / 448.1 MB, free: 4.047 MB / 330.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.00311/0.2701, allocations: 1.264 MB / 449.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.271, allocations: 348.3 kB / 449.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.271, allocations: 0 / 449.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004298/0.2714, allocations: 180.4 kB / 449.8 MB, free: 2.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.2721, allocations: 101.9 kB / 449.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2735, allocations: 0.9098 MB / 450.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.2737, allocations: 0.7413 MB / 451.6 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.2741, allocations: 89.83 kB / 451.7 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2743, allocations: 35.42 kB / 451.7 MB, free: 312 kB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2743, allocations: 4 kB / 451.7 MB, free: 308 kB / 330.7 MB Notification: Performance of Templates: time 0.03365/0.3079, allocations: 30.84 MB / 482.5 MB, free: 1.422 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches