Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001535/0.001535, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001689/0.001689, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 255.4 MB, free: 15 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 53.31 MB / 428 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.2091/0.3172, allocations: 4.561 MB / 432.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.319, allocations: 1.82 MB / 434.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.3191, allocations: 2.812 kB / 434.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3193, allocations: 43.45 kB / 434.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.3196, allocations: 129 kB / 434.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.3202, allocations: 251.8 kB / 434.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3205, allocations: 289.5 kB / 435.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.3205, allocations: 9.188 kB / 435.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3207, allocations: 127.2 kB / 435.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3208, allocations: 86.33 kB / 435.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3209, allocations: 10.12 kB / 435.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.3211, allocations: 104.2 kB / 435.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.3212, allocations: 40.44 kB / 435.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.924e-05/0.3213, allocations: 78.94 kB / 435.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3216, allocations: 229.2 kB / 435.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3216, allocations: 3.562 kB / 435.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3216, allocations: 0 / 435.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3216, allocations: 1.219 kB / 435.8 MB, free: 7.871 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.0008626/0.3225, allocations: 495.1 kB / 436.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3225, allocations: 9 kB / 436.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.3227, allocations: 26.88 kB / 436.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3229, allocations: 208 kB / 436.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3229, allocations: 11.53 kB / 436.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3229, allocations: 16.06 kB / 436.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.3233, allocations: 212.6 kB / 436.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3233, allocations: 5.594 kB / 436.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3234, allocations: 7.469 kB / 436.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3234, allocations: 3.562 kB / 436.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.3237, allocations: 147.7 kB / 436.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3248, allocations: 0.9471 MB / 437.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.3252, allocations: 144.6 kB / 438 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3253, allocations: 62.95 kB / 438.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.3257, allocations: 0.5022 MB / 438.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.3258, allocations: 36.94 kB / 438.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3258, allocations: 0 / 438.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002501/0.3283, allocations: 0.7681 MB / 439.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.3283, allocations: 54.3 kB / 439.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3284, allocations: 165.4 kB / 439.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3284, allocations: 33.61 kB / 439.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.3285, allocations: 140.1 kB / 439.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.3285, allocations: 77.98 kB / 439.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.3286, allocations: 54.83 kB / 439.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.3287, allocations: 329.2 kB / 440.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.3289, allocations: 82.44 kB / 440.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3292, allocations: 196.8 kB / 440.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.3297, allocations: 291.3 kB / 440.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3297, allocations: 5.344 kB / 440.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006853/0.3304, allocations: 318 kB / 441.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3305, allocations: 6.75 kB / 441.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3305, allocations: 4.438 kB / 441.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3305, allocations: 8.922 kB / 441.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.3309, allocations: 86.52 kB / 441.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3309, allocations: 10.09 kB / 441.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.3311, allocations: 16.59 kB / 441.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.3312, allocations: 16.3 kB / 441.2 MB, free: 4.492 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.445e-05/0.3312, allocations: 134.3 kB / 441.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.3313, allocations: 20.52 kB / 441.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.332, allocations: 241.8 kB / 441.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.332, allocations: 2.688 kB / 441.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.332, allocations: 4.594 kB / 441.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.332, allocations: 0.75 kB / 441.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3332, allocations: 0.5974 MB / 442.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3332, allocations: 1.156 kB / 442.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3335, allocations: 55.56 kB / 442.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3335, allocations: 6.125 kB / 442.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3335, allocations: 6.219 kB / 442.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3335, allocations: 2.031 kB / 442.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3335, allocations: 1.594 kB / 442.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.3343, allocations: 413.8 kB / 442.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.3344, allocations: 107.4 kB / 442.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.3344, allocations: 12.08 kB / 442.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.3346, allocations: 17.12 kB / 442.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3347, allocations: 17.27 kB / 442.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3347, allocations: 9.062 kB / 442.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.621e-05/0.3348, allocations: 110.6 kB / 442.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3348, allocations: 0 / 442.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.3352, allocations: 63.45 kB / 443 MB, free: 3.574 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.0001828/0.3354, allocations: 130.4 kB / 443.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.336, allocations: 206.2 kB / 443.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.336, allocations: 0 / 443.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.3362, allocations: 82.11 kB / 443.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3366, allocations: 52.08 kB / 443.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.3376, allocations: 0.5047 MB / 444 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.3377, allocations: 0.7176 MB / 444.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3378, allocations: 27.2 kB / 444.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3378, allocations: 1.062 kB / 444.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of Templates: time 0.005293/0.3431, allocations: 2.631 MB / 447.4 MB, free: 2.207 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.027032329002395]