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.001765/0.001765, allocations: 113.5 kB / 18.45 MB, free: 4.605 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.002158/0.002158, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.649/1.649, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.001529/0.001529, allocations: 51.92 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 53.32 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.2107/0.3184, allocations: 4.56 MB / 432 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3207, allocations: 1.82 MB / 433.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.3208, allocations: 1.75 kB / 433.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.3211, allocations: 41.59 kB / 433.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.3215, allocations: 125.8 kB / 434 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.3222, allocations: 252.5 kB / 434.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.3226, allocations: 289.1 kB / 434.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.3227, allocations: 10.22 kB / 434.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.323, allocations: 133.4 kB / 434.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.3231, allocations: 86.56 kB / 434.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3231, allocations: 8.406 kB / 434.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.3234, allocations: 110.1 kB / 434.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3235, allocations: 39.3 kB / 434.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.3236, allocations: 74.56 kB / 435 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.324, allocations: 229.4 kB / 435.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.324, allocations: 0 / 435.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.324, allocations: 3.469 kB / 435.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.324, allocations: 0 / 435.2 MB, free: 7.84 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.0009942/0.325, allocations: 494.2 kB / 435.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.325, allocations: 9.969 kB / 435.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.3252, allocations: 22.77 kB / 435.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3255, allocations: 210.2 kB / 435.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3255, allocations: 9.125 kB / 435.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.3256, allocations: 20.23 kB / 436 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.326, allocations: 220.2 kB / 436.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.326, allocations: 1.344 kB / 436.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.326, allocations: 9.188 kB / 436.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.326, allocations: 3.875 kB / 436.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.3264, allocations: 149.6 kB / 436.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3276, allocations: 0.9404 MB / 437.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.328, allocations: 147.1 kB / 437.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3281, allocations: 61.77 kB / 437.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/0.3286, allocations: 0.5005 MB / 438 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3286, allocations: 41.41 kB / 438 MB, free: 5.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3286, allocations: 0 / 438 MB, free: 5.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002614/0.3312, allocations: 0.7659 MB / 438.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3313, allocations: 56.97 kB / 438.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3314, allocations: 159.2 kB / 439 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3314, allocations: 30.48 kB / 439 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.3315, allocations: 139.8 kB / 439.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.3315, allocations: 78.06 kB / 439.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.3316, allocations: 61.03 kB / 439.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.3317, allocations: 322.6 kB / 439.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3319, allocations: 82.02 kB / 439.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3322, allocations: 195.2 kB / 439.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.3328, allocations: 294.5 kB / 440.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3328, allocations: 5.312 kB / 440.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007271/0.3335, allocations: 321.7 kB / 440.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3335, allocations: 7 kB / 440.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3335, allocations: 4.156 kB / 440.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.3335, allocations: 6.141 kB / 440.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3339, allocations: 89.89 kB / 440.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3339, allocations: 6.328 kB / 440.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3342, allocations: 16.09 kB / 440.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.3342, allocations: 15.84 kB / 440.6 MB, free: 4.438 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 0.0001119/0.3343, allocations: 139.6 kB / 440.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.3344, allocations: 20.03 kB / 440.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.335, allocations: 239.6 kB / 441 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.335, allocations: 6.734 kB / 441 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3351, allocations: 0 / 441 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3351, allocations: 2.516 kB / 441 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.3364, allocations: 0.5943 MB / 441.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.3364, allocations: 2.078 kB / 441.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.3367, allocations: 60.3 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3367, allocations: 1.312 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.3368, allocations: 5.719 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3368, allocations: 2.781 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3368, allocations: 2.469 kB / 441.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.3376, allocations: 418.5 kB / 442.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.3377, allocations: 104 kB / 442.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.3378, allocations: 8.359 kB / 442.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.338, allocations: 13.09 kB / 442.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.338, allocations: 18.75 kB / 442.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3381, allocations: 10.75 kB / 442.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.202e-05/0.3381, allocations: 114.6 kB / 442.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 3.938 kB / 442.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.3386, allocations: 64.81 kB / 442.4 MB, free: 3.516 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.0001943/0.3388, allocations: 124.6 kB / 442.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.3394, allocations: 204.4 kB / 442.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3394, allocations: 3.938 kB / 442.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.3397, allocations: 88.64 kB / 442.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3401, allocations: 48.08 kB / 442.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3411, allocations: 0.502 MB / 443.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.3413, allocations: 0.7181 MB / 444.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3414, allocations: 27.89 kB / 444.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3414, allocations: 0 / 444.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Templates: time 0.006278/0.3477, allocations: 2.635 MB / 446.8 MB, free: 2.109 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/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: 7.496016773977317]