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.001353/0.001353, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001326/0.001326, allocations: 142.1 kB / 24.97 MB, free: 8.316 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.8951/0.8951, allocations: 173.3 MB / 201.5 MB, free: 9.324 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.353e-06/1.353e-06, allocations: 0 / 268 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.43e-05, allocations: 2.312 kB / 268 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003678/0.003692, allocations: 4.553 MB / 272.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004934, allocations: 1.809 MB / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.004988, allocations: 0 / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.005204, allocations: 31.77 kB / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.00546, allocations: 139 kB / 274.6 MB, free: 188 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.005906, allocations: 259.1 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.006141, allocations: 290.8 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.006176, allocations: 9.297 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.006382, allocations: 167.6 kB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.006463, allocations: 67.8 kB / 275.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.006482, allocations: 8 kB / 275.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.00662, allocations: 91.81 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.006682, allocations: 43.88 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.006737, allocations: 55.89 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.00697, allocations: 199.4 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.006973, allocations: 4 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006974, allocations: 0 / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006978, allocations: 0 / 275.7 MB, free: 15.01 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.0005787/0.007557, allocations: 0.4963 MB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.007588, allocations: 8.922 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.007737, allocations: 44.7 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.007896, allocations: 160.4 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.007907, allocations: 8.656 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.007937, allocations: 20.36 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.008226, allocations: 369 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008236, allocations: 4.188 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.008256, allocations: 8.125 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.008268, allocations: 4 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.008401, allocations: 103.8 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.009195, allocations: 1.099 MB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.00938, allocations: 115.3 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.009431, allocations: 39.67 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.009734, allocations: 419.8 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.009753, allocations: 33.39 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.009755, allocations: 4 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001054/0.01081, allocations: 0.5598 MB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.01083, allocations: 51.41 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.01093, allocations: 220.7 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.01095, allocations: 25.7 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.01105, allocations: 194.8 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.01109, allocations: 75.39 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.01115, allocations: 71.3 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.01125, allocations: 0.4962 MB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.191e-05/0.01132, allocations: 47.97 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01151, allocations: 214.4 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.01173, allocations: 281.8 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01173, allocations: 4 kB / 280.9 MB, free: 9.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002798/0.01201, allocations: 269.1 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01202, allocations: 11.94 kB / 281.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01203, allocations: 4.469 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01204, allocations: 12 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.01222, allocations: 79.89 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01222, allocations: 4 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.01231, allocations: 15.98 kB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.01233, allocations: 16 kB / 281.3 MB, free: 9.004 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 8.128e-05/0.01241, allocations: 172.5 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.01245, allocations: 31.78 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.0127, allocations: 198.6 kB / 281.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0127, allocations: 4 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01271, allocations: 0 / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01271, allocations: 0 / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.01336, allocations: 0.5269 MB / 282.2 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01336, allocations: 4 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.01349, allocations: 48.03 kB / 282.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01349, allocations: 4 kB / 282.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.0135, allocations: 11.98 kB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01351, allocations: 0 / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.01351, allocations: 4 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.01381, allocations: 389.9 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.01383, allocations: 11.95 kB / 282.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01385, allocations: 8.031 kB / 282.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.01395, allocations: 15.98 kB / 282.7 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.01397, allocations: 11.92 kB / 282.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01398, allocations: 11.98 kB / 282.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.01403, allocations: 154.3 kB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01403, allocations: 3.938 kB / 282.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01426, allocations: 63.94 kB / 282.9 MB, free: 7.242 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.0001442/0.0144, allocations: 127.2 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.01462, allocations: 172.2 kB / 283.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01462, allocations: 3.938 kB / 283.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.0147, allocations: 79.66 kB / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01496, allocations: 47.89 kB / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.01575, allocations: 415.4 kB / 283.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.0158, allocations: 80.77 kB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.01593, allocations: 41.89 kB / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.01599, allocations: 28.42 kB / 283.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01599, allocations: 0 / 283.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of Templates: time 0.004172/0.02016, allocations: 2.731 MB / 286.6 MB, free: 3.496 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.623178926995024]