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.009861/0.009861, allocations: 98.55 kB / 21.93 MB, free: 5.188 MB / 14.72 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.002959/0.002959, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 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 1.605/1.605, allocations: 207.7 MB / 236.1 MB, free: 9.945 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 69.25 kB / 348.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005784/0.3355, allocations: 4.208 MB / 401.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3372, allocations: 1.628 MB / 403.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3373, allocations: 5.344 kB / 403.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3375, allocations: 38.69 kB / 403.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.3378, allocations: 127.6 kB / 403.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.3384, allocations: 253.7 kB / 403.8 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.3388, allocations: 289.8 kB / 404.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.76e-05/0.3388, allocations: 7.391 kB / 404.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.3391, allocations: 141.6 kB / 404.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3393, allocations: 74.23 kB / 404.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.3393, allocations: 13.22 kB / 404.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3395, allocations: 86.17 kB / 404.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.3396, allocations: 41.61 kB / 404.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.416e-05/0.3397, allocations: 71.42 kB / 404.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.3401, allocations: 218.4 kB / 404.8 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3401, allocations: 0 / 404.8 MB, free: 4.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3401, allocations: 0 / 404.8 MB, free: 4.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3401, allocations: 1.188 kB / 404.8 MB, free: 4.797 MB / 318.1 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.0009614/0.341, allocations: 420.5 kB / 405.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3411, allocations: 12.98 kB / 405.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.3413, allocations: 20.47 kB / 405.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3415, allocations: 152.3 kB / 405.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3416, allocations: 9.969 kB / 405.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.3416, allocations: 13.56 kB / 405.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.3421, allocations: 384.4 kB / 405.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3421, allocations: 1.156 kB / 405.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3421, allocations: 12 kB / 405.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3421, allocations: 3.875 kB / 405.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3425, allocations: 143.8 kB / 405.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3436, allocations: 0.8439 MB / 406.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.344, allocations: 140.5 kB / 406.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3442, allocations: 49.83 kB / 406.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/0.3446, allocations: 331.8 kB / 407.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3446, allocations: 37.09 kB / 407.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3446, allocations: 0 / 407.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002396/0.347, allocations: 0.6987 MB / 408 MB, free: 2.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.347, allocations: 54.03 kB / 408 MB, free: 2.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3472, allocations: 157.5 kB / 408.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3472, allocations: 30.58 kB / 408.2 MB, free: 2.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.3472, allocations: 149.8 kB / 408.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3473, allocations: 75.47 kB / 408.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.3474, allocations: 61.59 kB / 408.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.3475, allocations: 331 kB / 408.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3477, allocations: 84.8 kB / 408.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.348, allocations: 188.2 kB / 409.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.3485, allocations: 300 kB / 409.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3485, allocations: 1.312 kB / 409.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006859/0.3492, allocations: 323.7 kB / 409.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3492, allocations: 6.094 kB / 409.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3493, allocations: 7.766 kB / 409.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3493, allocations: 5.656 kB / 409.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.3496, allocations: 86.94 kB / 409.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3497, allocations: 10.39 kB / 409.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.3499, allocations: 15.81 kB / 409.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3499, allocations: 17.36 kB / 409.9 MB, free: 1.109 MB / 318.1 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 0.0001072/0.35, allocations: 134.9 kB / 410 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.3501, allocations: 20.98 kB / 410 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.3507, allocations: 240.3 kB / 410.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3507, allocations: 3.406 kB / 410.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3507, allocations: 0 / 410.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3507, allocations: 2.875 kB / 410.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3518, allocations: 0.5266 MB / 410.8 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3518, allocations: 1.406 kB / 410.8 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.3521, allocations: 52.38 kB / 410.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.3521, allocations: 2.719 kB / 410.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3521, allocations: 12.27 kB / 410.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3522, allocations: 3.203 kB / 410.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3522, allocations: 1.188 kB / 410.8 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.353, allocations: 413.6 kB / 411.3 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.353, allocations: 18.41 kB / 411.3 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.353, allocations: 3.547 kB / 411.3 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.3533, allocations: 17.84 kB / 411.3 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.3533, allocations: 17.28 kB / 411.3 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3533, allocations: 12.58 kB / 411.3 MB, free: 200 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.3534, allocations: 108.4 kB / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3534, allocations: 0 / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.3538, allocations: 63.7 kB / 411.5 MB, free: 104 kB / 318.1 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.0002344/0.354, allocations: 130.2 kB / 411.6 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006964/0.3547, allocations: 215.4 kB / 411.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3547, allocations: 256 / 411.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.355, allocations: 95.86 kB / 411.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3554, allocations: 35.19 kB / 412 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3566, allocations: 498.1 kB / 412.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3567, allocations: 103.4 kB / 412.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3568, allocations: 32.52 kB / 412.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3568, allocations: 0 / 412.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Templates: time 0.005753/0.3626, allocations: 2.739 MB / 415.3 MB, free: 14.09 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.612978449091315]