Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001482/0.001482, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001581/0.001581, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.92 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.2176/0.3193, allocations: 4.549 MB / 431.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3213, allocations: 1.82 MB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3215, allocations: 1.219 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.3217, allocations: 43.22 kB / 433.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.3221, allocations: 128 kB / 433.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.3229, allocations: 256.5 kB / 433.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.3232, allocations: 291.8 kB / 433.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3233, allocations: 5.062 kB / 433.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3235, allocations: 130.5 kB / 434 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3236, allocations: 83.88 kB / 434.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3236, allocations: 9.875 kB / 434.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3239, allocations: 106.9 kB / 434.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.3239, allocations: 43.56 kB / 434.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.324, allocations: 75.02 kB / 434.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.3243, allocations: 227.5 kB / 434.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3243, allocations: 4.875 kB / 434.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3243, allocations: 1.031 kB / 434.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3244, allocations: 0 / 434.5 MB, free: 7.852 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.0008831/0.3252, allocations: 493.6 kB / 435 MB, free: 7.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3253, allocations: 13.66 kB / 435 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3255, allocations: 24.34 kB / 435.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.3257, allocations: 205.4 kB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3257, allocations: 8.875 kB / 435.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.3257, allocations: 16.88 kB / 435.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.3261, allocations: 216.1 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3261, allocations: 4.438 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3261, allocations: 10.22 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3262, allocations: 4.312 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.3265, allocations: 153.3 kB / 435.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3276, allocations: 0.9476 MB / 436.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.328, allocations: 139 kB / 436.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3282, allocations: 60.92 kB / 436.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.3286, allocations: 0.5063 MB / 437.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3287, allocations: 38.17 kB / 437.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3287, allocations: 0 / 437.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002613/0.3313, allocations: 0.7605 MB / 438.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3313, allocations: 54.17 kB / 438.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3314, allocations: 165.6 kB / 438.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3314, allocations: 26.8 kB / 438.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3315, allocations: 147.5 kB / 438.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.3315, allocations: 71.8 kB / 438.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.3316, allocations: 58.2 kB / 438.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.3317, allocations: 324.6 kB / 438.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.3319, allocations: 85.56 kB / 439 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.3322, allocations: 194.3 kB / 439.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.3328, allocations: 298.3 kB / 439.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3328, allocations: 6.094 kB / 439.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007262/0.3335, allocations: 319.8 kB / 439.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3335, allocations: 7.078 kB / 439.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3335, allocations: 3.469 kB / 439.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3336, allocations: 5.688 kB / 439.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.334, allocations: 90.67 kB / 439.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.334, allocations: 10.11 kB / 439.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3342, allocations: 14.94 kB / 439.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3342, allocations: 17.34 kB / 440 MB, free: 4.449 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 9.074e-05/0.3343, allocations: 134.4 kB / 440.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.3344, allocations: 20.12 kB / 440.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006815/0.3351, allocations: 242.3 kB / 440.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3351, allocations: 4.641 kB / 440.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3351, allocations: 0 / 440.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3351, allocations: 5.062 kB / 440.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3363, allocations: 0.5959 MB / 441 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3363, allocations: 1.734 kB / 441 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.3367, allocations: 52.12 kB / 441 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3367, allocations: 2.156 kB / 441 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.3367, allocations: 9.594 kB / 441 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3367, allocations: 6.094 kB / 441 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3367, allocations: 1.578 kB / 441 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.3376, allocations: 406 kB / 441.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.3376, allocations: 104 kB / 441.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.3377, allocations: 7.438 kB / 441.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3379, allocations: 18.77 kB / 441.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.338, allocations: 22.61 kB / 441.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.338, allocations: 12.09 kB / 441.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.338, allocations: 110.9 kB / 441.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.338, allocations: 0 / 441.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.3385, allocations: 63.55 kB / 441.8 MB, free: 3.531 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.0001792/0.3386, allocations: 127.1 kB / 441.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.3393, allocations: 215.8 kB / 442.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3393, allocations: 0 / 442.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.3395, allocations: 89.67 kB / 442.2 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.34, allocations: 46.98 kB / 442.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.341, allocations: 486.5 kB / 442.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.3412, allocations: 0.7173 MB / 443.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.3414, allocations: 49.08 kB / 443.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.3415, allocations: 24.8 kB / 443.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3415, allocations: 0 / 443.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Templates: time 0.007213/0.3487, allocations: 2.724 MB / 446.2 MB, free: 2.141 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.710550479590893]