Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.0009855/0.0009855, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001007/0.001007, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.056/1.056, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.782e-05, allocations: 10.31 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003355/0.003382, allocations: 2.905 MB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.005029, allocations: 1.373 MB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.005176, allocations: 7.938 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.005626, allocations: 179 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.006094, allocations: 258.4 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.006366, allocations: 151.4 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.006802, allocations: 481.7 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.006944, allocations: 60.31 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.007168, allocations: 275.3 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.007365, allocations: 167.6 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.007407, allocations: 32 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.007521, allocations: 67.92 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.007607, allocations: 91.67 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.007713, allocations: 131.6 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.008053, allocations: 342.8 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.008056, allocations: 4 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.008056, allocations: 4 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.008062, allocations: 0 / 279.4 MB, free: 10.95 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.0007358/0.008798, allocations: 0.7482 MB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.008833, allocations: 11.98 kB / 280.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.008918, allocations: 68.64 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.009214, allocations: 291.2 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.009237, allocations: 16.88 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.009273, allocations: 20.38 kB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.009671, allocations: 0.5813 MB / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.009683, allocations: 192 / 281.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.009703, allocations: 8.375 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.009712, allocations: 11.94 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.009851, allocations: 90.86 kB / 281.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.01067, allocations: 0.6803 MB / 281.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.01087, allocations: 139.5 kB / 282 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.01094, allocations: 51.66 kB / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01096, allocations: 4 kB / 282.1 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.01112, allocations: 160.4 kB / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/0.01112, allocations: 0 / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004973/0.01162, allocations: 282.2 kB / 282.5 MB, free: 7.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.01172, allocations: 316.4 kB / 282.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.01201, allocations: 426.7 kB / 283.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01203, allocations: 33.7 kB / 283.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01215, allocations: 255.2 kB / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.0122, allocations: 83.28 kB / 283.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.01227, allocations: 63.34 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.0124, allocations: 0.5274 MB / 284.2 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.01247, allocations: 35.98 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.01267, allocations: 440.5 kB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.01282, allocations: 130.6 kB / 284.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01282, allocations: 4 kB / 284.8 MB, free: 5 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002725/0.0131, allocations: 232.9 kB / 285 MB, free: 4.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01311, allocations: 8 kB / 285 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01312, allocations: 0 / 285 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.01323, allocations: 31.7 kB / 285.1 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01336, allocations: 55.91 kB / 285.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.01442, allocations: 1.846 MB / 287 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.01453, allocations: 23.88 kB / 287 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01454, allocations: 12 kB / 287 MB, free: 2.656 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 0.000124/0.01467, allocations: 185.3 kB / 287.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.01471, allocations: 51.72 kB / 287.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.01499, allocations: 217.5 kB / 287.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01499, allocations: 4 kB / 287.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.51e-07/0.015, allocations: 0 / 287.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003014/0.0153, allocations: 0.5485 MB / 288 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.01586, allocations: 0.6252 MB / 288.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01587, allocations: 7.984 kB / 288.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.01599, allocations: 47.98 kB / 288.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01599, allocations: 0 / 288.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.016, allocations: 0 / 288.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01601, allocations: 7.984 kB / 288.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01601, allocations: 0 / 288.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.01633, allocations: 395.3 kB / 289.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.01641, allocations: 55.73 kB / 289.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.01644, allocations: 8 kB / 289.1 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.01654, allocations: 16.02 kB / 289.1 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01658, allocations: 23.77 kB / 289.2 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.0166, allocations: 8 kB / 289.2 MB, free: 284 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.01679, allocations: 287.1 kB / 289.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01679, allocations: 4 kB / 289.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002603/0.01706, allocations: 95.77 kB / 289.5 MB, free: 15.9 MB / 282.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.0008843/0.01794, allocations: 387.7 kB / 289.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004176/0.01836, allocations: 333.4 kB / 290.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.01836, allocations: 4 kB / 290.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.202e-05/0.01844, allocations: 64 kB / 290.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.0188, allocations: 120.5 kB / 290.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.02022, allocations: 0.7163 MB / 291.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.765e-05/0.02029, allocations: 105.3 kB / 291.3 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.0204, allocations: 42.89 kB / 291.3 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.02046, allocations: 36.5 kB / 291.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02046, allocations: 0 / 291.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Templates: time 0.008698/0.02916, allocations: 6.484 MB / 297.8 MB, free: 7.816 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.325607887003571]