Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009671/0.0009671, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001008/0.001008, allocations: 164.1 kB / 25.75 MB, free: 8.949 MB / 18.57 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 0.9185/0.9185, allocations: 158.6 MB / 187.5 MB, free: 2.449 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.382e-05, allocations: 6.109 kB / 251.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00677/0.006793, allocations: 2.875 MB / 254 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.008107, allocations: 1.15 MB / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.008257, allocations: 7.938 kB / 255.1 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.008744, allocations: 187 kB / 255.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.009125, allocations: 214.7 kB / 255.5 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.009364, allocations: 147.5 kB / 255.7 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.00972, allocations: 469.6 kB / 256.1 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.009857, allocations: 67.95 kB / 256.2 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.01005, allocations: 259.4 kB / 256.4 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.01023, allocations: 167.6 kB / 256.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.01027, allocations: 35.98 kB / 256.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.01036, allocations: 67.92 kB / 256.7 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.01044, allocations: 95.67 kB / 256.8 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.01054, allocations: 131.6 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.01085, allocations: 330.8 kB / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01086, allocations: 4 kB / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01086, allocations: 0 / 257.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.01086, allocations: 0 / 257.3 MB, free: 1.562 MB / 234.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.0007642/0.01163, allocations: 0.7367 MB / 258 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.01167, allocations: 15.98 kB / 258 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.01177, allocations: 64.66 kB / 258.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.01209, allocations: 295.2 kB / 258.4 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.01212, allocations: 16.81 kB / 258.4 MB, free: 384 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.01215, allocations: 24.38 kB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.01255, allocations: 0.5813 MB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01256, allocations: 3.938 kB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.01258, allocations: 8 kB / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01259, allocations: 4 kB / 259 MB, free: 15.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.01273, allocations: 90.92 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.01355, allocations: 0.684 MB / 259.8 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.01375, allocations: 131.6 kB / 259.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.01382, allocations: 51.66 kB / 259.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01384, allocations: 4 kB / 260 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.01399, allocations: 164.4 kB / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.694e-06/0.014, allocations: 0 / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004902/0.01449, allocations: 273.5 kB / 260.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.01459, allocations: 320.4 kB / 260.7 MB, free: 13.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.01488, allocations: 414.8 kB / 261.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.0149, allocations: 37.64 kB / 261.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.01502, allocations: 255.2 kB / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.01507, allocations: 87.25 kB / 261.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.01513, allocations: 59.36 kB / 261.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.01526, allocations: 0.5235 MB / 262.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.01532, allocations: 43.97 kB / 262.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.01551, allocations: 432.5 kB / 262.5 MB, free: 11.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01566, allocations: 134.6 kB / 262.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01566, allocations: 0 / 262.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002662/0.01593, allocations: 232.9 kB / 262.9 MB, free: 11.38 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01594, allocations: 12.03 kB / 262.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01595, allocations: 4 kB / 262.9 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.01605, allocations: 31.61 kB / 262.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.01618, allocations: 47.97 kB / 263 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.01719, allocations: 1.834 MB / 264.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.01729, allocations: 27.88 kB / 264.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.0173, allocations: 12 kB / 264.8 MB, free: 9.289 MB / 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: 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.0001052/0.01741, allocations: 176.5 kB / 265 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.01745, allocations: 51.72 kB / 265.1 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.01772, allocations: 224.7 kB / 265.3 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.01773, allocations: 0 / 265.3 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01773, allocations: 0 / 265.3 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002832/0.01801, allocations: 0.5437 MB / 265.8 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.01854, allocations: 0.629 MB / 266.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01854, allocations: 0 / 266.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.01866, allocations: 51.91 kB / 266.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01866, allocations: 0 / 266.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01867, allocations: 4 kB / 266.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01868, allocations: 3.938 kB / 266.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01868, allocations: 0 / 266.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.01898, allocations: 391.9 kB / 266.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.01907, allocations: 67.7 kB / 267 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.0191, allocations: 12 kB / 267 MB, free: 6.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.0192, allocations: 15.92 kB / 267 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.01924, allocations: 16.16 kB / 267 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01925, allocations: 11.94 kB / 267 MB, free: 6.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.01944, allocations: 279.1 kB / 267.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01944, allocations: 3.938 kB / 267.3 MB, free: 6.645 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.0197, allocations: 95.89 kB / 267.4 MB, free: 6.551 MB / 250.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.0007608/0.02046, allocations: 404.3 kB / 267.8 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.02083, allocations: 328.2 kB / 268.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02083, allocations: 192 / 268.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.02092, allocations: 79.53 kB / 268.2 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.02125, allocations: 102 kB / 268.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02236, allocations: 0.7048 MB / 269 MB, free: 4.941 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.02242, allocations: 100.6 kB / 269.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.91e-05/0.02252, allocations: 46.95 kB / 269.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.02257, allocations: 32.5 kB / 269.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02257, allocations: 0 / 269.2 MB, free: 4.746 MB / 250.7 MB Notification: Performance of Templates: time 0.007603/0.03018, allocations: 6.456 MB / 275.6 MB, free: 14.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.986830970039591]