Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001337/0.001337, allocations: 113 kB / 19.04 MB, free: 3.254 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.00134/0.00134, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.409/1.409, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2384, allocations: 52.14 MB / 420.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004007/0.2424, allocations: 2.783 MB / 423.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2437, allocations: 0.8333 MB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2439, allocations: 4 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2441, allocations: 75.41 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.2444, allocations: 138.9 kB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2447, allocations: 83.83 kB / 424.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.2452, allocations: 441.3 kB / 425.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2454, allocations: 75.38 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2455, allocations: 159.4 kB / 425.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.2458, allocations: 175.3 kB / 425.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.2458, allocations: 32 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.2459, allocations: 36 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/0.246, allocations: 79.69 kB / 425.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2462, allocations: 191.1 kB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.2467, allocations: 443.5 kB / 426.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2467, allocations: 7.938 kB / 426.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2467, allocations: 0 / 426.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2467, allocations: 4 kB / 426.4 MB, free: 9.582 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001203/0.2479, allocations: 0.6832 MB / 427 MB, free: 8.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2479, allocations: 15.88 kB / 427.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.132e-05/0.248, allocations: 44.7 kB / 427.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.2485, allocations: 307.6 kB / 427.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.746e-05/0.2486, allocations: 46.69 kB / 427.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.2487, allocations: 28.36 kB / 427.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.2492, allocations: 325.4 kB / 427.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2492, allocations: 0 / 427.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.2492, allocations: 12 kB / 427.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2493, allocations: 8 kB / 427.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.2497, allocations: 197.6 kB / 428 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.2511, allocations: 0.8027 MB / 428.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.2517, allocations: 262.9 kB / 429.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.2519, allocations: 100.9 kB / 429.2 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.252, allocations: 8 kB / 429.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.252, allocations: 42.55 kB / 429.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.252, allocations: 0 / 429.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001059/0.2531, allocations: 479.4 kB / 429.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.2533, allocations: 316.4 kB / 430 MB, free: 5.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.2536, allocations: 283 kB / 430.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.2536, allocations: 37.7 kB / 430.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2537, allocations: 168.8 kB / 430.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2538, allocations: 115 kB / 430.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.254, allocations: 65.7 kB / 430.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2541, allocations: 346.7 kB / 431 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2543, allocations: 91.95 kB / 431.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.2547, allocations: 216.9 kB / 431.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.2551, allocations: 263.5 kB / 431.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2551, allocations: 0 / 431.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006555/0.2558, allocations: 373.8 kB / 431.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.2558, allocations: 33.7 kB / 431.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2558, allocations: 0 / 431.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.256, allocations: 40.94 kB / 432 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.257, allocations: 159.8 kB / 432.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.2609, allocations: 3.229 MB / 435.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.2612, allocations: 39.88 kB / 435.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.2612, allocations: 8 kB / 435.4 MB, free: 15.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.2614, allocations: 161.7 kB / 435.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.2614, allocations: 31.81 kB / 435.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-05/0.2615, allocations: 39.08 kB / 435.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2615, allocations: 4 kB / 435.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2615, allocations: 4 kB / 435.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000738/0.2623, allocations: 0.6511 MB / 436.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.2627, allocations: 381.2 kB / 436.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2628, allocations: 4 kB / 436.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.264, allocations: 207.7 kB / 436.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.2641, allocations: 24.84 kB / 436.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.2641, allocations: 7.984 kB / 436.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/0.2675, allocations: 3.045 MB / 440 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2675, allocations: 0 / 440 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.2684, allocations: 0.5121 MB / 440.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.2686, allocations: 140.8 kB / 440.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.2686, allocations: 8 kB / 440.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2689, allocations: 19.98 kB / 440.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.269, allocations: 31.91 kB / 440.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.269, allocations: 8 kB / 440.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.2692, allocations: 201.9 kB / 440.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2692, allocations: 4 kB / 440.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.2696, allocations: 92 kB / 441 MB, free: 9.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.2698, allocations: 115.2 kB / 441.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2713, allocations: 0.5252 MB / 441.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.2713, allocations: 8.188 kB / 441.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.2728, allocations: 390.4 kB / 442 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.2733, allocations: 88.81 kB / 442.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.275, allocations: 0.8652 MB / 442.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2754, allocations: 0.7801 MB / 443.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.2756, allocations: 30.97 kB / 443.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.2757, allocations: 31.42 kB / 443.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2757, allocations: 0 / 443.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of Templates: time 0.01205/0.2877, allocations: 6.43 MB / 450.2 MB, free: 0.5312 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.602461970411241]