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.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.001549/0.001549, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001704/0.001704, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.504/1.504, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 51.92 kB / 347.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2844, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003823/0.2883, allocations: 2.771 MB / 399.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2898, allocations: 0.8738 MB / 400.4 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.2901, allocations: 7.344 kB / 400.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.2904, allocations: 76.12 kB / 400.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.2907, allocations: 136.5 kB / 400.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.2909, allocations: 89.92 kB / 400.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.2914, allocations: 434.3 kB / 401.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.2915, allocations: 71.84 kB / 401.2 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.2917, allocations: 166.6 kB / 401.4 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.292, allocations: 180.4 kB / 401.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.292, allocations: 34.88 kB / 401.6 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.2921, allocations: 37.75 kB / 401.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.2922, allocations: 76.7 kB / 401.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.2923, allocations: 195.6 kB / 401.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.2929, allocations: 434.9 kB / 402.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2929, allocations: 5.844 kB / 402.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2929, allocations: 3.938 kB / 402.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2929, allocations: 0 / 402.3 MB, free: 5.973 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.001098/0.294, allocations: 0.6227 MB / 403 MB, free: 5.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.294, allocations: 14.56 kB / 403 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.2941, allocations: 42.86 kB / 403 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.2945, allocations: 245.6 kB / 403.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/0.2946, allocations: 44.39 kB / 403.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.2946, allocations: 22.12 kB / 403.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.2951, allocations: 324.1 kB / 403.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2951, allocations: 9.906 kB / 403.7 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2952, allocations: 11.62 kB / 403.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2952, allocations: 8.75 kB / 403.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.2956, allocations: 204.3 kB / 403.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.2969, allocations: 0.7625 MB / 404.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.2974, allocations: 254.5 kB / 404.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.2977, allocations: 108.2 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.2977, allocations: 3.859 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.2977, allocations: 43.47 kB / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.2977, allocations: 96 / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009713/0.2987, allocations: 408.5 kB / 405.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.2988, allocations: 317.6 kB / 405.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.299, allocations: 282.5 kB / 406 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.2991, allocations: 33.05 kB / 406.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.2991, allocations: 171.2 kB / 406.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.2992, allocations: 112.2 kB / 406.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2993, allocations: 66.81 kB / 406.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.2994, allocations: 344.1 kB / 406.7 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2996, allocations: 91.95 kB / 406.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2998, allocations: 215.5 kB / 407 MB, free: 2.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3002, allocations: 265.1 kB / 407.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3002, allocations: 0 / 407.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005466/0.3008, allocations: 367.8 kB / 407.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3008, allocations: 33.38 kB / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3008, allocations: 0 / 407.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.301, allocations: 40.69 kB / 407.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.3019, allocations: 161.8 kB / 407.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.305, allocations: 3.025 MB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3054, allocations: 36.58 kB / 410.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.3054, allocations: 12.09 kB / 411 MB, free: 15.51 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: 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.0001936/0.3056, allocations: 157.1 kB / 411.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.3057, allocations: 37.97 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.536e-05/0.3057, allocations: 37.77 kB / 411.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3057, allocations: 3.375 kB / 411.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3057, allocations: 1 kB / 411.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007474/0.3065, allocations: 0.6598 MB / 411.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.307, allocations: 360.5 kB / 412.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.307, allocations: 5.312 kB / 412.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.3083, allocations: 205.7 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.3084, allocations: 23.06 kB / 412.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3084, allocations: 7.781 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.3118, allocations: 2.833 MB / 415.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3118, allocations: 0.5625 kB / 415.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.3127, allocations: 0.5176 MB / 415.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.3129, allocations: 60.05 kB / 415.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.3129, allocations: 11.59 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.3132, allocations: 16.91 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.3133, allocations: 24.02 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3133, allocations: 6.047 kB / 415.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3135, allocations: 201.5 kB / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3135, allocations: 0 / 416.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.314, allocations: 115.3 kB / 416.2 MB, free: 11.22 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.0001786/0.3142, allocations: 107.9 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3159, allocations: 0.5177 MB / 416.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3159, allocations: 1.219 kB / 416.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.3173, allocations: 397 kB / 417.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.3179, allocations: 91.62 kB / 417.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3197, allocations: 0.8839 MB / 418.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.3201, allocations: 0.7735 MB / 419 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.3203, allocations: 37.14 kB / 419 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.3204, allocations: 27.72 kB / 419 MB, free: 9.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3204, allocations: 0 / 419 MB, free: 9.125 MB / 334.1 MB Notification: Performance of Templates: time 0.01223/0.3326, allocations: 6.495 MB / 425.5 MB, free: 5.594 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins/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.94337095040828]