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.001577/0.001577, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.0018/0.0018, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.001647/0.001647, allocations: 47.92 kB / 379 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2387, allocations: 53.35 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004828/0.2435, allocations: 2.906 MB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2461, allocations: 1.426 MB / 436.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.2464, allocations: 7.938 kB / 436.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.2469, allocations: 179.1 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000689/0.2476, allocations: 246.6 kB / 437.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.248, allocations: 147.6 kB / 437.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007073/0.2487, allocations: 465.9 kB / 437.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2489, allocations: 60.33 kB / 437.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.2493, allocations: 195.3 kB / 438 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.2496, allocations: 219.1 kB / 438.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.2497, allocations: 28 kB / 438.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.2499, allocations: 79.91 kB / 438.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.25, allocations: 83.69 kB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.2502, allocations: 198.9 kB / 438.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006471/0.2509, allocations: 491.2 kB / 439.1 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2509, allocations: 4 kB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2509, allocations: 0 / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.2509, allocations: 0 / 439.1 MB, free: 232 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.001265/0.2522, allocations: 0.6503 MB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2522, allocations: 8.031 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2523, allocations: 48.66 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.2529, allocations: 293.1 kB / 440.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2529, allocations: 12.81 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.253, allocations: 22.25 kB / 440.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.2535, allocations: 297.5 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2535, allocations: 0 / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2535, allocations: 16 kB / 440.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.2535, allocations: 4 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.2538, allocations: 145.7 kB / 440.5 MB, free: 14.65 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.001498/0.2553, allocations: 0.7963 MB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2558, allocations: 183.1 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2559, allocations: 64.84 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.2559, allocations: 11.97 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.2562, allocations: 129 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.2562, allocations: 4 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.000909/0.2571, allocations: 333.6 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.2573, allocations: 312.4 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.2579, allocations: 441.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.2579, allocations: 29.7 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2581, allocations: 200.5 kB / 443 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.2582, allocations: 91.2 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.2582, allocations: 53.7 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2584, allocations: 362.7 kB / 443.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.2586, allocations: 55.98 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2589, allocations: 180.7 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.2592, allocations: 167.3 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2592, allocations: 3.938 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005073/0.2597, allocations: 274.1 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2597, allocations: 8 kB / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2598, allocations: 0 / 444.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.2599, allocations: 36.83 kB / 444.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2601, allocations: 51.86 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.2618, allocations: 1.471 MB / 445.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.262, allocations: 27.78 kB / 445.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.262, allocations: 8 kB / 445.8 MB, free: 9.027 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.0002131/0.2622, allocations: 176.8 kB / 445.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2623, allocations: 43.72 kB / 446 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.2628, allocations: 254 kB / 446.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2628, allocations: 4.094 kB / 446.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.2628, allocations: 3.938 kB / 446.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006386/0.2635, allocations: 0.5827 MB / 446.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2645, allocations: 0.6824 MB / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2645, allocations: 3.984 kB / 447.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.2647, allocations: 43.98 kB / 447.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2647, allocations: 4 kB / 447.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.2648, allocations: 4 kB / 447.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.2648, allocations: 3.984 kB / 447.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2648, allocations: 3.938 kB / 447.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.2654, allocations: 406.8 kB / 448 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2655, allocations: 55.77 kB / 448 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.2656, allocations: 8 kB / 448 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2658, allocations: 11.98 kB / 448 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.2659, allocations: 27.77 kB / 448.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2659, allocations: 4 kB / 448.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003746/0.2663, allocations: 319.1 kB / 448.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2663, allocations: 3.938 kB / 448.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.2667, allocations: 95.95 kB / 448.5 MB, free: 6.133 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 (23): * Single equations (assignments): 21 * 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.001609/0.2683, allocations: 430.2 kB / 448.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.269, allocations: 308.8 kB / 449.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.269, allocations: 0 / 449.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.2692, allocations: 75.91 kB / 449.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.2697, allocations: 109.5 kB / 449.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.2714, allocations: 0.8436 MB / 450.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.2719, allocations: 0.8076 MB / 451 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.2719, allocations: 31.44 kB / 451.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2719, allocations: 4 kB / 451.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of Templates: time 0.01/0.2819, allocations: 5.923 MB / 457 MB, free: 13.74 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.792695512995124]