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.002005/0.002005, allocations: 99.53 kB / 21.73 MB, free: 2.684 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.002139/0.002139, allocations: 166.1 kB / 25.03 MB, free: 8.418 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 1.415/1.415, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.763e-06/1.763e-06, allocations: 0 / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.828e-05, allocations: 2.312 kB / 250.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007323/0.007351, allocations: 4.526 MB / 254.9 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.009855, allocations: 1.802 MB / 256.7 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.009924, allocations: 3.938 kB / 256.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.01019, allocations: 39.75 kB / 256.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.01058, allocations: 127.1 kB / 256.8 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.01125, allocations: 255.1 kB / 257.1 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.01166, allocations: 294.8 kB / 257.4 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.0117, allocations: 9.312 kB / 257.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.01207, allocations: 167.6 kB / 257.5 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.01221, allocations: 71.78 kB / 257.6 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.01225, allocations: 8 kB / 257.6 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000251/0.0125, allocations: 91.81 kB / 257.7 MB, free: 436 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.01259, allocations: 43.88 kB / 257.8 MB, free: 392 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.01269, allocations: 55.91 kB / 257.8 MB, free: 336 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.01314, allocations: 231.3 kB / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01314, allocations: 0 / 258 MB, free: 104 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01314, allocations: 4 kB / 258 MB, free: 100 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.01315, allocations: 0 / 258 MB, free: 100 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.00107/0.01422, allocations: 0.5037 MB / 258.5 MB, free: 15.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.01427, allocations: 11.98 kB / 258.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.01452, allocations: 48.7 kB / 258.6 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.01481, allocations: 144.5 kB / 258.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.01492, allocations: 16.64 kB / 258.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.01497, allocations: 16.38 kB / 258.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.01556, allocations: 380.3 kB / 259.1 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.01558, allocations: 4.141 kB / 259.2 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.01561, allocations: 12.12 kB / 259.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.01563, allocations: 7.984 kB / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.01598, allocations: 123.8 kB / 259.3 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.01767, allocations: 1.134 MB / 260.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.01819, allocations: 147.3 kB / 260.6 MB, free: 13.37 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.01832, allocations: 43.67 kB / 260.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.01889, allocations: 423.8 kB / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.01893, allocations: 41.39 kB / 261.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.01894, allocations: 0 / 261.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.00232/0.02126, allocations: 0.6495 MB / 261.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.0213, allocations: 55.41 kB / 261.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.02152, allocations: 233.7 kB / 262 MB, free: 11.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.02155, allocations: 29.7 kB / 262 MB, free: 11.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.02169, allocations: 194.8 kB / 262.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.02178, allocations: 75.41 kB / 262.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02189, allocations: 67.31 kB / 262.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002844/0.02218, allocations: 0.504 MB / 262.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.0224, allocations: 71.97 kB / 262.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.02277, allocations: 246.6 kB / 263.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.02336, allocations: 318.8 kB / 263.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02337, allocations: 4 kB / 263.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006942/0.02406, allocations: 317.1 kB / 263.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.02409, allocations: 11.94 kB / 263.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.0241, allocations: 4 kB / 263.8 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.02412, allocations: 4 kB / 263.8 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.0245, allocations: 84.3 kB / 263.9 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.02452, allocations: 15.92 kB / 263.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.02471, allocations: 12 kB / 263.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.02499, allocations: 12 kB / 263.9 MB, free: 9.723 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 0.000179/0.02517, allocations: 176.5 kB / 264.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.02525, allocations: 27.84 kB / 264.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.02587, allocations: 226.6 kB / 264.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.02587, allocations: 4 kB / 264.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02588, allocations: 0 / 264.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.02588, allocations: 4 kB / 264.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.02719, allocations: 0.5815 MB / 265 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.02719, allocations: 0 / 265 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.02747, allocations: 43.97 kB / 265 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.02747, allocations: 0 / 265 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.0275, allocations: 11.98 kB / 265 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.02751, allocations: 8.125 kB / 265 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.02751, allocations: 3.938 kB / 265 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.02835, allocations: 446.9 kB / 265.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.02838, allocations: 11.91 kB / 265.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.02842, allocations: 8 kB / 265.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.02862, allocations: 7.984 kB / 265.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.02866, allocations: 23.86 kB / 265.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.02869, allocations: 12.02 kB / 265.5 MB, free: 8.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.02882, allocations: 160 kB / 265.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02882, allocations: 0 / 265.7 MB, free: 7.883 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.02922, allocations: 63.94 kB / 265.7 MB, free: 7.82 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.0002658/0.02948, allocations: 131.1 kB / 265.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.03007, allocations: 219.3 kB / 266.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03007, allocations: 0 / 266.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.0303, allocations: 96.7 kB / 266.2 MB, free: 7.367 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.03073, allocations: 51.95 kB / 266.2 MB, free: 7.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.03175, allocations: 422.4 kB / 266.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.03187, allocations: 103.2 kB / 266.7 MB, free: 6.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.0321, allocations: 45.92 kB / 266.8 MB, free: 6.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.03219, allocations: 28.48 kB / 266.8 MB, free: 6.66 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03219, allocations: 4 kB / 266.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of Templates: time 0.007602/0.0398, allocations: 2.726 MB / 269.5 MB, free: 3.953 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.448258665041067]