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.001173/0.001173, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001082/0.001082, allocations: 171.3 kB / 25.33 MB, free: 9.422 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.8731/0.8731, allocations: 158.6 MB / 187.2 MB, free: 2.918 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.262e-06/1.262e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.368e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004066/0.00408, allocations: 4.551 MB / 255.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.00545, allocations: 1.809 MB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.005513, allocations: 4 kB / 257.4 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.005746, allocations: 39.69 kB / 257.4 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.006038, allocations: 127.1 kB / 257.6 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.006518, allocations: 255.2 kB / 257.8 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.006805, allocations: 302.5 kB / 258.1 MB, free: 408 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.006842, allocations: 5.312 kB / 258.1 MB, free: 400 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.00709, allocations: 167.6 kB / 258.3 MB, free: 232 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.007185, allocations: 71.73 kB / 258.3 MB, free: 160 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.007209, allocations: 8 kB / 258.3 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.00738, allocations: 95.81 kB / 258.4 MB, free: 56 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.007439, allocations: 43.88 kB / 258.5 MB, free: 12 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.007503, allocations: 51.91 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.00775, allocations: 203.3 kB / 258.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007752, allocations: 0 / 258.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007752, allocations: 0 / 258.7 MB, free: 15.76 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.007756, allocations: 0 / 258.7 MB, free: 15.76 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.0007754/0.008532, allocations: 0.5041 MB / 259.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.008567, allocations: 15.98 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.008744, allocations: 44.7 kB / 259.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.008968, allocations: 148.4 kB / 259.4 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.008981, allocations: 8.656 kB / 259.4 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.009019, allocations: 20.36 kB / 259.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.009331, allocations: 373 kB / 259.8 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.009344, allocations: 8.125 kB / 259.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.009364, allocations: 8.125 kB / 259.8 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.009372, allocations: 8 kB / 259.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.009505, allocations: 95.8 kB / 260 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.01039, allocations: 1.107 MB / 261.1 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.01059, allocations: 115.3 kB / 261.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.01064, allocations: 39.67 kB / 261.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.01096, allocations: 419.9 kB / 261.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.01099, allocations: 45.39 kB / 261.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.01099, allocations: 0 / 261.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.00104/0.01203, allocations: 0.5559 MB / 262.2 MB, free: 12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.01205, allocations: 51.41 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.01215, allocations: 225.6 kB / 262.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.01217, allocations: 33.7 kB / 262.5 MB, free: 11.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.01224, allocations: 190.8 kB / 262.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.01228, allocations: 75.36 kB / 262.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.01235, allocations: 67.3 kB / 262.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01245, allocations: 0.5001 MB / 263.3 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.01252, allocations: 51.91 kB / 263.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.01265, allocations: 202.7 kB / 263.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.01287, allocations: 274.8 kB / 263.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01287, allocations: 7.938 kB / 263.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002862/0.01316, allocations: 265.6 kB / 264.1 MB, free: 9.883 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01317, allocations: 11.94 kB / 264.1 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01318, allocations: 4 kB / 264.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01319, allocations: 7.938 kB / 264.2 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.01337, allocations: 83.83 kB / 264.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01338, allocations: 4 kB / 264.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.889e-05/0.01347, allocations: 15.98 kB / 264.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.01349, allocations: 16 kB / 264.3 MB, free: 9.742 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.039e-05/0.01357, allocations: 168.6 kB / 264.4 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.01361, allocations: 31.84 kB / 264.5 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.01387, allocations: 190.6 kB / 264.7 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01388, allocations: 4 kB / 264.7 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.01389, allocations: 0 / 264.7 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01389, allocations: 0 / 264.7 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.01445, allocations: 0.5313 MB / 265.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01446, allocations: 0 / 265.2 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.01458, allocations: 47.91 kB / 265.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01459, allocations: 0 / 265.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.0146, allocations: 11.98 kB / 265.2 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.01461, allocations: 4 kB / 265.3 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01461, allocations: 0 / 265.3 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.01495, allocations: 398.8 kB / 265.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.01496, allocations: 11.91 kB / 265.7 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01498, allocations: 8 kB / 265.7 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.01508, allocations: 7.984 kB / 265.7 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.0151, allocations: 15.92 kB / 265.7 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.01512, allocations: 11.98 kB / 265.7 MB, free: 8.211 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.01542, allocations: 156 kB / 265.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01542, allocations: 0 / 265.8 MB, free: 8.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01566, allocations: 63.94 kB / 265.9 MB, free: 7.996 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.0001572/0.01582, allocations: 135.1 kB / 266 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01605, allocations: 172.7 kB / 266.2 MB, free: 7.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01605, allocations: 7.938 kB / 266.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.01613, allocations: 75.53 kB / 266.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01637, allocations: 43.95 kB / 266.3 MB, free: 7.555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.0172, allocations: 418.7 kB / 266.7 MB, free: 7.102 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.01724, allocations: 72.34 kB / 266.8 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.01737, allocations: 45.92 kB / 266.9 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.01743, allocations: 28.48 kB / 266.9 MB, free: 6.934 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01743, allocations: 0 / 266.9 MB, free: 6.934 MB / 250.7 MB Notification: Performance of Templates: time 0.004375/0.02181, allocations: 2.964 MB / 269.9 MB, free: 3.996 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.5364796672947705]