Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001021/0.001021, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001731/0.001731, allocations: 162.2 kB / 25.33 MB, free: 9.059 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.8197/0.8197, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 251 MB, free: 7.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.773e-05, allocations: 2.312 kB / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2343/0.2343, allocations: 145.7 MB / 396.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.235, allocations: 0.6055 MB / 397.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.235, allocations: 2.75 kB / 397.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.2354, allocations: 54.77 kB / 397.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.2357, allocations: 162.7 kB / 397.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.238, allocations: 1.116 MB / 398.6 MB, free: 10 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.2383, allocations: 336.1 kB / 398.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.2383, allocations: 7.703 kB / 399 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2386, allocations: 194.1 kB / 399.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.2387, allocations: 122.3 kB / 399.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2388, allocations: 11.47 kB / 399.3 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.2404, allocations: 1.366 MB / 400.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.613e-05/0.2404, allocations: 68.19 kB / 400.7 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.2405, allocations: 77.45 kB / 400.8 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.2417, allocations: 1.066 MB / 401.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2417, allocations: 0 / 401.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2417, allocations: 3.125 kB / 401.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2418, allocations: 0 / 401.9 MB, free: 9.094 MB / 330.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.001001/0.2428, allocations: 0.6872 MB / 402.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2428, allocations: 15.55 kB / 402.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.2429, allocations: 38.98 kB / 402.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2431, allocations: 163.6 kB / 402.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2431, allocations: 16.94 kB / 402.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.2431, allocations: 21.88 kB / 402.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2434, allocations: 317.4 kB / 403.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2434, allocations: 3.984 kB / 403.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.2435, allocations: 9.312 kB / 403.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2435, allocations: 6.344 kB / 403.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.2437, allocations: 150.2 kB / 403.3 MB, free: 8.062 MB / 330.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.000777/0.2445, allocations: 0.6737 MB / 403.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.2448, allocations: 191.3 kB / 404.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.2449, allocations: 92.58 kB / 404.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.245, allocations: 49.94 kB / 404.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.245, allocations: 44.5 kB / 404.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/0.245, allocations: 7.938 kB / 404.3 MB, free: 7.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009116/0.2459, allocations: 493.8 kB / 404.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.246, allocations: 83.52 kB / 404.9 MB, free: 7.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.246, allocations: 179.2 kB / 405.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.246, allocations: 29.2 kB / 405.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.2461, allocations: 162.5 kB / 405.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2461, allocations: 135.6 kB / 405.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.2462, allocations: 73.25 kB / 405.4 MB, free: 6.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.2462, allocations: 0.5038 MB / 405.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2463, allocations: 75.64 kB / 406 MB, free: 6.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2465, allocations: 175 kB / 406.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.2467, allocations: 273.7 kB / 406.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2467, allocations: 3.938 kB / 406.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003423/0.247, allocations: 319 kB / 406.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2471, allocations: 6.031 kB / 406.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2471, allocations: 2.812 kB / 406.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2471, allocations: 3.062 kB / 406.8 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2473, allocations: 82.02 kB / 406.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2473, allocations: 3 kB / 406.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2474, allocations: 23.84 kB / 406.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2474, allocations: 14.47 kB / 406.9 MB, free: 5.758 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 7.234e-05/0.2475, allocations: 185 kB / 407.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.2476, allocations: 35.78 kB / 407.1 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.2478, allocations: 152.3 kB / 407.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2478, allocations: 5.781 kB / 407.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2478, allocations: 4 kB / 407.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2478, allocations: 7.922 kB / 407.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.2484, allocations: 0.6274 MB / 407.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2484, allocations: 0 / 407.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.2486, allocations: 73.23 kB / 408 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2486, allocations: 7.062 kB / 408 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2486, allocations: 9.375 kB / 408 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2486, allocations: 3.656 kB / 408 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2486, allocations: 2.844 kB / 408 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.2491, allocations: 0.6655 MB / 408.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2491, allocations: 40.95 kB / 408.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.2492, allocations: 10.38 kB / 408.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.2493, allocations: 18.77 kB / 408.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.2493, allocations: 34.92 kB / 408.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2494, allocations: 9.812 kB / 408.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.2494, allocations: 137.2 kB / 408.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2494, allocations: 0 / 408.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.2498, allocations: 146.5 kB / 409.1 MB, free: 4.426 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 (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.0003138/0.2501, allocations: 239.3 kB / 409.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.2504, allocations: 260.8 kB / 409.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2504, allocations: 2.938 kB / 409.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2505, allocations: 145.9 kB / 409.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2509, allocations: 104.6 kB / 409.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.2519, allocations: 0.5207 MB / 410.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.2519, allocations: 83.52 kB / 410.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.2521, allocations: 70.67 kB / 410.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.2522, allocations: 36.05 kB / 410.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2522, allocations: 0 / 410.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of Templates: time 0.007581/0.2598, allocations: 7.077 MB / 417.6 MB, free: 15.96 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/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: 2.9387408602051437]