Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.001502/0.001502, allocations: 85.08 kB / 23 MB, free: 1.504 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.001878/0.001878, allocations: 176.3 kB / 26.39 MB, free: 7.988 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.9466/0.9466, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 252.2 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.984e-05, allocations: 2.312 kB / 252.2 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004414/0.004434, allocations: 4.527 MB / 256.8 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.005943, allocations: 1.798 MB / 258.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.006013, allocations: 0 / 258.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.00625, allocations: 47.67 kB / 258.6 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.006553, allocations: 131.1 kB / 258.7 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.00701, allocations: 247.2 kB / 259 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.007264, allocations: 298.6 kB / 259.3 MB, free: 216 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.0073, allocations: 5.312 kB / 259.3 MB, free: 208 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.007536, allocations: 171.6 kB / 259.4 MB, free: 36 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.007644, allocations: 71.78 kB / 259.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.007665, allocations: 8 kB / 259.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.007821, allocations: 99.8 kB / 259.6 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.00788, allocations: 35.89 kB / 259.6 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.007937, allocations: 59.84 kB / 259.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.00818, allocations: 199.4 kB / 259.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.008182, allocations: 0 / 259.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.008183, allocations: 0 / 259.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.008187, allocations: 0 / 259.9 MB, free: 15.57 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006093/0.008796, allocations: 0.5079 MB / 260.4 MB, free: 15.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.008834, allocations: 11.98 kB / 260.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.008975, allocations: 44.7 kB / 260.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.009138, allocations: 156.4 kB / 260.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.009153, allocations: 12.66 kB / 260.6 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.009183, allocations: 16.38 kB / 260.6 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.009459, allocations: 353 kB / 261 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.009474, allocations: 12.12 kB / 261 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.009491, allocations: 8.125 kB / 261 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.009497, allocations: 4 kB / 261 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.0096, allocations: 83.86 kB / 261.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.0104, allocations: 1.08 MB / 262.2 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.01057, allocations: 107.3 kB / 262.3 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.01061, allocations: 39.33 kB / 262.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.01092, allocations: 412 kB / 262.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.01095, allocations: 33.39 kB / 262.7 MB, free: 12.49 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 3.487e-06/0.01095, allocations: 7.938 kB / 262.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009711/0.01192, allocations: 0.5127 MB / 263.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.01195, allocations: 59.41 kB / 263.3 MB, free: 11.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.01205, allocations: 229.5 kB / 263.5 MB, free: 11.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01207, allocations: 29.7 kB / 263.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.01214, allocations: 186.8 kB / 263.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.01218, allocations: 83.23 kB / 263.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.01225, allocations: 71.33 kB / 263.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01241, allocations: 0.4962 MB / 264.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.01247, allocations: 39.95 kB / 264.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.01258, allocations: 194.7 kB / 264.6 MB, free: 10.44 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.01277, allocations: 258.7 kB / 264.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01277, allocations: 0 / 264.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002495/0.01302, allocations: 245.2 kB / 265.1 MB, free: 9.871 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01303, allocations: 8 kB / 265.1 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01304, allocations: 4.406 kB / 265.1 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.01305, allocations: 12 kB / 265.2 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.01322, allocations: 79.83 kB / 265.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01323, allocations: 4 kB / 265.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.875e-05/0.01332, allocations: 16 kB / 265.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01334, allocations: 8 kB / 265.3 MB, free: 9.742 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 9.635e-05/0.01343, allocations: 176.4 kB / 265.4 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.01347, allocations: 23.91 kB / 265.5 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.01371, allocations: 178.6 kB / 265.6 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01371, allocations: 4 kB / 265.6 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01371, allocations: 4 kB / 265.6 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01372, allocations: 0 / 265.6 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.01432, allocations: 496.6 kB / 266.1 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01432, allocations: 4 kB / 266.1 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01446, allocations: 60.02 kB / 266.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01446, allocations: 0 / 266.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01447, allocations: 4 kB / 266.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01447, allocations: 0 / 266.2 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01447, allocations: 4 kB / 266.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01476, allocations: 366.8 kB / 266.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01478, allocations: 19.89 kB / 266.6 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.0148, allocations: 8.031 kB / 266.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.01489, allocations: 12 kB / 266.6 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.01491, allocations: 15.91 kB / 266.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.01492, allocations: 4 kB / 266.6 MB, free: 8.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.715e-05/0.01498, allocations: 160 kB / 266.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01498, allocations: 0 / 266.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.01524, allocations: 63.94 kB / 266.8 MB, free: 8.07 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0001598/0.0154, allocations: 135 kB / 267 MB, free: 7.93 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.01559, allocations: 149.4 kB / 267.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01559, allocations: 0 / 267.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.01566, allocations: 83.62 kB / 267.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01591, allocations: 35.97 kB / 267.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.01668, allocations: 422.5 kB / 267.6 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.01672, allocations: 72.34 kB / 267.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.01685, allocations: 37.95 kB / 267.7 MB, free: 7.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.017, allocations: 130.1 kB / 267.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of SimCode: time 6.22e-07/0.017, allocations: 0 / 267.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of Templates: time 0.004644/0.02164, allocations: 3.069 MB / 270.9 MB, free: 3.902 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.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.6493971766903996]