Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002848, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002601, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8879/0.8879, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07955/0.9674, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 245.2 MB, free: 13.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.53e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.006363/0.006379, allocations: 2.822 MB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.007655, allocations: 0.8604 MB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.007783, allocations: 7.938 kB / 248.9 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.007951, allocations: 71.45 kB / 249 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.008173, allocations: 146.8 kB / 249.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.008344, allocations: 95.73 kB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.01181, allocations: 458.1 kB / 249.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.01194, allocations: 62.58 kB / 249.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.01226, allocations: 302.5 kB / 250 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.01247, allocations: 127.7 kB / 250.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.01252, allocations: 36 kB / 250.2 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.01258, allocations: 40 kB / 250.2 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.01263, allocations: 55.75 kB / 250.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.01274, allocations: 115.8 kB / 250.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.01303, allocations: 271 kB / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.01304, allocations: 4 kB / 250.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01304, allocations: 0 / 250.6 MB, free: 8.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.01305, allocations: 0 / 250.6 MB, free: 8.133 MB / 250.7 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.0008358/0.01388, allocations: 0.657 MB / 251.3 MB, free: 7.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.01391, allocations: 12.02 kB / 251.3 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.01398, allocations: 40.91 kB / 251.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.01423, allocations: 213.7 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.01431, allocations: 94.17 kB / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.01435, allocations: 28.38 kB / 251.7 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.01776, allocations: 0.6167 MB / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01777, allocations: 192 / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.01779, allocations: 16.12 kB / 252.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.0178, allocations: 4 kB / 252.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.01793, allocations: 71.39 kB / 252.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.0188, allocations: 474 kB / 252.8 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.01901, allocations: 138.5 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.01908, allocations: 56.78 kB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.0191, allocations: 8 kB / 253 MB, free: 5.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.01913, allocations: 38.56 kB / 253.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 2.966e-06/0.01913, allocations: 3.984 kB / 253.1 MB, free: 5.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004419/0.01957, allocations: 227.1 kB / 253.3 MB, free: 5.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.0196, allocations: 55.41 kB / 253.3 MB, free: 5.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01977, allocations: 262.8 kB / 253.6 MB, free: 4.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.0198, allocations: 33.7 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.01987, allocations: 141.5 kB / 253.8 MB, free: 4.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.01993, allocations: 107 kB / 253.9 MB, free: 4.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.02002, allocations: 69.66 kB / 253.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.0201, allocations: 346.8 kB / 254.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.02017, allocations: 57.69 kB / 254.3 MB, free: 4.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.02036, allocations: 422.7 kB / 254.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.02054, allocations: 167.1 kB / 254.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.02054, allocations: 0 / 254.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000257/0.0208, allocations: 239.6 kB / 255.2 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.02083, allocations: 37.64 kB / 255.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02084, allocations: 0 / 255.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.253e-05/0.02093, allocations: 28.84 kB / 255.2 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.02149, allocations: 160.5 kB / 255.4 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.02341, allocations: 2.543 MB / 257.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.02353, allocations: 31.83 kB / 257.9 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.02354, allocations: 4 kB / 258 MB, free: 176 kB / 250.7 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 8.546e-05/0.02363, allocations: 133.8 kB / 258.1 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.02367, allocations: 36.02 kB / 258.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.02371, allocations: 39.02 kB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.02371, allocations: 0 / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02372, allocations: 3.938 kB / 258.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000233/0.02395, allocations: 0.5332 MB / 258.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.02413, allocations: 197.6 kB / 258.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02413, allocations: 0 / 258.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.02466, allocations: 219.7 kB / 259.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.02472, allocations: 39.75 kB / 259.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.446e-05/0.02476, allocations: 16.84 kB / 259.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.02477, allocations: 4 kB / 259.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.02587, allocations: 2.448 MB / 261.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.02587, allocations: 0 / 261.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.02611, allocations: 320.5 kB / 261.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.02613, allocations: 12 kB / 261.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.02624, allocations: 15.98 kB / 261.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.02629, allocations: 27.89 kB / 262 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.0263, allocations: 4 kB / 262 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.02637, allocations: 96.62 kB / 262.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02637, allocations: 0 / 262.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.0266, allocations: 103.9 kB / 262.2 MB, free: 11.61 MB / 266.7 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 9.081e-05/0.02669, allocations: 92.36 kB / 262.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005435/0.02723, allocations: 445.9 kB / 262.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.02724, allocations: 8 kB / 262.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.02773, allocations: 348.5 kB / 263.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.02844, allocations: 0.9332 MB / 264 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.03291, allocations: 0.6595 MB / 264.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.03296, allocations: 104.9 kB / 264.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.362e-05/0.03306, allocations: 38.95 kB / 264.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.0333, allocations: 189.2 kB / 265 MB, free: 8.523 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0333, allocations: 0 / 265 MB, free: 8.523 MB / 266.7 MB Notification: Performance of Templates: time 0.00899/0.04229, allocations: 8.514 MB / 273.5 MB, free: 192 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.613974593579769]