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.001586/0.001586, allocations: 96.31 kB / 21.73 MB, free: 2.68 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.001599/0.001599, allocations: 160.6 kB / 25.02 MB, free: 8.449 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.542/1.542, allocations: 158.6 MB / 186.8 MB, free: 2.887 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 2.014e-06/2.014e-06, allocations: 0 / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.585e-05, allocations: 6.109 kB / 250.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007561/0.007597, allocations: 4.212 MB / 254.6 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.01025, allocations: 1.626 MB / 256.2 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.01033, allocations: 0 / 256.2 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.01062, allocations: 39.69 kB / 256.2 MB, free: 1.949 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.01105, allocations: 131.1 kB / 256.3 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.0118, allocations: 255.2 kB / 256.6 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.01222, allocations: 290.8 kB / 256.9 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.01227, allocations: 9.297 kB / 256.9 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.01262, allocations: 163.6 kB / 257.1 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.01276, allocations: 75.77 kB / 257.1 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.0128, allocations: 8 kB / 257.1 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.01303, allocations: 95.75 kB / 257.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.01312, allocations: 39.89 kB / 257.3 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.01323, allocations: 63.83 kB / 257.3 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.01364, allocations: 227.4 kB / 257.6 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01365, allocations: 0 / 257.6 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01365, allocations: 0 / 257.6 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.01365, allocations: 3.938 kB / 257.6 MB, free: 0.6094 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.001052/0.01471, allocations: 417.8 kB / 258 MB, free: 176 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.01475, allocations: 19.98 kB / 258 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.015, allocations: 44.7 kB / 258 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.01537, allocations: 145.6 kB / 258.2 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.01539, allocations: 8.656 kB / 258.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.01544, allocations: 20.38 kB / 258.2 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.01605, allocations: 375.4 kB / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.01608, allocations: 8.078 kB / 258.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.01611, allocations: 8.125 kB / 258.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.01612, allocations: 8 kB / 258.6 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.01653, allocations: 147.8 kB / 258.7 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.01805, allocations: 0.8445 MB / 259.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.0185, allocations: 142.8 kB / 259.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.01867, allocations: 56.83 kB / 259.8 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/0.01922, allocations: 336.1 kB / 260.1 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.01926, allocations: 30.56 kB / 260.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.01926, allocations: 0 / 260.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.002845/0.0221, allocations: 0.6958 MB / 260.8 MB, free: 13.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.02216, allocations: 55.41 kB / 260.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.02235, allocations: 166.2 kB / 261 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.02238, allocations: 29.7 kB / 261.1 MB, free: 12.83 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.02251, allocations: 148 kB / 261.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.02259, allocations: 71.42 kB / 261.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.02271, allocations: 61.64 kB / 261.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.0229, allocations: 326.8 kB / 261.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.02318, allocations: 87.88 kB / 261.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.02382, allocations: 201.1 kB / 261.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.02449, allocations: 285.5 kB / 262.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.0245, allocations: 8 kB / 262.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008281/0.02533, allocations: 333.5 kB / 262.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.02535, allocations: 19.22 kB / 262.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.02536, allocations: 4 kB / 262.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.02539, allocations: 4 kB / 262.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.0258, allocations: 79.89 kB / 262.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.02582, allocations: 15.92 kB / 262.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.02607, allocations: 15.98 kB / 262.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.02612, allocations: 16 kB / 262.7 MB, free: 11.07 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.0001694/0.02629, allocations: 137.7 kB / 262.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.02636, allocations: 23.84 kB / 262.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.02714, allocations: 242.5 kB / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.02714, allocations: 0 / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02715, allocations: 0 / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02715, allocations: 0 / 263.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.02862, allocations: 0.5287 MB / 263.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.02862, allocations: 0 / 263.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.02896, allocations: 56.09 kB / 263.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.02896, allocations: 0 / 263.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.02899, allocations: 7.984 kB / 263.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.02899, allocations: 7.938 kB / 263.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02899, allocations: 0 / 263.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.03, allocations: 411.1 kB / 264.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.03003, allocations: 15.92 kB / 264.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.03007, allocations: 8 kB / 264.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.03032, allocations: 19.92 kB / 264.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.03035, allocations: 11.92 kB / 264.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.03038, allocations: 11.98 kB / 264.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.03049, allocations: 116.1 kB / 264.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03049, allocations: 3.938 kB / 264.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004292/0.03092, allocations: 68 kB / 264.4 MB, free: 9.328 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.0002869/0.0312, allocations: 127.1 kB / 264.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006931/0.0319, allocations: 211.6 kB / 264.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.0319, allocations: 0 / 264.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.03216, allocations: 81.08 kB / 264.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.03262, allocations: 55.95 kB / 264.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.0338, allocations: 417.3 kB / 265.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.03393, allocations: 103.2 kB / 265.3 MB, free: 8.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.03416, allocations: 45.94 kB / 265.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.03427, allocations: 28.42 kB / 265.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03427, allocations: 0 / 265.4 MB, free: 8.211 MB / 250.7 MB Notification: Performance of Templates: time 0.007494/0.04176, allocations: 2.714 MB / 268.1 MB, free: 5.523 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] 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.479461342911236]