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.001151/0.001151, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002596, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001212/0.001212, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.002874, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.084/1.084, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1958/1.28, allocations: 49.51 MB / 220.7 MB, free: 1.348 MB / 218.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 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.485e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005048/0.005073, allocations: 4.61 MB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.00709, allocations: 1.833 MB / 228.4 MB, free: 9.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.007174, allocations: 4 kB / 228.4 MB, free: 9.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.007349, allocations: 31.77 kB / 228.4 MB, free: 9.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.007628, allocations: 127.1 kB / 228.6 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.008138, allocations: 251.2 kB / 228.8 MB, free: 9.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.008387, allocations: 294.7 kB / 229.1 MB, free: 8.895 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.008446, allocations: 25.61 kB / 229.1 MB, free: 8.867 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.008715, allocations: 167.6 kB / 229.3 MB, free: 8.703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.008829, allocations: 67.8 kB / 229.4 MB, free: 8.637 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.008854, allocations: 8 kB / 229.4 MB, free: 8.629 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.009073, allocations: 103.8 kB / 229.5 MB, free: 8.527 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.009156, allocations: 27.92 kB / 229.5 MB, free: 8.5 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.009215, allocations: 47.88 kB / 229.5 MB, free: 8.453 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.009478, allocations: 167.5 kB / 229.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-05/0.009496, allocations: 0 / 229.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.0095, allocations: 0 / 229.7 MB, free: 8.289 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.009512, allocations: 0 / 229.7 MB, free: 8.289 MB / 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.0008008/0.01031, allocations: 0.4934 MB / 230.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.01036, allocations: 12.03 kB / 230.2 MB, free: 7.742 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01051, allocations: 44.73 kB / 230.3 MB, free: 7.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.01071, allocations: 137.6 kB / 230.4 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.01072, allocations: 16.59 kB / 230.4 MB, free: 7.523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.01076, allocations: 20.33 kB / 230.4 MB, free: 7.504 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.01105, allocations: 346.8 kB / 230.8 MB, free: 7.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.01106, allocations: 192 / 230.8 MB, free: 7.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.01108, allocations: 12.12 kB / 230.8 MB, free: 7.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.01109, allocations: 4 kB / 230.8 MB, free: 7.086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.01119, allocations: 82.7 kB / 230.9 MB, free: 7.004 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.01193, allocations: 0.7482 MB / 231.6 MB, free: 6.219 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01212, allocations: 141.2 kB / 231.7 MB, free: 6.07 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.01216, allocations: 28.84 kB / 231.8 MB, free: 6.039 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.01252, allocations: 338.4 kB / 232.1 MB, free: 5.695 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.01255, allocations: 34.56 kB / 232.1 MB, free: 5.652 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.01256, allocations: 0 / 232.1 MB, free: 5.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.00139/0.01395, allocations: 0.6411 MB / 232.8 MB, free: 4.977 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.01398, allocations: 51.41 kB / 232.8 MB, free: 4.914 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.01408, allocations: 170.3 kB / 233 MB, free: 4.734 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.0141, allocations: 33.7 kB / 233 MB, free: 4.695 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.01417, allocations: 136.1 kB / 233.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.01422, allocations: 87.34 kB / 233.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.01428, allocations: 57.64 kB / 233.3 MB, free: 4.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.01438, allocations: 326.8 kB / 233.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.01442, allocations: 34.81 kB / 233.7 MB, free: 4.047 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.01452, allocations: 149.4 kB / 233.8 MB, free: 3.852 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01471, allocations: 223 kB / 234 MB, free: 3.582 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01471, allocations: 8 kB / 234 MB, free: 3.574 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002052/0.01492, allocations: 200 kB / 234.2 MB, free: 3.371 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01494, allocations: 8.469 kB / 234.2 MB, free: 3.363 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.01495, allocations: 8 kB / 234.2 MB, free: 3.355 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.01496, allocations: 4 kB / 234.2 MB, free: 3.352 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.01517, allocations: 99.75 kB / 234.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01518, allocations: 7.938 kB / 234.3 MB, free: 3.246 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.231e-05/0.01526, allocations: 16 kB / 234.4 MB, free: 3.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.01528, allocations: 15.98 kB / 234.4 MB, free: 3.215 MB / 234.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.87e-05/0.01537, allocations: 128.5 kB / 234.5 MB, free: 3.078 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.0154, allocations: 23.92 kB / 234.5 MB, free: 3.055 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.0156, allocations: 138.7 kB / 234.7 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0156, allocations: 4 kB / 234.7 MB, free: 2.906 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.0156, allocations: 3.938 kB / 234.7 MB, free: 2.902 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01561, allocations: 0 / 234.7 MB, free: 2.902 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.01651, allocations: 414.1 kB / 235.1 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01652, allocations: 8.031 kB / 235.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.01667, allocations: 59.83 kB / 235.1 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01669, allocations: 19.88 kB / 235.2 MB, free: 2.375 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.0167, allocations: 4 kB / 235.2 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01671, allocations: 8 kB / 235.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01672, allocations: 0 / 235.2 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.01672, allocations: 4 kB / 235.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.017, allocations: 329.9 kB / 235.5 MB, free: 2.008 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.01703, allocations: 4 kB / 235.5 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.01712, allocations: 12 kB / 235.5 MB, free: 1.992 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.01714, allocations: 11.97 kB / 235.5 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01715, allocations: 4 kB / 235.5 MB, free: 1.977 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.01718, allocations: 37.7 kB / 235.6 MB, free: 1.938 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01718, allocations: 0 / 235.6 MB, free: 1.938 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000227/0.01741, allocations: 63.94 kB / 235.6 MB, free: 1.875 MB / 234.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.000207/0.01761, allocations: 120.2 kB / 235.7 MB, free: 1.75 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.0178, allocations: 150.4 kB / 235.9 MB, free: 1.602 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.01781, allocations: 8.094 kB / 235.9 MB, free: 1.594 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.01788, allocations: 68.77 kB / 236 MB, free: 1.523 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.01819, allocations: 67.94 kB / 236 MB, free: 1.457 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.02075, allocations: 407.8 kB / 236.4 MB, free: 1.02 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.0208, allocations: 76.28 kB / 236.5 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.02094, allocations: 37.95 kB / 236.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.0211, allocations: 95.33 kB / 236.6 MB, free: 0.793 MB / 234.7 MB Notification: Performance of SimCode: time 1.172e-06/0.0211, allocations: 0 / 236.6 MB, free: 0.793 MB / 234.7 MB Notification: Performance of Templates: time 0.005352/0.02645, allocations: 3.007 MB / 239.6 MB, free: 13.79 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.676791550591588]