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.001146/0.001146, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001136/0.001136, allocations: 171.9 kB / 24.92 MB, free: 8.727 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.974/0.974, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.863e-06/1.863e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.232e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003052/0.003074, allocations: 2.915 MB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.004886, allocations: 1.406 MB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.005032, allocations: 4 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.005431, allocations: 183 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.00584, allocations: 250.4 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.006095, allocations: 147.5 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.006505, allocations: 481.6 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.006638, allocations: 74.94 kB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.006868, allocations: 267.3 kB / 279.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.007054, allocations: 159.6 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.007088, allocations: 28 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.007189, allocations: 71.92 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.007263, allocations: 95.61 kB / 279.5 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.007355, allocations: 123.7 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.007664, allocations: 342.7 kB / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.007666, allocations: 0 / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007667, allocations: 0 / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.007672, allocations: 0 / 280 MB, free: 10.74 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.0005506/0.008223, allocations: 0.6158 MB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.008251, allocations: 8.031 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.008337, allocations: 44.89 kB / 280.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.008597, allocations: 251.9 kB / 280.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.008616, allocations: 16.88 kB / 280.9 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.008647, allocations: 24.38 kB / 280.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.00897, allocations: 0.5497 MB / 281.5 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00898, allocations: 3.938 kB / 281.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.008995, allocations: 8 kB / 281.5 MB, free: 9.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.009, allocations: 4 kB / 281.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.009085, allocations: 66.28 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.009697, allocations: 466.9 kB / 282 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.009838, allocations: 153.2 kB / 282.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.00988, allocations: 44.78 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.009897, allocations: 4 kB / 282.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.01002, allocations: 159.9 kB / 282.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.262e-06/0.01002, allocations: 0 / 282.4 MB, free: 8.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.000303/0.01033, allocations: 182.3 kB / 282.5 MB, free: 7.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.457e-05/0.01041, allocations: 312.4 kB / 282.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.01062, allocations: 376.8 kB / 283.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.01064, allocations: 33.7 kB / 283.2 MB, free: 7.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.01071, allocations: 157.4 kB / 283.4 MB, free: 6.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.01075, allocations: 87.3 kB / 283.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.01081, allocations: 53.69 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.483e-05/0.01089, allocations: 350.7 kB / 283.9 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.01093, allocations: 30.81 kB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01108, allocations: 384.8 kB / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.01118, allocations: 108.8 kB / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01118, allocations: 0 / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001724/0.01135, allocations: 169.7 kB / 284.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.01136, allocations: 8 kB / 284.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.01137, allocations: 0 / 284.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.131e-05/0.01144, allocations: 28.78 kB / 284.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01159, allocations: 64.7 kB / 284.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000678/0.01227, allocations: 1.245 MB / 285.9 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.01237, allocations: 31.78 kB / 285.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.01238, allocations: 4 kB / 285.9 MB, free: 4.211 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 8.953e-05/0.01247, allocations: 147.8 kB / 286.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.0125, allocations: 35.97 kB / 286.1 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.01267, allocations: 165 kB / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01267, allocations: 0 / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.01267, allocations: 0 / 286.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001893/0.01286, allocations: 0.4969 MB / 286.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.01323, allocations: 469.4 kB / 287.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01323, allocations: 0 / 287.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01339, allocations: 70.55 kB / 287.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01339, allocations: 3.984 kB / 287.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.0134, allocations: 4 kB / 287.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.0134, allocations: 4 kB / 287.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0134, allocations: 7.875 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.0136, allocations: 317.8 kB / 287.6 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.01366, allocations: 43.69 kB / 287.7 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.01369, allocations: 8 kB / 287.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.01378, allocations: 15.98 kB / 287.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.01381, allocations: 19.95 kB / 287.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01383, allocations: 7.984 kB / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01394, allocations: 155.5 kB / 287.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01394, allocations: 4 kB / 287.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.01416, allocations: 91.89 kB / 288 MB, free: 2.004 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.001044/0.0152, allocations: 0.5047 MB / 288.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01547, allocations: 243.9 kB / 288.7 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01548, allocations: 4 kB / 288.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.01554, allocations: 63.45 kB / 288.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.01581, allocations: 115.4 kB / 288.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.01683, allocations: 0.7047 MB / 289.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.01689, allocations: 105.3 kB / 289.7 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.017, allocations: 42.95 kB / 289.7 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.01723, allocations: 177.2 kB / 289.9 MB, free: 228 kB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01723, allocations: 0 / 289.9 MB, free: 228 kB / 266.7 MB Notification: Performance of Templates: time 0.09949/0.1167, allocations: 7.162 MB / 297.1 MB, free: 23.82 MB / 266.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 -s gbode -gbm=radauIIA3 -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.7471378101035953]