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.0009395/0.0009395, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009915/0.0009915, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9777/0.9777, allocations: 177.1 MB / 205 MB, free: 5.633 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.303e-06/1.303e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.21e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003304/0.003326, allocations: 2.905 MB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.005056, allocations: 1.386 MB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.005186, allocations: 7.938 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.005638, allocations: 171.1 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.006091, allocations: 254.4 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.006325, allocations: 155.4 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.006719, allocations: 477.6 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.006858, allocations: 60.33 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.007059, allocations: 259.4 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.007248, allocations: 179.5 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.007286, allocations: 28 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.007389, allocations: 75.92 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.007474, allocations: 91.61 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.007588, allocations: 131.7 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.00792, allocations: 342.7 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007922, allocations: 0 / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.007922, allocations: 0 / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.007928, allocations: 3.984 kB / 279.4 MB, free: 11.05 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.0007637/0.008692, allocations: 0.7406 MB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.008726, allocations: 12.03 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/0.00881, allocations: 68.66 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.009121, allocations: 287.2 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.009144, allocations: 16.88 kB / 280.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.009184, allocations: 20.38 kB / 280.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.009575, allocations: 0.5852 MB / 281.2 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.009587, allocations: 3.938 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.009607, allocations: 12 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.009617, allocations: 4 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.009753, allocations: 94.86 kB / 281.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.01058, allocations: 0.6802 MB / 282 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.01079, allocations: 131.6 kB / 282.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.01086, allocations: 51.66 kB / 282.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.01088, allocations: 4 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.01105, allocations: 161.2 kB / 282.3 MB, free: 7.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.01105, allocations: 7.938 kB / 282.3 MB, free: 7.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004968/0.01155, allocations: 272.1 kB / 282.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.01165, allocations: 324.4 kB / 282.9 MB, free: 7.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.01194, allocations: 422.8 kB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01197, allocations: 33.7 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01209, allocations: 259.2 kB / 283.6 MB, free: 6.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.01215, allocations: 83.27 kB / 283.7 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.01221, allocations: 67.36 kB / 283.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01236, allocations: 0.5235 MB / 284.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.01242, allocations: 39.97 kB / 284.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01263, allocations: 432.5 kB / 284.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01278, allocations: 137.3 kB / 284.8 MB, free: 5.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01278, allocations: 0 / 284.8 MB, free: 5.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002635/0.01305, allocations: 233.7 kB / 285.1 MB, free: 4.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01306, allocations: 7.938 kB / 285.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01307, allocations: 0 / 285.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.01318, allocations: 39.59 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01331, allocations: 51.97 kB / 285.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000961/0.01427, allocations: 1.846 MB / 287 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01437, allocations: 19.89 kB / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01438, allocations: 8 kB / 287 MB, free: 2.77 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.0001049/0.01449, allocations: 183.7 kB / 287.2 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.01453, allocations: 55.7 kB / 287.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.0148, allocations: 220.7 kB / 287.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01481, allocations: 0 / 287.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.01481, allocations: 0 / 287.5 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002686/0.01508, allocations: 0.5498 MB / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.01561, allocations: 0.6367 MB / 288.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01561, allocations: 0 / 288.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.01573, allocations: 51.91 kB / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01573, allocations: 0 / 288.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.01574, allocations: 4 kB / 288.7 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01575, allocations: 3.938 kB / 288.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01575, allocations: 192 / 288.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01604, allocations: 394.3 kB / 289.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.01612, allocations: 63.7 kB / 289.2 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.01615, allocations: 8 kB / 289.2 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01625, allocations: 15.94 kB / 289.2 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.01629, allocations: 11.97 kB / 289.2 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01631, allocations: 15.94 kB / 289.2 MB, free: 392 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.01648, allocations: 291.1 kB / 289.5 MB, free: 104 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01648, allocations: 0 / 289.5 MB, free: 104 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.01672, allocations: 95.83 kB / 289.6 MB, free: 8 kB / 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.0007888/0.01751, allocations: 384.6 kB / 290 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.01788, allocations: 349.7 kB / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01789, allocations: 0 / 290.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.01797, allocations: 74.42 kB / 290.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.01831, allocations: 113.4 kB / 290.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01947, allocations: 0.7009 MB / 291.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.01953, allocations: 105.2 kB / 291.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.01962, allocations: 46.94 kB / 291.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.01967, allocations: 32.5 kB / 291.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01967, allocations: 4 kB / 291.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Templates: time 0.007978/0.02765, allocations: 6.497 MB / 297.9 MB, free: 7.945 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: 3.0588666452094913]