Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001329/0.001329, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001131/0.001131, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9206/0.9206, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.062e-05, allocations: 7.125 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003059/0.003079, allocations: 2.863 MB / 277 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004848, allocations: 1.364 MB / 278.4 MB, free: 200 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.005027, allocations: 7.938 kB / 278.4 MB, free: 192 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.00545, allocations: 175.1 kB / 278.6 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.005962, allocations: 262.4 kB / 278.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.006256, allocations: 147.4 kB / 279 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.006728, allocations: 481.7 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.006876, allocations: 64.31 kB / 279.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.007135, allocations: 263.4 kB / 279.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.007333, allocations: 171.6 kB / 279.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.007372, allocations: 35.94 kB / 280 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007488, allocations: 67.92 kB / 280 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.00759, allocations: 91.66 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.007746, allocations: 127.7 kB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.008245, allocations: 346.7 kB / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.008249, allocations: 0 / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00825, allocations: 0 / 280.6 MB, free: 14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.008263, allocations: 3.938 kB / 280.6 MB, free: 13.99 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009602/0.009223, allocations: 0.7405 MB / 281.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.00926, allocations: 8.031 kB / 281.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.009371, allocations: 68.61 kB / 281.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.00975, allocations: 282.7 kB / 281.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.009783, allocations: 16.88 kB / 281.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.00983, allocations: 24.31 kB / 281.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.0102, allocations: 0.5735 MB / 282.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.01021, allocations: 3.938 kB / 282.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.01023, allocations: 8 kB / 282.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.01024, allocations: 4 kB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.807e-05/0.01034, allocations: 75.36 kB / 282.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.01112, allocations: 0.6223 MB / 283 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.01129, allocations: 119.4 kB / 283.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.01134, allocations: 47.77 kB / 283.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.01136, allocations: 8 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.01151, allocations: 156.4 kB / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/0.01151, allocations: 0 / 283.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004173/0.01193, allocations: 247.7 kB / 283.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.01203, allocations: 320.4 kB / 283.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01228, allocations: 418.5 kB / 284.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.01231, allocations: 33.7 kB / 284.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01244, allocations: 259.1 kB / 284.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.01249, allocations: 87.25 kB / 284.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.01255, allocations: 59.34 kB / 284.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.01269, allocations: 0.5312 MB / 285.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.01273, allocations: 27.97 kB / 285.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.01292, allocations: 433.3 kB / 285.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01304, allocations: 111.3 kB / 285.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01304, allocations: 0 / 285.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002338/0.01327, allocations: 215.1 kB / 286 MB, free: 8.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01329, allocations: 4 kB / 286 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.01329, allocations: 7.938 kB / 286 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.557e-05/0.01338, allocations: 35.75 kB / 286.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01351, allocations: 55.84 kB / 286.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009365/0.01444, allocations: 1.823 MB / 287.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01456, allocations: 19.89 kB / 288 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01457, allocations: 7.984 kB / 288 MB, free: 5.938 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.01468, allocations: 188.4 kB / 288.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.01472, allocations: 55.72 kB / 288.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.01496, allocations: 208 kB / 288.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01496, allocations: 0 / 288.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.01496, allocations: 0 / 288.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002539/0.01522, allocations: 0.5358 MB / 289 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.01571, allocations: 0.5592 MB / 289.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01572, allocations: 4 kB / 289.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01584, allocations: 47.97 kB / 289.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01584, allocations: 4 kB / 289.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.01585, allocations: 4 kB / 289.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01585, allocations: 0 / 289.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01585, allocations: 3.984 kB / 289.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01612, allocations: 374.5 kB / 289.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.01619, allocations: 63.72 kB / 290 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01622, allocations: 4 kB / 290 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.01634, allocations: 20.02 kB / 290 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.01636, allocations: 11.97 kB / 290 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.01638, allocations: 8 kB / 290 MB, free: 3.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.01652, allocations: 267 kB / 290.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.01652, allocations: 0 / 290.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01678, allocations: 107.8 kB / 290.4 MB, free: 3.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008027/0.01758, allocations: 392.5 kB / 290.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01792, allocations: 326.1 kB / 291.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01793, allocations: 0 / 291.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.01799, allocations: 59.59 kB / 291.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.01834, allocations: 99.69 kB / 291.3 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.01943, allocations: 0.7113 MB / 292 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.0195, allocations: 105.3 kB / 292.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.01961, allocations: 50.88 kB / 292.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.01985, allocations: 210.1 kB / 292.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01985, allocations: 0 / 292.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of Templates: time 0.009036/0.02889, allocations: 7.088 MB / 299.4 MB, free: 10.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.9257215787656605]