Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001348/0.001348, allocations: 115 kB / 18.46 MB, free: 4.621 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.001409/0.001409, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.12 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.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 374.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.108, allocations: 53.34 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00414/0.1121, allocations: 2.77 MB / 430.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1138, allocations: 0.8645 MB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.114, allocations: 7.938 kB / 431.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1143, allocations: 71.41 kB / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.1146, allocations: 134.9 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1148, allocations: 91.81 kB / 431.4 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2107/0.3255, allocations: 434.5 kB / 431.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.3257, allocations: 60.25 kB / 431.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.326, allocations: 169 kB / 432.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3262, allocations: 178.7 kB / 432.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.3263, allocations: 34.12 kB / 432.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.3264, allocations: 34.75 kB / 432.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.3265, allocations: 81.55 kB / 432.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3267, allocations: 190.5 kB / 432.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005019/0.3272, allocations: 441.8 kB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3272, allocations: 0.6562 kB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3272, allocations: 0.9062 kB / 433 MB, free: 8.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3272, allocations: 0.6562 kB / 433 MB, free: 8.016 MB / 350.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.001121/0.3283, allocations: 0.687 MB / 433.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3284, allocations: 9.094 kB / 433.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.3285, allocations: 44.17 kB / 433.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.3289, allocations: 311.1 kB / 434 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.329, allocations: 53.05 kB / 434.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.329, allocations: 22.94 kB / 434.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.3295, allocations: 321.4 kB / 434.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3295, allocations: 2.156 kB / 434.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.3295, allocations: 9.406 kB / 434.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3295, allocations: 6.281 kB / 434.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.3299, allocations: 202.5 kB / 434.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3312, allocations: 0.7944 MB / 435.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.3318, allocations: 255.4 kB / 435.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.332, allocations: 102.5 kB / 435.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.332, allocations: 16 kB / 435.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3321, allocations: 41.81 kB / 435.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.3321, allocations: 0 / 435.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001096/0.3332, allocations: 485 kB / 436.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3332, allocations: 314 kB / 436.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.3335, allocations: 285 kB / 436.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3336, allocations: 32.7 kB / 436.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.314e-05/0.3336, allocations: 172.9 kB / 437.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.3337, allocations: 105.6 kB / 437.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3338, allocations: 66.42 kB / 437.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.3339, allocations: 344.3 kB / 437.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3341, allocations: 94.86 kB / 437.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3344, allocations: 205.6 kB / 437.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3348, allocations: 266.4 kB / 438.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.3348, allocations: 3.938 kB / 438.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000603/0.3354, allocations: 366 kB / 438.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.3354, allocations: 37.95 kB / 438.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3354, allocations: 1.156 kB / 438.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.3356, allocations: 36.73 kB / 438.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3367, allocations: 164.7 kB / 438.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.3398, allocations: 3.232 MB / 442 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3402, allocations: 28.3 kB / 442 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3402, allocations: 11.94 kB / 442 MB, free: 2.141 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.0001764/0.3404, allocations: 157.7 kB / 442.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.593e-05/0.3404, allocations: 42.84 kB / 442.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.3405, allocations: 37.8 kB / 442.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3405, allocations: 3.438 kB / 442.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.3405, allocations: 2.828 kB / 442.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005962/0.3411, allocations: 0.6452 MB / 442.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.3416, allocations: 389.5 kB / 443.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3416, allocations: 0 / 443.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.3429, allocations: 213.2 kB / 443.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.343, allocations: 22.31 kB / 443.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.343, allocations: 11.45 kB / 443.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.3462, allocations: 3.036 MB / 446.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3462, allocations: 0.5156 kB / 446.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.3472, allocations: 0.5156 MB / 447.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3474, allocations: 137.9 kB / 447.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.3474, allocations: 12.14 kB / 447.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.3477, allocations: 15.53 kB / 447.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.3478, allocations: 23.25 kB / 447.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3478, allocations: 6.531 kB / 447.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003169/0.3482, allocations: 200 kB / 447.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3482, allocations: 0 / 447.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.3487, allocations: 104.2 kB / 447.6 MB, free: 13.56 MB / 366.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.0001771/0.3489, allocations: 121.2 kB / 447.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.3506, allocations: 0.527 MB / 448.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.3506, allocations: 1.062 kB / 448.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.3521, allocations: 391.3 kB / 448.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005913/0.3527, allocations: 91.5 kB / 448.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3547, allocations: 0.8885 MB / 449.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.3552, allocations: 0.778 MB / 450.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.3553, allocations: 32.62 kB / 450.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3553, allocations: 0 / 450.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Templates: time 0.01135/0.3666, allocations: 6.856 MB / 457.2 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.155784992995905]