Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001625/0.001625, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001117/0.001117, allocations: 170.8 kB / 24.91 MB, free: 9.145 MB / 18.57 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 0.9736/0.9736, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.532e-05, allocations: 2.312 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002951/0.002967, allocations: 2.88 MB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.004729, allocations: 1.39 MB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.00486, allocations: 11.88 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.005249, allocations: 179.1 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.005644, allocations: 258.4 kB / 278.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.00585, allocations: 143.5 kB / 278.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.006239, allocations: 485.6 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.006392, allocations: 70.92 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.006608, allocations: 275.3 kB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.006788, allocations: 159.6 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.006827, allocations: 28 kB / 279.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.006924, allocations: 71.92 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.006997, allocations: 83.69 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.007101, allocations: 135.6 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.007418, allocations: 342.8 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.00742, allocations: 0 / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007421, allocations: 0 / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.007425, allocations: 0 / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006284/0.008053, allocations: 0.6196 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.008088, allocations: 8.031 kB / 280.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.008151, allocations: 48.89 kB / 280.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.008417, allocations: 248 kB / 280.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.008437, allocations: 12.88 kB / 280.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.008474, allocations: 28.38 kB / 280.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.008806, allocations: 0.5419 MB / 281.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.008818, allocations: 7.938 kB / 281.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.008834, allocations: 12 kB / 281.4 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.008843, allocations: 8 kB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.008931, allocations: 70.22 kB / 281.5 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.00955, allocations: 459 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.009701, allocations: 149.1 kB / 282.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.009747, allocations: 44.83 kB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.009768, allocations: 8 kB / 282.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.009901, allocations: 154.4 kB / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.009903, allocations: 0 / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003342/0.01024, allocations: 188.7 kB / 282.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.01032, allocations: 312.4 kB / 282.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.01055, allocations: 368.8 kB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.01057, allocations: 37.7 kB / 283.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.01064, allocations: 157.4 kB / 283.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.01069, allocations: 83.31 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.01074, allocations: 57.67 kB / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.01083, allocations: 350.7 kB / 283.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.01087, allocations: 34.75 kB / 283.8 MB, free: 6.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.01103, allocations: 381 kB / 284.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01113, allocations: 108.5 kB / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01113, allocations: 4 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002257/0.01136, allocations: 165.8 kB / 284.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01137, allocations: 4 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01138, allocations: 4 kB / 284.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.658e-05/0.01147, allocations: 32.77 kB / 284.5 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01158, allocations: 51.91 kB / 284.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007683/0.01235, allocations: 1.241 MB / 285.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.01245, allocations: 31.77 kB / 285.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.01246, allocations: 8 kB / 285.8 MB, free: 4.309 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 9.518e-05/0.01255, allocations: 128.6 kB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.01259, allocations: 39.91 kB / 286 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.01276, allocations: 164.9 kB / 286.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01276, allocations: 4 kB / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.01276, allocations: 0 / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002043/0.01297, allocations: 0.4931 MB / 286.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.01335, allocations: 469.3 kB / 287.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01335, allocations: 8 kB / 287.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.01346, allocations: 47.97 kB / 287.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01346, allocations: 0 / 287.2 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01348, allocations: 4 kB / 287.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01348, allocations: 8 kB / 287.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01348, allocations: 0 / 287.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.01368, allocations: 324.3 kB / 287.5 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.01375, allocations: 39.88 kB / 287.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.01378, allocations: 8 kB / 287.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01389, allocations: 15.98 kB / 287.6 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.01391, allocations: 15.95 kB / 287.6 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01393, allocations: 8 kB / 287.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.01404, allocations: 151.5 kB / 287.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01404, allocations: 4.031 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01426, allocations: 99.89 kB / 287.8 MB, free: 2.133 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001003/0.01527, allocations: 0.5096 MB / 288.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.01559, allocations: 247.7 kB / 288.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01559, allocations: 4 kB / 288.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.01566, allocations: 67.59 kB / 288.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.01596, allocations: 112.3 kB / 288.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.01703, allocations: 0.7008 MB / 289.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.0171, allocations: 105.2 kB / 289.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.01721, allocations: 50.94 kB / 289.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.01742, allocations: 169.3 kB / 289.8 MB, free: 356 kB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01742, allocations: 0 / 289.8 MB, free: 356 kB / 266.7 MB Notification: Performance of Templates: time 0.008531/0.02595, allocations: 6.967 MB / 296.8 MB, free: 9.562 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9405128490179777]