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.000797/0.000797, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003292/0.003292, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8672/0.8672, allocations: 177.1 MB / 205 MB, free: 5.727 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.172e-06/1.172e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.518e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002494/0.002509, allocations: 2.7 MB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003819, allocations: 1.328 MB / 329.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003931, allocations: 7.938 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.004298, allocations: 195 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.00469, allocations: 254.4 kB / 330.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.004858, allocations: 139.5 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.0052, allocations: 493.3 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005325, allocations: 64.08 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.005509, allocations: 263.4 kB / 331.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.00567, allocations: 167.6 kB / 331.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.005704, allocations: 28 kB / 331.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.005792, allocations: 75.91 kB / 331.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.005863, allocations: 95.62 kB / 331.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.005952, allocations: 135.6 kB / 331.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.006312, allocations: 494.4 kB / 332.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.006314, allocations: 0 / 332.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.006315, allocations: 4 kB / 332.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.00632, allocations: 0 / 332.2 MB, free: 9.012 MB / 298.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.0006829/0.007003, allocations: 0.6361 MB / 332.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.007034, allocations: 12.03 kB / 332.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.0071, allocations: 52.61 kB / 332.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.007399, allocations: 280.4 kB / 333.2 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.007417, allocations: 20.88 kB / 333.2 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.007445, allocations: 20.36 kB / 333.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.008057, allocations: 0.5932 MB / 333.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.008071, allocations: 3.938 kB / 333.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.00809, allocations: 12 kB / 333.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.008097, allocations: 4 kB / 333.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.008281, allocations: 145.9 kB / 334 MB, free: 7.074 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007781/0.009059, allocations: 0.6536 MB / 334.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.009287, allocations: 179.1 kB / 334.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.009373, allocations: 68.83 kB / 334.9 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.009393, allocations: 4 kB / 334.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.009569, allocations: 187.6 kB / 335 MB, free: 5.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.009571, allocations: 0 / 335 MB, free: 5.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005151/0.01009, allocations: 332.5 kB / 335.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.01018, allocations: 324.4 kB / 335.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.01046, allocations: 433.6 kB / 336.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.01048, allocations: 29.7 kB / 336.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01059, allocations: 208.4 kB / 336.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.01063, allocations: 75.28 kB / 336.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.01068, allocations: 61.69 kB / 336.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.01077, allocations: 346.8 kB / 336.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.01085, allocations: 63.98 kB / 336.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.01105, allocations: 436.9 kB / 337.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.01124, allocations: 176 kB / 337.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01124, allocations: 0 / 337.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002926/0.01153, allocations: 274.1 kB / 337.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01155, allocations: 7.938 kB / 337.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01155, allocations: 0 / 337.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.01167, allocations: 36.83 kB / 337.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01178, allocations: 56.02 kB / 337.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008883/0.01267, allocations: 1.436 MB / 339.3 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.01277, allocations: 27.89 kB / 339.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01278, allocations: 8 kB / 339.3 MB, free: 1.297 MB / 298.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.0001194/0.0129, allocations: 170 kB / 339.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.01294, allocations: 43.75 kB / 339.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.01323, allocations: 277 kB / 339.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01323, allocations: 7.938 kB / 339.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01324, allocations: 0 / 339.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002917/0.01353, allocations: 0.5789 MB / 340.4 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.01432, allocations: 0.6179 MB / 341 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01432, allocations: 0 / 341 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01443, allocations: 43.97 kB / 341 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01443, allocations: 0 / 341 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01444, allocations: 8 kB / 341 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01444, allocations: 7.938 kB / 341.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01444, allocations: 0 / 341.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.01477, allocations: 417.2 kB / 341.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.01485, allocations: 59.7 kB / 341.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.01487, allocations: 8 kB / 341.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01497, allocations: 16.02 kB / 341.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.01501, allocations: 19.91 kB / 341.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01502, allocations: 8 kB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.01522, allocations: 311.1 kB / 341.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01522, allocations: 64 / 341.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01545, allocations: 99.89 kB / 342 MB, free: 14.46 MB / 314.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.0006317/0.01608, allocations: 452.4 kB / 342.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003703/0.01645, allocations: 302.3 kB / 342.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01645, allocations: 0 / 342.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.01654, allocations: 86.89 kB / 342.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.01686, allocations: 97.56 kB / 342.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.01769, allocations: 0.7706 MB / 343.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01781, allocations: 195.5 kB / 343.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.01786, allocations: 32.5 kB / 343.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01786, allocations: 3.938 kB / 343.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Templates: time 0.005315/0.02317, allocations: 6.036 MB / 349.9 MB, free: 6.664 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 4.699151456356049]