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.001583/0.001583, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001619/0.001619, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.445/1.445, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001591/0.001591, allocations: 55.91 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2361, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03403/0.2702, allocations: 23.85 MB / 447.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.2734, allocations: 1.994 MB / 449.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2736, allocations: 0 / 449.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.2739, allocations: 63.66 kB / 449.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.2745, allocations: 147.1 kB / 449.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.2918, allocations: 6.49 MB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.2923, allocations: 322.8 kB / 456.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/0.2924, allocations: 9.297 kB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.2926, allocations: 143.5 kB / 456.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2929, allocations: 123.6 kB / 456.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.2929, allocations: 11.98 kB / 456.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/0.31, allocations: 8.952 MB / 465.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.3101, allocations: 67.78 kB / 466 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3103, allocations: 83.7 kB / 466 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.3215, allocations: 4.654 MB / 470.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3215, allocations: 0 / 470.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3215, allocations: 0 / 470.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.3215, allocations: 3.938 kB / 470.7 MB, free: 15.48 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.003479/0.325, allocations: 1.063 MB / 471.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.325, allocations: 8.031 kB / 471.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3252, allocations: 32.58 kB / 471.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.3255, allocations: 160.9 kB / 472 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3255, allocations: 12.33 kB / 472 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.3255, allocations: 20 kB / 472 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.3263, allocations: 388.2 kB / 472.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3263, allocations: 0 / 472.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.3264, allocations: 12 kB / 472.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.3264, allocations: 7.938 kB / 472.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007853/0.3272, allocations: 319.6 kB / 472.7 MB, free: 13.38 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.001409/0.3286, allocations: 0.6397 MB / 473.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.3293, allocations: 237.1 kB / 473.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.3297, allocations: 133.6 kB / 473.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.3409, allocations: 2.698 MB / 476.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.3409, allocations: 38.5 kB / 476.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.475e-06/0.341, allocations: 0 / 476.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002886/0.3438, allocations: 0.6973 MB / 477.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3439, allocations: 81.11 kB / 477.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.344, allocations: 126 kB / 477.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.3441, allocations: 33.7 kB / 477.4 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.3441, allocations: 112.9 kB / 477.5 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3443, allocations: 138.7 kB / 477.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3444, allocations: 69.67 kB / 477.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3446, allocations: 330.8 kB / 478 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.345, allocations: 131.9 kB / 478.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.3455, allocations: 211.5 kB / 478.3 MB, free: 7.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.3465, allocations: 373.1 kB / 478.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3465, allocations: 4 kB / 478.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001179/0.3477, allocations: 413.3 kB / 479.1 MB, free: 6.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3477, allocations: 8 kB / 479.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3477, allocations: 0 / 479.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3477, allocations: 4 kB / 479.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.3482, allocations: 95.86 kB / 479.2 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3482, allocations: 7.938 kB / 479.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.3486, allocations: 27.88 kB / 479.3 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.3486, allocations: 23.98 kB / 479.3 MB, free: 6.617 MB / 382.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.0001632/0.3488, allocations: 145.8 kB / 479.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3489, allocations: 19.89 kB / 479.4 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.3494, allocations: 178.5 kB / 479.6 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.3494, allocations: 11.98 kB / 479.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3494, allocations: 7.938 kB / 479.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3494, allocations: 0 / 479.6 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.3511, allocations: 0.6656 MB / 480.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3511, allocations: 0 / 480.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.3515, allocations: 75.88 kB / 480.4 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3515, allocations: 4 kB / 480.4 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.3516, allocations: 16 kB / 480.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.3516, allocations: 3.984 kB / 480.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3516, allocations: 4.156 kB / 480.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3532, allocations: 0.7066 MB / 481.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3533, allocations: 47.8 kB / 481.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.3534, allocations: 8 kB / 481.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.3537, allocations: 19.98 kB / 481.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3538, allocations: 31.83 kB / 481.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3538, allocations: 19.92 kB / 481.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.3539, allocations: 103.2 kB / 481.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3539, allocations: 0 / 481.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002508/0.3564, allocations: 0.9472 MB / 482.3 MB, free: 3.508 MB / 382.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 (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.003968/0.3603, allocations: 1.25 MB / 483.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3614, allocations: 339.2 kB / 483.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3614, allocations: 0 / 483.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3619, allocations: 168.5 kB / 484 MB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.3626, allocations: 91.83 kB / 484.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3641, allocations: 0.6425 MB / 484.8 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3642, allocations: 120.7 kB / 484.9 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3644, allocations: 47.42 kB / 484.9 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3644, allocations: 0 / 484.9 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of Templates: time 0.0308/0.3952, allocations: 19.83 MB / 0.4929 GB, free: 12.95 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 10.073879979085177]