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.001382/0.001382, allocations: 79.75 kB / 22.45 MB, free: 2.098 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.001033/0.001033, allocations: 169.8 kB / 25.75 MB, free: 8.598 MB / 18.57 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 0.8449/0.8449, allocations: 158.6 MB / 187.5 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 251.1 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.645e-05, allocations: 6.25 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00406/0.004076, allocations: 4.547 MB / 255.6 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.005561, allocations: 1.802 MB / 257.4 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.005627, allocations: 4 kB / 257.4 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.005851, allocations: 39.73 kB / 257.5 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.006126, allocations: 135.1 kB / 257.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.006559, allocations: 247.2 kB / 257.9 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.006823, allocations: 302.6 kB / 258.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.006864, allocations: 9.312 kB / 258.2 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.007089, allocations: 167.6 kB / 258.3 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.007177, allocations: 71.78 kB / 258.4 MB, free: 484 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.007198, allocations: 8 kB / 258.4 MB, free: 476 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.007348, allocations: 95.8 kB / 258.5 MB, free: 380 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.007406, allocations: 35.89 kB / 258.5 MB, free: 344 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.007468, allocations: 63.89 kB / 258.6 MB, free: 280 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.007709, allocations: 195.4 kB / 258.8 MB, free: 84 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007712, allocations: 3.984 kB / 258.8 MB, free: 80 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007713, allocations: 4 kB / 258.8 MB, free: 76 kB / 234.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.007717, allocations: 0 / 258.8 MB, free: 76 kB / 234.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.0005851/0.008302, allocations: 0.5002 MB / 259.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.008339, allocations: 11.98 kB / 259.3 MB, free: 15.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.00849, allocations: 40.72 kB / 259.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.008651, allocations: 152.4 kB / 259.5 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.008664, allocations: 16.66 kB / 259.5 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.0087, allocations: 24.36 kB / 259.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.00899, allocations: 365 kB / 259.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.009001, allocations: 4.141 kB / 259.9 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.009021, allocations: 12.12 kB / 259.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009029, allocations: 4 kB / 259.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.009162, allocations: 99.8 kB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.009956, allocations: 1.115 MB / 261.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.01013, allocations: 115.3 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.01017, allocations: 35.67 kB / 261.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.01047, allocations: 415.9 kB / 261.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01049, allocations: 37.39 kB / 261.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.01049, allocations: 0 / 261.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001034/0.01152, allocations: 0.5676 MB / 262.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.01155, allocations: 55.41 kB / 262.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01165, allocations: 225.6 kB / 262.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.01166, allocations: 29.7 kB / 262.6 MB, free: 11.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.01173, allocations: 186.9 kB / 262.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.01177, allocations: 75.34 kB / 262.8 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.01183, allocations: 67.31 kB / 262.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.01201, allocations: 0.4962 MB / 263.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.01209, allocations: 55.95 kB / 263.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.01223, allocations: 206.7 kB / 263.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.01245, allocations: 274.7 kB / 263.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01245, allocations: 0 / 263.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000281/0.01273, allocations: 277.1 kB / 264.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01275, allocations: 7.938 kB / 264.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01275, allocations: 4 kB / 264.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01277, allocations: 11.94 kB / 264.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.01294, allocations: 80.36 kB / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01295, allocations: 4 kB / 264.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.01304, allocations: 12 kB / 264.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.01306, allocations: 19.98 kB / 264.3 MB, free: 10.05 MB / 250.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.142e-05/0.01314, allocations: 172.5 kB / 264.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.01318, allocations: 27.84 kB / 264.5 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.01342, allocations: 182.7 kB / 264.7 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01342, allocations: 0 / 264.7 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01343, allocations: 4 kB / 264.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01343, allocations: 7.984 kB / 264.7 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.01396, allocations: 0.5196 MB / 265.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01396, allocations: 0 / 265.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01409, allocations: 51.89 kB / 265.3 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01409, allocations: 4.125 kB / 265.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01411, allocations: 12 kB / 265.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01411, allocations: 0 / 265.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01411, allocations: 0 / 265.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.01444, allocations: 398.6 kB / 265.7 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.01445, allocations: 15.91 kB / 265.7 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.01447, allocations: 4 kB / 265.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.01457, allocations: 8 kB / 265.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.01459, allocations: 27.92 kB / 265.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01461, allocations: 12 kB / 265.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.01466, allocations: 152 kB / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01466, allocations: 0 / 265.9 MB, free: 8.371 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000237/0.0149, allocations: 59.94 kB / 266 MB, free: 8.312 MB / 250.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.0001498/0.01505, allocations: 139 kB / 266.1 MB, free: 8.168 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.01528, allocations: 167.9 kB / 266.3 MB, free: 8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01528, allocations: 3.938 kB / 266.3 MB, free: 7.996 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.01536, allocations: 80.45 kB / 266.3 MB, free: 7.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.0156, allocations: 48.22 kB / 266.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.0164, allocations: 418.3 kB / 266.8 MB, free: 7.414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01645, allocations: 68.34 kB / 266.9 MB, free: 7.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.01658, allocations: 49.92 kB / 266.9 MB, free: 7.277 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.01664, allocations: 28.42 kB / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01665, allocations: 0 / 266.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of Templates: time 0.004089/0.02073, allocations: 2.722 MB / 269.7 MB, free: 4.551 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.656493169022724]