Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002385, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00079/0.00079, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.002758, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9618/0.9618, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08592/1.048, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.882e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004362/0.004381, allocations: 4.673 MB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.005853, allocations: 1.825 MB / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.005929, allocations: 7.938 kB / 251.5 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.006086, allocations: 35.7 kB / 251.5 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.006343, allocations: 131.1 kB / 251.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.006813, allocations: 258.2 kB / 251.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.007086, allocations: 298.7 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.007123, allocations: 9.969 kB / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.007362, allocations: 175.6 kB / 252.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.007445, allocations: 63.8 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.007464, allocations: 15.94 kB / 252.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.007659, allocations: 91.86 kB / 252.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.00771, allocations: 27.94 kB / 252.6 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.00776, allocations: 47.88 kB / 252.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.00799, allocations: 175.5 kB / 252.8 MB, free: 5.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.008, allocations: 4 kB / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008001, allocations: 0 / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.008011, allocations: 0 / 252.8 MB, free: 5.82 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.0005841/0.008595, allocations: 0.505 MB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.008624, allocations: 8.625 kB / 253.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.00875, allocations: 48.78 kB / 253.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.008892, allocations: 149.5 kB / 253.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.008902, allocations: 8.656 kB / 253.5 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.008928, allocations: 16.38 kB / 253.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.009156, allocations: 348.9 kB / 253.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.009169, allocations: 4.188 kB / 253.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.009185, allocations: 8.125 kB / 253.9 MB, free: 4.605 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.009191, allocations: 7.984 kB / 253.9 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.009281, allocations: 74.7 kB / 254 MB, free: 4.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.009887, allocations: 0.7522 MB / 254.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.01004, allocations: 141.2 kB / 254.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.01007, allocations: 28.8 kB / 254.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.01033, allocations: 330.4 kB / 255.2 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.01035, allocations: 34.56 kB / 255.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.01035, allocations: 0 / 255.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.001138/0.01149, allocations: 0.6217 MB / 255.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.01151, allocations: 55.41 kB / 255.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.01159, allocations: 164.1 kB / 256.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01161, allocations: 29.7 kB / 256.1 MB, free: 2.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.01165, allocations: 136.1 kB / 256.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.01169, allocations: 83.3 kB / 256.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.01175, allocations: 61.62 kB / 256.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.01182, allocations: 330.7 kB / 256.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.01186, allocations: 38.81 kB / 256.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.01194, allocations: 145.4 kB / 256.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.01209, allocations: 222.4 kB / 257.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0121, allocations: 0 / 257.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001969/0.01229, allocations: 208 kB / 257.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01231, allocations: 8 kB / 257.3 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01231, allocations: 4 kB / 257.3 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.01232, allocations: 4 kB / 257.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.01253, allocations: 92.34 kB / 257.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01253, allocations: 11.94 kB / 257.4 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.01262, allocations: 12 kB / 257.4 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.01264, allocations: 15.98 kB / 257.5 MB, free: 0.7773 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 7.549e-05/0.01271, allocations: 128.5 kB / 257.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.01274, allocations: 19.98 kB / 257.6 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.01293, allocations: 146.5 kB / 257.7 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.01293, allocations: 4 kB / 257.7 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01293, allocations: 4 kB / 257.8 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01294, allocations: 0 / 257.8 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.01348, allocations: 425.5 kB / 258.2 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01348, allocations: 4 kB / 258.2 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.01365, allocations: 59.88 kB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.01369, allocations: 28.02 kB / 258.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01369, allocations: 0 / 258.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01371, allocations: 7.938 kB / 258.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.01371, allocations: 4 kB / 258.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01371, allocations: 0 / 258.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.01396, allocations: 325.1 kB / 258.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01398, allocations: 4 kB / 258.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.01408, allocations: 15.97 kB / 258.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.0141, allocations: 15.97 kB / 258.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.01411, allocations: 8 kB / 258.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.01414, allocations: 33.42 kB / 258.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01414, allocations: 0 / 258.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01437, allocations: 63.94 kB / 258.7 MB, free: 15.43 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.0001483/0.01452, allocations: 112.2 kB / 258.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01469, allocations: 140.5 kB / 259 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.0147, allocations: 8 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.01476, allocations: 61.7 kB / 259 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.015, allocations: 72.02 kB / 259.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.01763, allocations: 407.8 kB / 259.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01767, allocations: 76.33 kB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.01778, allocations: 37.95 kB / 259.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.01792, allocations: 103.3 kB / 259.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01792, allocations: 0 / 259.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Templates: time 0.004025/0.02195, allocations: 3.077 MB / 262.8 MB, free: 11.3 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.424393082037568]