Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001811/0.001811, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002263/0.002263, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.958/1.958, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 47.92 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.345, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007751/0.3528, allocations: 4.275 MB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3556, allocations: 1.615 MB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3557, allocations: 4 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.356, allocations: 39.64 kB / 438.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.3565, allocations: 127.2 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.3573, allocations: 257.4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.3578, allocations: 298.9 kB / 438.9 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.3579, allocations: 17.25 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.3582, allocations: 127.6 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3584, allocations: 91.59 kB / 439.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3584, allocations: 12 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.3587, allocations: 87.94 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.321e-05/0.3588, allocations: 43.83 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3589, allocations: 71.72 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.3594, allocations: 221.9 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3594, allocations: 8 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3594, allocations: 0 / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3594, allocations: 4 kB / 439.6 MB, free: 15.44 MB / 350.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.001207/0.3606, allocations: 413.8 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3607, allocations: 12.03 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.3609, allocations: 20.88 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3613, allocations: 150.3 kB / 440.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3613, allocations: 8.656 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3614, allocations: 16.36 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.362, allocations: 383.8 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.362, allocations: 0 / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3621, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3621, allocations: 4 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.3626, allocations: 152.6 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3642, allocations: 0.8446 MB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3648, allocations: 146.7 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3649, allocations: 56.77 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.3656, allocations: 336.1 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3656, allocations: 34.56 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3656, allocations: 0 / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.003353/0.3689, allocations: 0.7012 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.369, allocations: 55.41 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3692, allocations: 163.7 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3692, allocations: 29.7 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3694, allocations: 152 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.3694, allocations: 67.42 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3696, allocations: 65.64 kB / 443.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3698, allocations: 326.8 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3701, allocations: 83.94 kB / 443.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.3705, allocations: 194.6 kB / 443.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.3713, allocations: 289.5 kB / 444.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3713, allocations: 0 / 444.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009193/0.3722, allocations: 331.6 kB / 444.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3722, allocations: 8 kB / 444.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3723, allocations: 4.469 kB / 444.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.3723, allocations: 8 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.3728, allocations: 79.89 kB / 444.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3728, allocations: 4 kB / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.3731, allocations: 19.98 kB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.3731, allocations: 19.98 kB / 444.7 MB, free: 9.953 MB / 350.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.0001615/0.3733, allocations: 137.7 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.3734, allocations: 19.84 kB / 444.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.3743, allocations: 238.6 kB / 445.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3743, allocations: 7.938 kB / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3743, allocations: 0 / 445.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3743, allocations: 4 kB / 445.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.3759, allocations: 0.5248 MB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3759, allocations: 0 / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.3763, allocations: 55.89 kB / 445.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3763, allocations: 0 / 445.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.3764, allocations: 16.11 kB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3764, allocations: 0 / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3764, allocations: 4 kB / 445.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3775, allocations: 409.7 kB / 446.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3776, allocations: 35.97 kB / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.3776, allocations: 4 kB / 446.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3779, allocations: 11.98 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.378, allocations: 19.91 kB / 446.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.378, allocations: 12 kB / 446.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.3781, allocations: 107.2 kB / 446.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 0 / 446.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.3787, allocations: 63.94 kB / 446.3 MB, free: 8.215 MB / 350.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.0002686/0.3789, allocations: 127.1 kB / 446.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3797, allocations: 212.3 kB / 446.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3797, allocations: 0 / 446.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.38, allocations: 94.72 kB / 446.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.3806, allocations: 36.39 kB / 446.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.382, allocations: 493.4 kB / 447.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3821, allocations: 103.3 kB / 447.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.3824, allocations: 53.86 kB / 447.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.3825, allocations: 27.42 kB / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3825, allocations: 0 / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Templates: time 0.009528/0.392, allocations: 2.968 MB / 450.4 MB, free: 4.102 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.727500451001106]