Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.00104/0.00104, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001032/0.001032, allocations: 149.5 kB / 24.8 MB, free: 8.941 MB / 18.57 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 0.9846/0.9846, allocations: 173.4 MB / 201.4 MB, free: 9.172 MB / 186.7 MB " [Timeout remaining time 179] 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.496e-05, allocations: 9.766 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004046/0.004061, allocations: 4.526 MB / 272.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.005569, allocations: 1.794 MB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.683e-05/0.005636, allocations: 4 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.005851, allocations: 35.7 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.006125, allocations: 127.1 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.006561, allocations: 259.2 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.006803, allocations: 294.7 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.006839, allocations: 9.297 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.007057, allocations: 167.6 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.007143, allocations: 67.8 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.007163, allocations: 12 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.00731, allocations: 87.88 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.007369, allocations: 47.81 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.007423, allocations: 55.89 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.007649, allocations: 199.4 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00765, allocations: 0 / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007651, allocations: 0 / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.007654, allocations: 0 / 276 MB, free: 14.48 MB / 266.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.000556/0.00821, allocations: 0.5002 MB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.008246, allocations: 16.86 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.008378, allocations: 44.7 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.008517, allocations: 148.4 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.008531, allocations: 20.58 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.00856, allocations: 24.34 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.008808, allocations: 353.1 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.008817, allocations: 192 / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.008835, allocations: 12.12 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.008841, allocations: 11.94 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.008934, allocations: 75.86 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.009922, allocations: 1.073 MB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.01007, allocations: 111.3 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.01011, allocations: 35.67 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.01041, allocations: 423.8 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.01043, allocations: 37.39 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.031e-06/0.01043, allocations: 0 / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008832/0.01131, allocations: 0.5168 MB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.01134, allocations: 51.41 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.021e-05/0.01143, allocations: 220.7 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01145, allocations: 29.7 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.01151, allocations: 198.8 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.01155, allocations: 75.36 kB / 280 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.01161, allocations: 67.28 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01172, allocations: 0.4962 MB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.01177, allocations: 39.97 kB / 280.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01188, allocations: 198.6 kB / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01207, allocations: 270 kB / 281 MB, free: 9.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01207, allocations: 0 / 281 MB, free: 9.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000238/0.01231, allocations: 245.4 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01232, allocations: 10.81 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01233, allocations: 7.938 kB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01234, allocations: 4 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01251, allocations: 83.89 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01252, allocations: 7.938 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.0126, allocations: 15.98 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01262, allocations: 12 kB / 281.4 MB, free: 8.648 MB / 266.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 7.965e-05/0.0127, allocations: 176.7 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.01274, allocations: 19.91 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.01296, allocations: 177.7 kB / 281.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01296, allocations: 4 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01296, allocations: 3.938 kB / 281.8 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01297, allocations: 3.984 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.01347, allocations: 0.4969 MB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01347, allocations: 0 / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.01359, allocations: 43.97 kB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01359, allocations: 4 kB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.0136, allocations: 7.984 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01361, allocations: 7.938 kB / 282.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01361, allocations: 0 / 282.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01387, allocations: 371 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.01389, allocations: 11.91 kB / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.01391, allocations: 4 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.014, allocations: 11.98 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.01402, allocations: 19.92 kB / 282.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01403, allocations: 7.984 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.01408, allocations: 150.5 kB / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01408, allocations: 0 / 282.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.01431, allocations: 67.97 kB / 283 MB, free: 6.977 MB / 266.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.0001358/0.01444, allocations: 127.2 kB / 283.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.01462, allocations: 155.7 kB / 283.3 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01462, allocations: 4 kB / 283.3 MB, free: 6.684 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.01468, allocations: 63.58 kB / 283.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01493, allocations: 48.3 kB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.01565, allocations: 419.1 kB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.01569, allocations: 76.33 kB / 283.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.01581, allocations: 41.94 kB / 283.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.01596, allocations: 126.1 kB / 284 MB, free: 5.859 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01597, allocations: 4 kB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Templates: time 0.004473/0.02044, allocations: 3.02 MB / 287 MB, free: 2.863 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.5356261311098933]