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.00184/0.00184, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.002099/0.002099, allocations: 153.6 kB / 24.49 MB, free: 3.855 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.444/1.444, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.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.001619/0.001619, allocations: 51.19 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09211, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004005/0.09611, allocations: 2.564 MB / 374.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.0975, allocations: 0.7828 MB / 374.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.09762, allocations: 3.938 kB / 374.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.09788, allocations: 71.42 kB / 375 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.09817, allocations: 138.9 kB / 375.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.09838, allocations: 91.81 kB / 375.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.09891, allocations: 438.2 kB / 375.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.09907, allocations: 63.95 kB / 375.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.09926, allocations: 163.4 kB / 375.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.09951, allocations: 155.2 kB / 376 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.09957, allocations: 40 kB / 376 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.09964, allocations: 36 kB / 376.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.09972, allocations: 75.73 kB / 376.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.09991, allocations: 163.2 kB / 376.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.1004, allocations: 454.2 kB / 376.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1004, allocations: 0 / 376.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1004, allocations: 0 / 376.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1004, allocations: 0 / 376.8 MB, free: 2.133 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.001106/0.1015, allocations: 0.6118 MB / 377.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1015, allocations: 12.03 kB / 377.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.1016, allocations: 40.7 kB / 377.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.1021, allocations: 246.5 kB / 377.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1022, allocations: 102.2 kB / 377.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.1022, allocations: 16.38 kB / 377.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007209/0.103, allocations: 0.682 MB / 378.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.103, allocations: 0 / 378.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.103, allocations: 11.98 kB / 378.5 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.103, allocations: 4 kB / 378.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.1034, allocations: 197.9 kB / 378.7 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1048, allocations: 0.6583 MB / 379.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.1054, allocations: 254.9 kB / 379.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1056, allocations: 104.8 kB / 379.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1056, allocations: 7.984 kB / 379.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1056, allocations: 42.56 kB / 379.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.1056, allocations: 0 / 379.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001038/0.1067, allocations: 406.3 kB / 380.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.1069, allocations: 316.4 kB / 380.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1072, allocations: 288.2 kB / 380.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.1072, allocations: 33.7 kB / 380.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1073, allocations: 172.7 kB / 380.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.1074, allocations: 115.1 kB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1075, allocations: 65.7 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1077, allocations: 342.8 kB / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1079, allocations: 121.4 kB / 381.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.1084, allocations: 491.6 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.1089, allocations: 263.5 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1089, allocations: 4 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006736/0.1095, allocations: 395.4 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.1096, allocations: 36.34 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1096, allocations: 0 / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.1097, allocations: 40.84 kB / 382.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.1108, allocations: 159.9 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.1145, allocations: 2.976 MB / 385.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.1148, allocations: 35.88 kB / 385.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1148, allocations: 8 kB / 385.9 MB, free: 8.223 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.0001954/0.115, allocations: 153.8 kB / 386.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.1151, allocations: 43.81 kB / 386.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.1152, allocations: 35.08 kB / 386.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1152, allocations: 4 kB / 386.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1152, allocations: 0 / 386.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007325/0.1159, allocations: 0.6511 MB / 386.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1163, allocations: 273 kB / 387.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1163, allocations: 0 / 387.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.1176, allocations: 211.6 kB / 387.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.062e-05/0.1177, allocations: 20.86 kB / 387.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1177, allocations: 7.984 kB / 387.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.121, allocations: 2.792 MB / 390.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.121, allocations: 4 kB / 390.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.1219, allocations: 0.5047 MB / 390.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.122, allocations: 63.7 kB / 390.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1221, allocations: 15.94 kB / 390.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1223, allocations: 19.92 kB / 390.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.1224, allocations: 27.89 kB / 390.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1224, allocations: 8 kB / 390.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.1227, allocations: 199.1 kB / 390.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1227, allocations: 0 / 390.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.1231, allocations: 100 kB / 391 MB, free: 2.738 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.0001434/0.1232, allocations: 107.2 kB / 391.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.1249, allocations: 0.5658 MB / 391.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1249, allocations: 0 / 391.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.1263, allocations: 386.5 kB / 392.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.1268, allocations: 88.53 kB / 392.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1286, allocations: 0.8593 MB / 393 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1288, allocations: 165.8 kB / 393.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.129, allocations: 38.95 kB / 393.2 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.129, allocations: 28.5 kB / 393.2 MB, free: 424 kB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.129, allocations: 0 / 393.2 MB, free: 424 kB / 350.1 MB Notification: Performance of Templates: time 0.01288/0.1419, allocations: 6.738 MB / 400 MB, free: 9.848 MB / 366.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/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.561167821986601]