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.001294/0.001294, allocations: 88.16 kB / 21.44 MB, free: 272 kB / 14.72 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.001444/0.001444, allocations: 160.2 kB / 24.7 MB, free: 3.527 MB / 14.72 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.335/1.335, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 298.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.784e-05, allocations: 6.281 kB / 298.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3173/0.3173, allocations: 131.4 MB / 430.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3184, allocations: 0.5493 MB / 430.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.3185, allocations: 4 kB / 430.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.3189, allocations: 62.19 kB / 430.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.3193, allocations: 155.9 kB / 431.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.3233, allocations: 1.126 MB / 432.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.3239, allocations: 331.8 kB / 432.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.324, allocations: 5.641 kB / 432.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.3244, allocations: 203.5 kB / 432.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.3247, allocations: 119.6 kB / 432.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.3248, allocations: 12 kB / 432.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.3275, allocations: 1.356 MB / 434.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3277, allocations: 75.83 kB / 434.3 MB, free: 6.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3278, allocations: 75.83 kB / 434.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.3302, allocations: 1.103 MB / 435.5 MB, free: 5.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.3302, allocations: 8 kB / 435.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3302, allocations: 0 / 435.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3302, allocations: 0 / 435.5 MB, free: 5.359 MB / 382.1 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.002096/0.3323, allocations: 0.6019 MB / 436.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3323, allocations: 15.98 kB / 436.1 MB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3325, allocations: 23.08 kB / 436.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3328, allocations: 157.6 kB / 436.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.3328, allocations: 12.89 kB / 436.3 MB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.3328, allocations: 15.94 kB / 436.3 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.3335, allocations: 372.2 kB / 436.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3335, allocations: 0 / 436.7 MB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.3336, allocations: 8 kB / 436.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.3336, allocations: 8 kB / 436.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.3343, allocations: 263.7 kB / 437 MB, free: 3.812 MB / 382.1 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.001517/0.3359, allocations: 0.6203 MB / 437.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.3365, allocations: 201.2 kB / 437.8 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.3369, allocations: 130.5 kB / 437.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.3371, allocations: 51.95 kB / 438 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.3372, allocations: 42.5 kB / 438 MB, free: 2.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.3372, allocations: 0 / 438 MB, free: 2.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002715/0.3399, allocations: 0.6619 MB / 438.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.3399, allocations: 85.05 kB / 438.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3401, allocations: 133.7 kB / 438.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.3401, allocations: 37.7 kB / 438.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.3402, allocations: 108.9 kB / 439 MB, free: 1.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3403, allocations: 130.9 kB / 439.1 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3405, allocations: 69.64 kB / 439.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3406, allocations: 326.8 kB / 439.5 MB, free: 1.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.3411, allocations: 127.9 kB / 439.7 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.3416, allocations: 207.6 kB / 439.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/0.3425, allocations: 359.5 kB / 440.2 MB, free: 380 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3425, allocations: 0 / 440.2 MB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001077/0.3435, allocations: 412.9 kB / 440.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3436, allocations: 7.984 kB / 440.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3436, allocations: 4 kB / 440.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3436, allocations: 7.984 kB / 440.6 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.3441, allocations: 91.81 kB / 440.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3441, allocations: 8.219 kB / 440.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.3445, allocations: 27.88 kB / 440.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.3445, allocations: 15.98 kB / 440.8 MB, free: 15.8 MB / 398.1 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.0001595/0.3447, allocations: 137.8 kB / 440.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.3447, allocations: 23.84 kB / 440.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.3451, allocations: 175 kB / 441.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3451, allocations: 4 kB / 441.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3452, allocations: 0 / 441.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.3452, allocations: 7.984 kB / 441.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3469, allocations: 0.6576 MB / 441.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3469, allocations: 0 / 441.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.3474, allocations: 84.03 kB / 441.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3474, allocations: 4 kB / 441.9 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.3475, allocations: 12 kB / 441.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.3475, allocations: 7.938 kB / 441.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3475, allocations: 0 / 441.9 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3491, allocations: 0.7118 MB / 442.6 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3492, allocations: 39.86 kB / 442.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.3492, allocations: 8 kB / 442.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.3496, allocations: 19.98 kB / 442.7 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3497, allocations: 27.89 kB / 442.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3497, allocations: 24.05 kB / 442.7 MB, free: 13.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.995e-05/0.3498, allocations: 95.58 kB / 442.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3498, allocations: 4 kB / 442.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006116/0.3504, allocations: 139.7 kB / 442.9 MB, free: 13.54 MB / 398.1 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.0005654/0.3509, allocations: 252.6 kB / 443.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009885/0.3519, allocations: 323.7 kB / 443.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3519, allocations: 0 / 443.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.3524, allocations: 179.5 kB / 443.7 MB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.3532, allocations: 99.27 kB / 443.8 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.3546, allocations: 0.559 MB / 444.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.3548, allocations: 120.9 kB / 444.4 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003268/0.3551, allocations: 81.89 kB / 444.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3553, allocations: 36.48 kB / 444.6 MB, free: 11.85 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3553, allocations: 0 / 444.6 MB, free: 11.85 MB / 398.1 MB Notification: Performance of Templates: time 0.01244/0.3677, allocations: 6.174 MB / 450.7 MB, free: 5.68 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.735404193401337]