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.001407/0.001407, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001585/0.001585, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001629/0.001629, allocations: 55.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2278, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004405/0.2322, allocations: 2.691 MB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.2347, allocations: 1.332 MB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.2349, allocations: 0 / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.2354, allocations: 187.1 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.236, allocations: 254.5 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2363, allocations: 139.6 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.2369, allocations: 465.9 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2371, allocations: 60.33 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2373, allocations: 187.3 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.2376, allocations: 195.1 kB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.2377, allocations: 32 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2379, allocations: 75.97 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.238, allocations: 83.69 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2382, allocations: 163.2 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.2388, allocations: 496.9 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2388, allocations: 4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2388, allocations: 4 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2388, allocations: 0 / 438.6 MB, free: 400 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.001125/0.2399, allocations: 0.6483 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2399, allocations: 8.031 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.24, allocations: 48.66 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.2406, allocations: 285.2 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.2406, allocations: 16.81 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.2406, allocations: 24.12 kB / 439.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.2413, allocations: 0.5955 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2413, allocations: 0 / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2414, allocations: 8 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.2414, allocations: 4 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.2417, allocations: 149.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.001381/0.2431, allocations: 0.6492 MB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.2435, allocations: 175.1 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2436, allocations: 76.81 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2436, allocations: 4 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.2439, allocations: 186.8 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.195e-06/0.244, allocations: 0 / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008845/0.2448, allocations: 327.6 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.245, allocations: 320.4 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.2455, allocations: 437.5 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.2456, allocations: 33.7 kB / 442.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2458, allocations: 204.4 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.2458, allocations: 83.33 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.2459, allocations: 57.69 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2461, allocations: 350.8 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2463, allocations: 63.97 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.2467, allocations: 437.7 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.247, allocations: 171.4 kB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.247, allocations: 0 / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000524/0.2475, allocations: 274.1 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2475, allocations: 8 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2475, allocations: 0 / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.2477, allocations: 36.83 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.2479, allocations: 48.02 kB / 444.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.2495, allocations: 1.44 MB / 445.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2498, allocations: 27.83 kB / 445.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2498, allocations: 8 kB / 445.8 MB, free: 8.668 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.0002139/0.25, allocations: 166 kB / 445.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.2501, allocations: 43.72 kB / 446 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/0.2506, allocations: 273.6 kB / 446.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2506, allocations: 4.328 kB / 446.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2506, allocations: 7.875 kB / 446.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005811/0.2512, allocations: 0.5866 MB / 446.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009733/0.2522, allocations: 0.6139 MB / 447.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2522, allocations: 0 / 447.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.2524, allocations: 47.97 kB / 447.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2524, allocations: 3.938 kB / 447.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.2524, allocations: 8 kB / 447.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2524, allocations: 8 kB / 447.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2524, allocations: 0 / 447.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006525/0.2531, allocations: 421.8 kB / 447.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2532, allocations: 59.64 kB / 448 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.2533, allocations: 8 kB / 448 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.2535, allocations: 15.98 kB / 448 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2535, allocations: 19.83 kB / 448 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2536, allocations: 8 kB / 448 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003875/0.254, allocations: 311.1 kB / 448.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.254, allocations: 64 / 448.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.2544, allocations: 99.89 kB / 448.4 MB, free: 5.82 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.001698/0.2561, allocations: 446.1 kB / 448.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007055/0.2568, allocations: 306.4 kB / 449.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2568, allocations: 4 kB / 449.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.257, allocations: 75.91 kB / 449.2 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.0005857/0.2576, allocations: 107 kB / 449.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2591, allocations: 0.8602 MB / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2594, allocations: 195.5 kB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.2594, allocations: 27.44 kB / 450.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2594, allocations: 0 / 450.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of Templates: time 0.01016/0.2696, allocations: 6.016 MB / 456.4 MB, free: 13.95 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: 8.225032782182097]