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.0009788/0.0009788, allocations: 71.77 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.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.001123/0.001123, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 18.57 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 0.9571/0.9571, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.586e-05, allocations: 6.25 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004289/0.004315, allocations: 4.628 MB / 277.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.00575, allocations: 1.81 MB / 279.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.005821, allocations: 4 kB / 279.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.006054, allocations: 43.62 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.006355, allocations: 131.1 kB / 279.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.00683, allocations: 247.3 kB / 279.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.007357, allocations: 294.7 kB / 280.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.007398, allocations: 9.297 kB / 280.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.007657, allocations: 183.5 kB / 280.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.007745, allocations: 71.8 kB / 280.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.007766, allocations: 8 kB / 280.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.007942, allocations: 91.86 kB / 280.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.008005, allocations: 35.89 kB / 280.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.008064, allocations: 59.84 kB / 280.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.00833, allocations: 207.3 kB / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.008333, allocations: 0 / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008335, allocations: 0 / 280.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.008339, allocations: 4 kB / 280.8 MB, free: 10.02 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.0008115/0.009151, allocations: 0.5041 MB / 281.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.009185, allocations: 11.97 kB / 281.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.009352, allocations: 44.72 kB / 281.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.009531, allocations: 156.4 kB / 281.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.009543, allocations: 8.656 kB / 281.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.009576, allocations: 16.38 kB / 281.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.009882, allocations: 369.9 kB / 281.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.009893, allocations: 4.188 kB / 281.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.009914, allocations: 12.12 kB / 281.9 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009922, allocations: 4 kB / 281.9 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.01006, allocations: 103.8 kB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.01093, allocations: 1.099 MB / 283.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.01113, allocations: 127.2 kB / 283.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.01119, allocations: 39.67 kB / 283.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.01153, allocations: 408 kB / 283.7 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.01156, allocations: 41.33 kB / 283.7 MB, free: 6.863 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.01156, allocations: 0 / 283.7 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001105/0.01266, allocations: 0.5566 MB / 284.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.01269, allocations: 59.34 kB / 284.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.0128, allocations: 228.9 kB / 284.6 MB, free: 5.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01282, allocations: 33.7 kB / 284.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.01289, allocations: 194.8 kB / 284.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.01293, allocations: 67.39 kB / 284.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.013, allocations: 75.23 kB / 284.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01311, allocations: 0.4962 MB / 285.4 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.01319, allocations: 47.97 kB / 285.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.01333, allocations: 213.1 kB / 285.7 MB, free: 4.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.01356, allocations: 285.7 kB / 286 MB, free: 4.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01356, allocations: 0 / 286 MB, free: 4.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002989/0.01386, allocations: 265.4 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01387, allocations: 11.94 kB / 286.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01388, allocations: 4 kB / 286.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01389, allocations: 11.92 kB / 286.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.01409, allocations: 75.89 kB / 286.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.01409, allocations: 4 kB / 286.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.01419, allocations: 15.98 kB / 286.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.01421, allocations: 16.25 kB / 286.4 MB, free: 4.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.99e-05/0.0143, allocations: 184.4 kB / 286.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.01434, allocations: 19.95 kB / 286.6 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.0146, allocations: 182.7 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01461, allocations: 7.938 kB / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01461, allocations: 0 / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01461, allocations: 0 / 286.7 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/0.01543, allocations: 0.5313 MB / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01543, allocations: 0 / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01556, allocations: 47.91 kB / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01557, allocations: 0 / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01558, allocations: 11.98 kB / 287.3 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01559, allocations: 4 kB / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01559, allocations: 0 / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.01593, allocations: 395 kB / 287.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.01597, allocations: 31.88 kB / 287.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.016, allocations: 4 kB / 287.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.0161, allocations: 8 kB / 287.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.01612, allocations: 15.97 kB / 287.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.01613, allocations: 15.92 kB / 287.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.01619, allocations: 150.2 kB / 287.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01619, allocations: 0 / 287.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.01645, allocations: 67.97 kB / 288 MB, free: 2.238 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.0001543/0.0166, allocations: 131.1 kB / 288.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01684, allocations: 175.1 kB / 288.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01684, allocations: 4 kB / 288.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.01693, allocations: 82.44 kB / 288.4 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.0172, allocations: 42.62 kB / 288.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.01812, allocations: 435.5 kB / 288.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.01817, allocations: 76.19 kB / 288.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.01831, allocations: 41.94 kB / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.01838, allocations: 32.48 kB / 289 MB, free: 1.168 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01838, allocations: 4 kB / 289 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Templates: time 0.004331/0.02271, allocations: 2.724 MB / 291.7 MB, free: 14.48 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] 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","",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.6385670728050172]