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.001963/0.001963, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.002253/0.002253, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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 1.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001888/0.001888, allocations: 67.88 kB / 373.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1016, allocations: 53.31 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.2022/0.3038, allocations: 4.565 MB / 431.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3057, allocations: 1.814 MB / 433.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.3057, allocations: 2.531 kB / 433.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.306, allocations: 43.8 kB / 433.6 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3063, allocations: 129.6 kB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.3068, allocations: 255.8 kB / 433.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3071, allocations: 293.4 kB / 434.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.3071, allocations: 5.406 kB / 434.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3074, allocations: 125.9 kB / 434.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3075, allocations: 87.11 kB / 434.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3075, allocations: 11.81 kB / 434.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.3077, allocations: 105.8 kB / 434.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.3078, allocations: 38.38 kB / 434.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.3078, allocations: 79.98 kB / 434.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.3081, allocations: 225.1 kB / 434.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3081, allocations: 0 / 434.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3081, allocations: 1.625 kB / 434.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3082, allocations: 0 / 434.9 MB, free: 7.914 MB / 350.1 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.0008409/0.309, allocations: 496.4 kB / 435.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.309, allocations: 19.12 kB / 435.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.3092, allocations: 21.55 kB / 435.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3094, allocations: 205.2 kB / 435.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3094, allocations: 12.38 kB / 435.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.3095, allocations: 20.56 kB / 435.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.3099, allocations: 212.6 kB / 435.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3099, allocations: 3.297 kB / 435.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3099, allocations: 5.938 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3099, allocations: 4.5 kB / 435.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.3103, allocations: 151.5 kB / 436 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3113, allocations: 0.9433 MB / 436.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.3117, allocations: 142.1 kB / 437.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3119, allocations: 56.39 kB / 437.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.3123, allocations: 0.5121 MB / 437.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3123, allocations: 36.81 kB / 437.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3123, allocations: 0 / 437.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00248/0.3148, allocations: 0.769 MB / 438.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3148, allocations: 61.25 kB / 438.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3149, allocations: 155.7 kB / 438.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3149, allocations: 28.58 kB / 438.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.315, allocations: 142.9 kB / 438.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.315, allocations: 75.66 kB / 438.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.3151, allocations: 57.97 kB / 439 MB, free: 5.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.3152, allocations: 323.1 kB / 439.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.3154, allocations: 92.12 kB / 439.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.3157, allocations: 186.2 kB / 439.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.3163, allocations: 292.9 kB / 439.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3163, allocations: 5.031 kB / 439.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006859/0.317, allocations: 326.4 kB / 440.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.317, allocations: 6.906 kB / 440.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.317, allocations: 3.656 kB / 440.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.317, allocations: 11.03 kB / 440.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3174, allocations: 81.97 kB / 440.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3174, allocations: 10.75 kB / 440.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.3176, allocations: 15.62 kB / 440.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3176, allocations: 16.53 kB / 440.3 MB, free: 4.535 MB / 350.1 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.906e-05/0.3177, allocations: 135.2 kB / 440.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.3178, allocations: 19.44 kB / 440.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.3184, allocations: 239.7 kB / 440.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3184, allocations: 3.266 kB / 440.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3184, allocations: 0 / 440.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3185, allocations: 6.328 kB / 440.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.3196, allocations: 0.6018 MB / 441.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3197, allocations: 1.75 kB / 441.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3199, allocations: 55.89 kB / 441.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.32, allocations: 2.375 kB / 441.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.32, allocations: 5.188 kB / 441.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.32, allocations: 6.281 kB / 441.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.32, allocations: 3.391 kB / 441.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.3208, allocations: 412 kB / 441.8 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3208, allocations: 107.6 kB / 441.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3209, allocations: 6.031 kB / 441.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3211, allocations: 16.11 kB / 441.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.3212, allocations: 19.03 kB / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3212, allocations: 9.734 kB / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.3213, allocations: 112.5 kB / 442 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3213, allocations: 0 / 442 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003896/0.3216, allocations: 63.28 kB / 442.1 MB, free: 3.617 MB / 350.1 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.0001848/0.3218, allocations: 124 kB / 442.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.3224, allocations: 213.6 kB / 442.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3224, allocations: 0 / 442.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.3227, allocations: 82.3 kB / 442.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.3231, allocations: 49.36 kB / 442.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009417/0.324, allocations: 496.7 kB / 443.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3242, allocations: 0.714 MB / 443.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.3244, allocations: 45.97 kB / 443.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.3245, allocations: 24.94 kB / 443.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3245, allocations: 0 / 443.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Templates: time 0.006573/0.331, allocations: 2.729 MB / 446.6 MB, free: 2.27 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.487601543776691]