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.001596/0.001596, allocations: 82.91 kB / 20.68 MB, free: 1.023 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.001697/0.001697, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.427/1.427, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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 1.252e-06/1.252e-06, allocations: 0 / 325 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.918e-05, allocations: 2.281 kB / 325 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005614/0.005633, allocations: 4.286 MB / 329.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.007731, allocations: 1.616 MB / 330.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.007798, allocations: 1.062 kB / 330.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.008043, allocations: 47.67 kB / 331 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.008409, allocations: 130.8 kB / 331.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.009084, allocations: 250.4 kB / 331.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.009445, allocations: 303.9 kB / 331.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.009487, allocations: 12.89 kB / 331.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.009812, allocations: 173 kB / 331.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.00995, allocations: 75.61 kB / 331.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.009986, allocations: 13.72 kB / 331.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.01022, allocations: 86.69 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.01031, allocations: 45.53 kB / 332.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.01041, allocations: 62.56 kB / 332.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.01081, allocations: 239.2 kB / 332.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01082, allocations: 0 / 332.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01082, allocations: 1.219 kB / 332.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01082, allocations: 0 / 332.3 MB, free: 11.71 MB / 302.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.001011/0.01183, allocations: 419.6 kB / 332.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.01187, allocations: 9.125 kB / 332.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.01206, allocations: 17.55 kB / 332.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.01231, allocations: 153.1 kB / 332.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.01232, allocations: 10.59 kB / 332.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.01236, allocations: 17.38 kB / 333 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.01292, allocations: 372.8 kB / 333.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.01293, allocations: 5.188 kB / 333.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.01296, allocations: 15.39 kB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.01297, allocations: 3.219 kB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.01336, allocations: 150.8 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.01472, allocations: 0.8352 MB / 334.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.01517, allocations: 149.5 kB / 334.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.01532, allocations: 49.98 kB / 334.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.0158, allocations: 327.9 kB / 334.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.01582, allocations: 36.72 kB / 334.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.01583, allocations: 0 / 334.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00266/0.01849, allocations: 0.6917 MB / 335.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.01854, allocations: 58.89 kB / 335.6 MB, free: 8.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.01869, allocations: 168.3 kB / 335.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.01873, allocations: 30.83 kB / 335.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01883, allocations: 147.3 kB / 336 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.0189, allocations: 69.55 kB / 336 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.019, allocations: 63.48 kB / 336.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01916, allocations: 326.6 kB / 336.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.01943, allocations: 91.72 kB / 336.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.01978, allocations: 196.7 kB / 336.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.02041, allocations: 294.7 kB / 337 MB, free: 7.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.02042, allocations: 5.344 kB / 337 MB, free: 7.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007616/0.02118, allocations: 323.2 kB / 337.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.0212, allocations: 5.75 kB / 337.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.0212, allocations: 4.406 kB / 337.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.02122, allocations: 9.812 kB / 337.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.02161, allocations: 80.77 kB / 337.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.02162, allocations: 9.391 kB / 337.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.02186, allocations: 20.39 kB / 337.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.0219, allocations: 12.06 kB / 337.4 MB, free: 7.566 MB / 302.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.0001389/0.02203, allocations: 139.2 kB / 337.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.02209, allocations: 15 kB / 337.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/0.02283, allocations: 241.7 kB / 337.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.02283, allocations: 6.594 kB / 337.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02284, allocations: 4 kB / 337.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.02284, allocations: 0 / 337.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.02416, allocations: 0.5183 MB / 338.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02416, allocations: 9.281 kB / 338.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.02447, allocations: 53.12 kB / 338.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.02448, allocations: 1.281 kB / 338.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.0245, allocations: 7.234 kB / 338.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.0245, allocations: 2.125 kB / 338.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.0245, allocations: 2.25 kB / 338.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.02543, allocations: 418.2 kB / 338.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.02551, allocations: 24.08 kB / 338.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.02555, allocations: 7.422 kB / 338.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.0258, allocations: 10.06 kB / 338.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.02583, allocations: 17.84 kB / 338.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.02585, allocations: 10.77 kB / 338.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.02595, allocations: 114.5 kB / 339 MB, free: 6.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02595, allocations: 3.938 kB / 339 MB, free: 6.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.02633, allocations: 67.05 kB / 339.1 MB, free: 6.371 MB / 302.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.000212/0.02654, allocations: 127.8 kB / 339.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.02719, allocations: 212.6 kB / 339.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.02719, allocations: 1.219 kB / 339.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.02746, allocations: 97.78 kB / 339.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.02787, allocations: 35.47 kB / 339.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02892, allocations: 425 kB / 340 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02902, allocations: 111.8 kB / 340.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.02924, allocations: 49.86 kB / 340.1 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02934, allocations: 24.48 kB / 340.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02934, allocations: 0 / 340.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of Templates: time 0.006736/0.03608, allocations: 2.695 MB / 342.8 MB, free: 2.852 MB / 302.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/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: 4.2368664257228374]