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.0009432/0.0009432, allocations: 88.98 kB / 23 MB, free: 1.5 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.001184/0.001184, allocations: 176.2 kB / 26.39 MB, free: 7.969 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 1.01/1.01, allocations: 158.6 MB / 188.3 MB, free: 2.785 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 2.144e-06/2.144e-06, allocations: 0 / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.04e-05, allocations: 6.25 kB / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005089/0.005119, allocations: 2.84 MB / 255.1 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.007566, allocations: 1.162 MB / 256.2 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.007824, allocations: 7.938 kB / 256.2 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005776/0.008401, allocations: 179.1 kB / 256.4 MB, free: 3.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.008969, allocations: 222.6 kB / 256.6 MB, free: 2.824 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.009408, allocations: 143.5 kB / 256.8 MB, free: 2.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.01002, allocations: 465.7 kB / 257.2 MB, free: 2.227 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.01021, allocations: 75.88 kB / 257.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.01063, allocations: 259.4 kB / 257.6 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.01092, allocations: 163.6 kB / 257.7 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.01098, allocations: 32 kB / 257.8 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.01114, allocations: 71.86 kB / 257.8 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.01124, allocations: 91.67 kB / 257.9 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.01139, allocations: 131.7 kB / 258 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.01185, allocations: 330.7 kB / 258.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.01185, allocations: 0 / 258.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01185, allocations: 3.938 kB / 258.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.01186, allocations: 4 kB / 258.4 MB, free: 1.082 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.0009302/0.01279, allocations: 0.7367 MB / 259.1 MB, free: 316 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.01283, allocations: 11.98 kB / 259.1 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.01326, allocations: 64.66 kB / 259.2 MB, free: 240 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.01365, allocations: 282.7 kB / 259.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01368, allocations: 16.88 kB / 259.5 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.01373, allocations: 24.38 kB / 259.5 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.01422, allocations: 0.5735 MB / 260.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01424, allocations: 3.938 kB / 260.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01426, allocations: 4 kB / 260.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.01427, allocations: 8 kB / 260.1 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.01443, allocations: 79.3 kB / 260.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01552, allocations: 0.6221 MB / 260.8 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.01576, allocations: 127.3 kB / 260.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.425e-05/0.01583, allocations: 43.78 kB / 261 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.01585, allocations: 8 kB / 261 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.01605, allocations: 152.4 kB / 261.1 MB, free: 14.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.01605, allocations: 0 / 261.1 MB, free: 14.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006154/0.01667, allocations: 249.5 kB / 261.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.0168, allocations: 320.4 kB / 261.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.01716, allocations: 406.5 kB / 262.1 MB, free: 13.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.01719, allocations: 29.7 kB / 262.1 MB, free: 12.99 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.01737, allocations: 271.1 kB / 262.4 MB, free: 12.72 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.01744, allocations: 79.27 kB / 262.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.01753, allocations: 63.33 kB / 262.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.01772, allocations: 0.5312 MB / 263 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.01779, allocations: 27.98 kB / 263.1 MB, free: 12 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.01805, allocations: 420.6 kB / 263.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01824, allocations: 122.6 kB / 263.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01824, allocations: 0 / 263.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000376/0.01862, allocations: 212.9 kB / 263.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01864, allocations: 4 kB / 263.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01864, allocations: 12.03 kB / 263.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.01875, allocations: 27.66 kB / 263.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.01896, allocations: 47.92 kB / 263.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.02034, allocations: 1.811 MB / 265.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.02053, allocations: 23.88 kB / 265.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.02055, allocations: 16 kB / 265.7 MB, free: 9.055 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.00015/0.0207, allocations: 176.5 kB / 265.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.02077, allocations: 51.72 kB / 266 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.02144, allocations: 204.8 kB / 266.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.02145, allocations: 0 / 266.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.02145, allocations: 0 / 266.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/0.02183, allocations: 0.5358 MB / 266.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.02261, allocations: 0.5748 MB / 267.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02261, allocations: 0 / 267.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.02281, allocations: 39.98 kB / 267.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02281, allocations: 0 / 267.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.02283, allocations: 11.98 kB / 267.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02284, allocations: 0 / 267.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02284, allocations: 0 / 267.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.0233, allocations: 379.8 kB / 267.7 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.02343, allocations: 55.67 kB / 267.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.02348, allocations: 12.03 kB / 267.8 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.02368, allocations: 11.98 kB / 267.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.02373, allocations: 20.16 kB / 267.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.02375, allocations: 4 kB / 267.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.02398, allocations: 267 kB / 268.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02398, allocations: 0 / 268.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004305/0.02441, allocations: 99.81 kB / 268.2 MB, free: 6.457 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.001176/0.02559, allocations: 396.9 kB / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.02607, allocations: 316.2 kB / 268.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.02607, allocations: 4 kB / 268.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.02618, allocations: 59.77 kB / 268.9 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.0267, allocations: 109.3 kB / 269 MB, free: 5.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.02836, allocations: 0.701 MB / 269.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.737e-05/0.02846, allocations: 108.5 kB / 269.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.02863, allocations: 42.95 kB / 269.9 MB, free: 4.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.02901, allocations: 206.1 kB / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02901, allocations: 0 / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of Templates: time 0.01331/0.04232, allocations: 7.07 MB / 277.1 MB, free: 13.43 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: 3.2144366819411516]