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.001364/0.001364, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002323/0.003687, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.00155/0.00155, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.00321, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.006/1.006, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1903/1.196, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.064e-06/2.064e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.611e-05, allocations: 6.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3231/0.3232, allocations: 145.5 MB / 367.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.3239, allocations: 0.6136 MB / 368.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.324, allocations: 4 kB / 368.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3243, allocations: 55.66 kB / 368.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.3245, allocations: 170.5 kB / 368.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.3273, allocations: 1.068 MB / 369.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.3276, allocations: 330.8 kB / 369.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.3277, allocations: 10.28 kB / 369.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.328, allocations: 203.4 kB / 369.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.3281, allocations: 111.7 kB / 370 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3282, allocations: 16 kB / 370 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.3299, allocations: 1.423 MB / 371.4 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.33, allocations: 63.84 kB / 371.5 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.671e-05/0.3301, allocations: 55.94 kB / 371.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3311, allocations: 0.8728 MB / 372.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.3311, allocations: 0 / 372.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3311, allocations: 4 kB / 372.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3312, allocations: 3.938 kB / 372.4 MB, free: 8.387 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.001292/0.3324, allocations: 0.7652 MB / 373.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3325, allocations: 8.031 kB / 373.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.3326, allocations: 36.84 kB / 373.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3329, allocations: 137.6 kB / 373.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3329, allocations: 14.14 kB / 373.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.3329, allocations: 23.94 kB / 373.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.3335, allocations: 307.8 kB / 373.7 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3336, allocations: 0 / 373.7 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.3336, allocations: 4 kB / 373.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.3336, allocations: 8 kB / 373.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3338, allocations: 102.7 kB / 373.8 MB, free: 6.887 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.0007549/0.3345, allocations: 0.5089 MB / 374.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3348, allocations: 141 kB / 374.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.3349, allocations: 73.69 kB / 374.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.335, allocations: 47.95 kB / 374.6 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.335, allocations: 36.44 kB / 374.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.335, allocations: 0 / 374.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007542/0.3358, allocations: 382 kB / 375 MB, free: 5.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3358, allocations: 85.05 kB / 375.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.3359, allocations: 122.6 kB / 375.2 MB, free: 5.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3359, allocations: 29.7 kB / 375.2 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.336, allocations: 116.8 kB / 375.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.336, allocations: 130.8 kB / 375.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.3361, allocations: 73.61 kB / 375.5 MB, free: 5.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.3362, allocations: 330.8 kB / 375.9 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.3363, allocations: 50.81 kB / 375.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.3364, allocations: 123.7 kB / 376 MB, free: 4.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3366, allocations: 217.2 kB / 376.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3366, allocations: 0 / 376.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002537/0.3368, allocations: 225.2 kB / 376.5 MB, free: 4.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3369, allocations: 8.031 kB / 376.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3369, allocations: 4 kB / 376.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3369, allocations: 4 kB / 376.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3371, allocations: 91.88 kB / 376.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3371, allocations: 7.938 kB / 376.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3372, allocations: 23.88 kB / 376.6 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3372, allocations: 12.7 kB / 376.6 MB, free: 3.902 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 9.275e-05/0.3373, allocations: 132.5 kB / 376.7 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.3374, allocations: 27.97 kB / 376.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.3375, allocations: 122.8 kB / 376.9 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3376, allocations: 11.98 kB / 376.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3376, allocations: 5.859 kB / 376.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3376, allocations: 7.938 kB / 376.9 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.3381, allocations: 438.6 kB / 377.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3381, allocations: 0 / 377.3 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3383, allocations: 91.81 kB / 377.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.3384, allocations: 31.81 kB / 377.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3384, allocations: 8.156 kB / 377.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3384, allocations: 15.98 kB / 377.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3384, allocations: 4 kB / 377.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3384, allocations: 3.938 kB / 377.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.3388, allocations: 471.4 kB / 378 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3388, allocations: 8 kB / 378 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3389, allocations: 16.03 kB / 378 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.339, allocations: 23.95 kB / 378 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.339, allocations: 16.86 kB / 378 MB, free: 2.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.339, allocations: 22.52 kB / 378 MB, free: 2.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.339, allocations: 0 / 378 MB, free: 2.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.3394, allocations: 203.5 kB / 378.2 MB, free: 2.195 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.0006346/0.3401, allocations: 371.5 kB / 378.6 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3403, allocations: 196.9 kB / 378.8 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.3404, allocations: 7.938 kB / 378.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3405, allocations: 136.7 kB / 378.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3409, allocations: 194.1 kB / 379.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.3433, allocations: 486.5 kB / 379.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.404e-05/0.3434, allocations: 89.11 kB / 379.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.3436, allocations: 57.92 kB / 379.7 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3438, allocations: 125.3 kB / 379.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3438, allocations: 4 kB / 379.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of Templates: time 0.01049/0.3543, allocations: 8.579 MB / 388.4 MB, free: 7.914 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.187088567763567]