Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001369/0.001369, allocations: 84.22 kB / 22 MB, free: 5.18 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.001894/0.001894, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 59.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.005847/0.291, allocations: 2.556 MB / 351 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2935, allocations: 0.8147 MB / 351.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2937, allocations: 7.938 kB / 351.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.2941, allocations: 71.41 kB / 351.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.2946, allocations: 138.9 kB / 352.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.295, allocations: 91.81 kB / 352.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.2959, allocations: 430.5 kB / 352.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.2961, allocations: 75.66 kB / 352.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.2964, allocations: 167.4 kB / 352.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2969, allocations: 151.3 kB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.297, allocations: 40 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2971, allocations: 32 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2972, allocations: 83.69 kB / 353.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2975, allocations: 159.4 kB / 353.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.298, allocations: 440.7 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.298, allocations: 0 / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.298, allocations: 4 kB / 353.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.298, allocations: 0 / 353.7 MB, free: 10.28 MB / 318.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.001138/0.2992, allocations: 0.6235 MB / 354.3 MB, free: 9.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2992, allocations: 11.98 kB / 354.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.2993, allocations: 48.7 kB / 354.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.2997, allocations: 246.4 kB / 354.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.2999, allocations: 106.2 kB / 354.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.2999, allocations: 24.31 kB / 354.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007522/0.3007, allocations: 0.6703 MB / 355.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3007, allocations: 3.953 kB / 355.4 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3007, allocations: 12 kB / 355.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3008, allocations: 11.98 kB / 355.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.3012, allocations: 193.9 kB / 355.7 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3026, allocations: 0.6585 MB / 356.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.3032, allocations: 255 kB / 356.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3034, allocations: 104.8 kB / 356.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.3034, allocations: 7.984 kB / 356.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3035, allocations: 38.56 kB / 356.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.3035, allocations: 0 / 356.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001135/0.3046, allocations: 410.2 kB / 357.1 MB, free: 6.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.3048, allocations: 316.4 kB / 357.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.3051, allocations: 288.1 kB / 357.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3051, allocations: 33.7 kB / 357.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3053, allocations: 164.9 kB / 357.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.3054, allocations: 119 kB / 358 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.3055, allocations: 65.66 kB / 358.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3057, allocations: 342.8 kB / 358.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.306, allocations: 121.7 kB / 358.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.3065, allocations: 491.4 kB / 359 MB, free: 4.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.3069, allocations: 262.7 kB / 359.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3069, allocations: 4 kB / 359.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006909/0.3076, allocations: 394.6 kB / 359.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.3077, allocations: 37.69 kB / 359.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3077, allocations: 0 / 359.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.3078, allocations: 36.84 kB / 359.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.3088, allocations: 163.9 kB / 359.9 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.3127, allocations: 2.972 MB / 362.9 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3131, allocations: 39.75 kB / 362.9 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3131, allocations: 12 kB / 362.9 MB, free: 348 kB / 318.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.000197/0.3133, allocations: 145.8 kB / 363 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.3134, allocations: 43.75 kB / 363.1 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.3134, allocations: 39.08 kB / 363.1 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3135, allocations: 4 kB / 363.1 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3135, allocations: 0 / 363.1 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007962/0.3143, allocations: 0.655 MB / 363.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.3146, allocations: 261.2 kB / 364 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3146, allocations: 3.938 kB / 364 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.3159, allocations: 219.6 kB / 364.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.316, allocations: 20.86 kB / 364.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.316, allocations: 11.98 kB / 364.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.3194, allocations: 2.781 MB / 367.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3194, allocations: 4.031 kB / 367.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.3202, allocations: 0.516 MB / 367.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3204, allocations: 59.75 kB / 367.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3204, allocations: 11.94 kB / 367.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.3207, allocations: 15.98 kB / 367.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.3208, allocations: 27.89 kB / 367.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.3208, allocations: 12 kB / 367.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.321, allocations: 199.1 kB / 367.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.321, allocations: 0 / 367.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.3215, allocations: 111.9 kB / 368 MB, free: 10.85 MB / 334.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.0001427/0.3216, allocations: 99.25 kB / 368.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.3232, allocations: 0.5425 MB / 368.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3232, allocations: 4 kB / 368.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.3246, allocations: 394.3 kB / 369 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.3251, allocations: 92.62 kB / 369.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3268, allocations: 0.864 MB / 370 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.327, allocations: 165.8 kB / 370.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.3272, allocations: 38.95 kB / 370.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.3273, allocations: 32.5 kB / 370.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3273, allocations: 0 / 370.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of Templates: time 0.01323/0.3405, allocations: 6.725 MB / 377 MB, free: 1.785 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.777382908971049]