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.0009582/0.0009582, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009061/0.0009061, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 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.8828/0.8828, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 274.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.488e-05, allocations: 5.047 kB / 274.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002541/0.002556, allocations: 2.761 MB / 276.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003668, allocations: 0.8461 MB / 277.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.003784, allocations: 7.938 kB / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.003984, allocations: 59.44 kB / 277.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.004188, allocations: 154.8 kB / 277.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.004341, allocations: 91.75 kB / 278 MB, free: 420 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.004683, allocations: 446.2 kB / 278.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004802, allocations: 75.91 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.004988, allocations: 239.5 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005142, allocations: 135.6 kB / 278.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.005182, allocations: 36 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.005219, allocations: 36 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.005268, allocations: 79.69 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.005363, allocations: 135.7 kB / 279.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.005609, allocations: 302.9 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005612, allocations: 4 kB / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005613, allocations: 0 / 279.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.005617, allocations: 0 / 279.5 MB, free: 14.95 MB / 266.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.0006673/0.006285, allocations: 0.7117 MB / 280.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.006313, allocations: 12.03 kB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.006382, allocations: 60.7 kB / 280.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.006603, allocations: 244.5 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.006671, allocations: 98.17 kB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.006704, allocations: 28.36 kB / 280.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.007041, allocations: 0.6393 MB / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007052, allocations: 192 / 281.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.007072, allocations: 16.12 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.007078, allocations: 4 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.007185, allocations: 83.41 kB / 281.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.007887, allocations: 0.6424 MB / 282 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.008094, allocations: 159 kB / 282.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.008157, allocations: 63.69 kB / 282.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.008177, allocations: 7.984 kB / 282.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.008201, allocations: 45.38 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.032e-06/0.008202, allocations: 0 / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004523/0.008654, allocations: 278.6 kB / 282.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.008742, allocations: 312.4 kB / 282.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.00891, allocations: 326.2 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.008932, allocations: 29.7 kB / 283.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.00904, allocations: 227.5 kB / 283.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.009096, allocations: 107.1 kB / 283.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.009167, allocations: 75.31 kB / 283.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.009287, allocations: 0.5195 MB / 284.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.009349, allocations: 61.67 kB / 284.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.009573, allocations: 478.2 kB / 284.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.009789, allocations: 159 kB / 284.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009792, allocations: 7.938 kB / 284.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003333/0.01012, allocations: 299.4 kB / 285.1 MB, free: 8.738 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.01015, allocations: 37.64 kB / 285.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01015, allocations: 0 / 285.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-05/0.01024, allocations: 31.67 kB / 285.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.01066, allocations: 135.9 kB / 285.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.01268, allocations: 3.688 MB / 289 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01282, allocations: 35.89 kB / 289 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01283, allocations: 8 kB / 289 MB, free: 4.57 MB / 266.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 0.000102/0.01293, allocations: 176.5 kB / 289.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.01298, allocations: 43.81 kB / 289.2 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.01302, allocations: 39.08 kB / 289.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01302, allocations: 0 / 289.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01303, allocations: 0 / 289.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004145/0.01344, allocations: 0.5749 MB / 289.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.01365, allocations: 228.9 kB / 290.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01365, allocations: 4 kB / 290.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.01424, allocations: 175.8 kB / 290.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-05/0.01429, allocations: 31.66 kB / 290.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.0143, allocations: 11.98 kB / 290.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.0161, allocations: 3.575 MB / 293.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.0161, allocations: 7.984 kB / 293.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.0164, allocations: 411.2 kB / 294.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.01648, allocations: 67.64 kB / 294.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.01651, allocations: 8 kB / 294.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.01664, allocations: 16 kB / 294.4 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.01668, allocations: 28.02 kB / 294.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01669, allocations: 7.984 kB / 294.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.01678, allocations: 218.9 kB / 294.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01678, allocations: 0 / 294.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.01703, allocations: 95.95 kB / 294.7 MB, free: 14.48 MB / 282.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 8.413e-05/0.01711, allocations: 111.2 kB / 294.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.01788, allocations: 0.4912 MB / 295.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01788, allocations: 0 / 295.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.01852, allocations: 393.7 kB / 295.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.01883, allocations: 92.56 kB / 295.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.01997, allocations: 0.762 MB / 296.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.02003, allocations: 93.17 kB / 296.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.02011, allocations: 38.95 kB / 296.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.0204, allocations: 214.1 kB / 296.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0204, allocations: 0 / 296.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Templates: time 0.007932/0.02834, allocations: 7.374 MB / 304.2 MB, free: 5 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8870277740061283]