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.000964/0.000964, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.000981/0.000981, allocations: 166.3 kB / 25.7 MB, free: 7.941 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.8577/0.8577, allocations: 158.6 MB / 187.6 MB, free: 2.805 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.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.666e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004139/0.004156, allocations: 4.598 MB / 256.1 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.005473, allocations: 1.825 MB / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.005519, allocations: 0 / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.005727, allocations: 39.7 kB / 258 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.005961, allocations: 127.1 kB / 258.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.006401, allocations: 255.2 kB / 258.4 MB, free: 380 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.006636, allocations: 298.6 kB / 258.7 MB, free: 80 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.006675, allocations: 9.953 kB / 258.7 MB, free: 68 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.006886, allocations: 163.6 kB / 258.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.006973, allocations: 71.8 kB / 258.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.006993, allocations: 8 kB / 258.9 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.007141, allocations: 87.88 kB / 259 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.007196, allocations: 55.8 kB / 259.1 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.007242, allocations: 51.91 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.007456, allocations: 199.4 kB / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.007458, allocations: 0 / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.007459, allocations: 0 / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.007462, allocations: 0 / 259.3 MB, free: 15.44 MB / 250.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.0005143/0.007976, allocations: 388.5 kB / 259.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.008005, allocations: 15.98 kB / 259.7 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.008134, allocations: 52.67 kB / 259.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.008279, allocations: 133.7 kB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.008289, allocations: 8.656 kB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.008318, allocations: 24.27 kB / 259.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.008551, allocations: 342.9 kB / 260.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.008563, allocations: 4.188 kB / 260.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.008579, allocations: 8.125 kB / 260.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.008585, allocations: 4 kB / 260.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.008678, allocations: 82.66 kB / 260.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.009292, allocations: 0.7483 MB / 261.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.009433, allocations: 141.2 kB / 261.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.009471, allocations: 28.84 kB / 261.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.009727, allocations: 334.3 kB / 261.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.009748, allocations: 42.5 kB / 261.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.009749, allocations: 0 / 261.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001163/0.01091, allocations: 0.6139 MB / 262.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.01093, allocations: 55.41 kB / 262.3 MB, free: 12.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.01101, allocations: 166.3 kB / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.01102, allocations: 29.7 kB / 262.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.01107, allocations: 144.1 kB / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.01112, allocations: 79.3 kB / 262.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.01117, allocations: 57.64 kB / 262.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.01124, allocations: 326.8 kB / 263.1 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.01129, allocations: 46.8 kB / 263.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.01137, allocations: 141.4 kB / 263.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.01154, allocations: 215.1 kB / 263.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01154, allocations: 4 kB / 263.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001887/0.01173, allocations: 208 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.01174, allocations: 4 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01174, allocations: 4.469 kB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01176, allocations: 8 kB / 263.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.01195, allocations: 87.88 kB / 263.8 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01195, allocations: 8 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.034e-05/0.01203, allocations: 11.94 kB / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.01205, allocations: 23.98 kB / 263.8 MB, free: 10.54 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 6.85e-05/0.01212, allocations: 128.5 kB / 264 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.01215, allocations: 19.98 kB / 264 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01233, allocations: 142.7 kB / 264.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01233, allocations: 4 kB / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01233, allocations: 0 / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01234, allocations: 0 / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.01276, allocations: 418 kB / 264.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01276, allocations: 3.938 kB / 264.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.01289, allocations: 56.08 kB / 264.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0129, allocations: 0 / 264.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01291, allocations: 15.92 kB / 264.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01291, allocations: 4 kB / 264.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01291, allocations: 0 / 264.6 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.01313, allocations: 325.7 kB / 264.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01314, allocations: 15.89 kB / 264.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01316, allocations: 15.97 kB / 264.9 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.01325, allocations: 7.984 kB / 265 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.01327, allocations: 15.98 kB / 265 MB, free: 9.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01328, allocations: 11.92 kB / 265 MB, free: 9.301 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.373e-05/0.01331, allocations: 37.66 kB / 265 MB, free: 9.262 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 265 MB, free: 9.262 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01351, allocations: 59.94 kB / 265.1 MB, free: 9.203 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.0001986/0.01371, allocations: 112.3 kB / 265.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01386, allocations: 145.9 kB / 265.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.01387, allocations: 0 / 265.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.01392, allocations: 61.47 kB / 265.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01412, allocations: 47.94 kB / 265.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.01481, allocations: 427.1 kB / 265.9 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.01485, allocations: 76.34 kB / 265.9 MB, free: 8.281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.01498, allocations: 45.92 kB / 266 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01512, allocations: 91.33 kB / 266.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01512, allocations: 0 / 266.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of Templates: time 0.004082/0.0192, allocations: 3.017 MB / 269.1 MB, free: 5.145 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 -s gbode -gbm=radauIIA3 -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.4863056940957904]