Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2217, allocations: 52.18 MB / 423 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004259/0.2259, allocations: 2.678 MB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.228, allocations: 1.188 MB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2282, allocations: 11.94 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.2286, allocations: 171.2 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.2291, allocations: 214.8 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.2295, allocations: 175.5 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.23, allocations: 461.6 kB / 427.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.2302, allocations: 67.67 kB / 428 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.2304, allocations: 179.3 kB / 428.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2307, allocations: 199.2 kB / 428.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.2307, allocations: 32 kB / 428.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.2309, allocations: 67.98 kB / 428.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.231, allocations: 91.62 kB / 428.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2312, allocations: 159.2 kB / 428.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.2318, allocations: 488.6 kB / 429.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2318, allocations: 4 kB / 429.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2318, allocations: 0 / 429.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2318, allocations: 0 / 429.2 MB, free: 8.328 MB / 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.001135/0.2329, allocations: 0.6289 MB / 429.8 MB, free: 7.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.233, allocations: 12.03 kB / 429.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.2331, allocations: 48.66 kB / 429.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/0.2338, allocations: 289.1 kB / 430.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2338, allocations: 12.81 kB / 430.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.2339, allocations: 24.12 kB / 430.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/0.2349, allocations: 0.5878 MB / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.2349, allocations: 4 kB / 430.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2349, allocations: 8 kB / 430.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.235, allocations: 8 kB / 430.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.2354, allocations: 149.6 kB / 430.9 MB, free: 6.395 MB / 334.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.001864/0.2373, allocations: 0.6454 MB / 431.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.2379, allocations: 176.8 kB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.2381, allocations: 68.83 kB / 431.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2381, allocations: 7.938 kB / 431.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.2385, allocations: 178.8 kB / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.796e-06/0.2385, allocations: 0 / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001234/0.2398, allocations: 331.6 kB / 432.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002397/0.24, allocations: 324.4 kB / 432.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.2408, allocations: 417.7 kB / 433.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.2408, allocations: 33.7 kB / 433.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.241, allocations: 208.4 kB / 433.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2412, allocations: 83.31 kB / 433.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2413, allocations: 57.64 kB / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.2415, allocations: 350.8 kB / 433.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2417, allocations: 63.98 kB / 433.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.2423, allocations: 437 kB / 434.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.2428, allocations: 167.4 kB / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2428, allocations: 96 / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007818/0.2436, allocations: 289.9 kB / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2436, allocations: 4 kB / 434.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2436, allocations: 4.094 kB / 434.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.2438, allocations: 36.84 kB / 434.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.2441, allocations: 55.91 kB / 434.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.2465, allocations: 1.437 MB / 436.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2468, allocations: 31.72 kB / 436.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2469, allocations: 4 kB / 436.3 MB, free: 0.6289 MB / 334.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.0003199/0.2472, allocations: 173.1 kB / 436.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2473, allocations: 39.77 kB / 436.5 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008051/0.2481, allocations: 265.8 kB / 436.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2481, allocations: 4 kB / 436.8 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2481, allocations: 3.938 kB / 436.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009164/0.249, allocations: 0.5894 MB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2504, allocations: 0.6023 MB / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2504, allocations: 0 / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.2507, allocations: 47.92 kB / 438 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.2508, allocations: 3.938 kB / 438 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.2508, allocations: 11.98 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2508, allocations: 0 / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2508, allocations: 0 / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.2518, allocations: 417.6 kB / 438.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.252, allocations: 59.64 kB / 438.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.252, allocations: 8 kB / 438.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.2524, allocations: 15.98 kB / 438.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.2525, allocations: 20.03 kB / 438.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.2525, allocations: 8 kB / 438.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005363/0.253, allocations: 303.2 kB / 438.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.253, allocations: 0 / 438.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.2537, allocations: 95.88 kB / 438.9 MB, free: 13.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.002274/0.256, allocations: 443.5 kB / 439.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000914/0.2569, allocations: 310.3 kB / 439.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2569, allocations: 4 kB / 439.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.2572, allocations: 75.91 kB / 439.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.2581, allocations: 108.9 kB / 439.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.2603, allocations: 0.8073 MB / 440.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2606, allocations: 193.4 kB / 440.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.2609, allocations: 38.95 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.261, allocations: 39.44 kB / 440.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.261, allocations: 0 / 440.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Templates: time 0.01937/0.2803, allocations: 6.896 MB / 447.8 MB, free: 5.215 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.691965414211154]