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.0008885/0.0008885, allocations: 84 kB / 21.43 MB, free: 3.129 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.003981/0.003981, allocations: 150.2 kB / 24.68 MB, free: 9.422 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.8201/0.8201, allocations: 173.4 MB / 201.2 MB, free: 9.441 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 2.194e-06/2.194e-06, allocations: 0 / 319.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.767e-05, allocations: 6.219 kB / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003699/0.003727, allocations: 4.205 MB / 323.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004892, allocations: 1.611 MB / 325.5 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.004946, allocations: 7.938 kB / 325.5 MB, free: 16 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.005223, allocations: 35.77 kB / 325.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.005491, allocations: 127.1 kB / 325.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.005909, allocations: 256.8 kB / 325.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.006138, allocations: 298.6 kB / 326.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.006181, allocations: 13.3 kB / 326.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.006394, allocations: 167.6 kB / 326.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.006488, allocations: 71.8 kB / 326.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.006508, allocations: 12 kB / 326.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.006655, allocations: 87.88 kB / 326.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.006726, allocations: 43.81 kB / 326.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.006777, allocations: 59.84 kB / 326.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.007041, allocations: 227.3 kB / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.007043, allocations: 4 kB / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007045, allocations: 0 / 326.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.007049, allocations: 0 / 326.8 MB, free: 14.64 MB / 298.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.0006181/0.007667, allocations: 413.9 kB / 327.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.0077, allocations: 8.922 kB / 327.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.007815, allocations: 32.83 kB / 327.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.008004, allocations: 145.6 kB / 327.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.008017, allocations: 12.66 kB / 327.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.008045, allocations: 16.36 kB / 327.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.008375, allocations: 380.2 kB / 327.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.008387, allocations: 192 / 327.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.008408, allocations: 12.12 kB / 327.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.008414, allocations: 4 kB / 327.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.008617, allocations: 147.8 kB / 328 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.009407, allocations: 0.8444 MB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.009644, allocations: 146.8 kB / 329 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.009721, allocations: 48.83 kB / 329 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.01002, allocations: 328.1 kB / 329.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01005, allocations: 38.56 kB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.01005, allocations: 0 / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001363/0.01141, allocations: 0.6924 MB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.01144, allocations: 59.34 kB / 330.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.01154, allocations: 169.1 kB / 330.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01156, allocations: 33.7 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.01162, allocations: 140.1 kB / 330.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.01165, allocations: 75.38 kB / 330.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.01171, allocations: 53.7 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.01179, allocations: 326.8 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.01192, allocations: 83.94 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.01208, allocations: 190.9 kB / 331.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.01239, allocations: 296.6 kB / 331.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0124, allocations: 4 kB / 331.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000375/0.01277, allocations: 317.3 kB / 331.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01278, allocations: 15.88 kB / 331.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01279, allocations: 4 kB / 331.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.0128, allocations: 4 kB / 331.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.01298, allocations: 83.88 kB / 331.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01299, allocations: 15.92 kB / 331.9 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01309, allocations: 20.27 kB / 331.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01311, allocations: 12 kB / 331.9 MB, free: 9.164 MB / 298.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.156e-05/0.01319, allocations: 133.7 kB / 332.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.01322, allocations: 23.84 kB / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.01359, allocations: 238.5 kB / 332.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01359, allocations: 4 kB / 332.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01359, allocations: 4 kB / 332.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0136, allocations: 7.984 kB / 332.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.01424, allocations: 0.5281 MB / 332.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01424, allocations: 0 / 332.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01437, allocations: 47.97 kB / 332.9 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01437, allocations: 3.938 kB / 332.9 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01438, allocations: 11.98 kB / 332.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01439, allocations: 0 / 332.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01439, allocations: 4 kB / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.01484, allocations: 410.1 kB / 333.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.01485, allocations: 11.94 kB / 333.4 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01487, allocations: 7.938 kB / 333.4 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01498, allocations: 15.98 kB / 333.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.015, allocations: 15.92 kB / 333.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.01501, allocations: 16.05 kB / 333.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.01506, allocations: 110.4 kB / 333.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 3.938 kB / 333.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.0153, allocations: 63.94 kB / 333.6 MB, free: 7.438 MB / 298.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.000173/0.01547, allocations: 135.1 kB / 333.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01581, allocations: 211.7 kB / 333.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01581, allocations: 0.9375 kB / 333.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.01593, allocations: 88.06 kB / 334 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.01618, allocations: 31.92 kB / 334 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.01678, allocations: 447.3 kB / 334.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.01685, allocations: 107.3 kB / 334.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.01692, allocations: 32.42 kB / 334.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01692, allocations: 0 / 334.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of Templates: time 0.002915/0.01984, allocations: 2.753 MB / 337.4 MB, free: 3.57 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.327397559769452]