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.00129/0.00129, allocations: 103.6 kB / 21.18 MB, free: 0.668 MB / 14.72 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.00141/0.00141, allocations: 210.8 kB / 24.48 MB, free: 3.969 MB / 14.72 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 1.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+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 0.00154/0.00154, allocations: 55.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2417, allocations: 53.36 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004327/0.2461, allocations: 2.692 MB / 435 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2486, allocations: 1.324 MB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.2489, allocations: 7.938 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.2494, allocations: 183.1 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.2501, allocations: 250.6 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.2505, allocations: 143.5 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.2512, allocations: 469 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2514, allocations: 64.33 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.2516, allocations: 187.3 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.2519, allocations: 219.1 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.252, allocations: 28 kB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2522, allocations: 75.92 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2523, allocations: 91.67 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.2525, allocations: 163.2 kB / 438.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.2531, allocations: 492.9 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2531, allocations: 0 / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2531, allocations: 4 kB / 438.7 MB, free: 392 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2531, allocations: 0 / 438.7 MB, free: 392 kB / 334.1 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.001157/0.2543, allocations: 0.6444 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2543, allocations: 12.03 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2544, allocations: 48.66 kB / 439.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.255, allocations: 281.2 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.255, allocations: 16.81 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.255, allocations: 24.12 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.2557, allocations: 0.5956 MB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2557, allocations: 0 / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2558, allocations: 8 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2558, allocations: 8 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.2561, allocations: 141.7 kB / 440.4 MB, free: 14.45 MB / 350.1 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.001319/0.2574, allocations: 0.6531 MB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.2578, allocations: 177.2 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.258, allocations: 72.81 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.258, allocations: 4 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.2583, allocations: 186.8 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.2583, allocations: 0 / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008897/0.2592, allocations: 339.2 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.2594, allocations: 316.4 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.2599, allocations: 437.5 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.2599, allocations: 29.7 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.2601, allocations: 208.4 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.2602, allocations: 75.34 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2603, allocations: 61.69 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2605, allocations: 350.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.2606, allocations: 63.98 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.261, allocations: 437.7 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.2613, allocations: 179.2 kB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2613, allocations: 0 / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005354/0.2619, allocations: 278.1 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2619, allocations: 4 kB / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2619, allocations: 0 / 444.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.262, allocations: 36.83 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.2623, allocations: 48.02 kB / 444.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.2639, allocations: 1.448 MB / 445.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2641, allocations: 23.83 kB / 445.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.2642, allocations: 8 kB / 445.8 MB, free: 8.656 MB / 350.1 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.0002377/0.2644, allocations: 167.9 kB / 445.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.2645, allocations: 43.72 kB / 446 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005532/0.265, allocations: 273.9 kB / 446.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.265, allocations: 4.234 kB / 446.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.265, allocations: 3.938 kB / 446.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005866/0.2656, allocations: 0.5866 MB / 446.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009485/0.2666, allocations: 0.6128 MB / 447.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2666, allocations: 0 / 447.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2668, allocations: 43.97 kB / 447.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.2668, allocations: 3.938 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2668, allocations: 12 kB / 447.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2668, allocations: 4 kB / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2668, allocations: 0 / 447.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.2675, allocations: 415.2 kB / 447.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.2676, allocations: 63.64 kB / 448 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.2677, allocations: 8 kB / 448 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2679, allocations: 11.98 kB / 448 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.2679, allocations: 23.83 kB / 448 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.268, allocations: 4 kB / 448 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.2683, allocations: 311.1 kB / 448.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2683, allocations: 4.062 kB / 448.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00041/0.2687, allocations: 95.89 kB / 448.4 MB, free: 5.824 MB / 350.1 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.001647/0.2704, allocations: 452.5 kB / 448.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.271, allocations: 306.4 kB / 449.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2711, allocations: 0 / 449.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2712, allocations: 82.14 kB / 449.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.2718, allocations: 109.5 kB / 449.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.2734, allocations: 0.8484 MB / 450.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2736, allocations: 199.5 kB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.2737, allocations: 31.44 kB / 450.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2737, allocations: 0 / 450.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of Templates: time 0.01/0.2837, allocations: 6.022 MB / 456.5 MB, free: 13.94 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/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: 7.956296305987053]