Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007452/0.0007452, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001809, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006314/0.0006314, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.001612, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9179/0.9179, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1618/1.08, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.417e-06/1.071e-05, allocations: 2.312 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00277/0.002781, allocations: 2.908 MB / 242.6 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.00435, allocations: 1.264 MB / 243.9 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.004495, allocations: 7.938 kB / 243.9 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.004819, allocations: 194.2 kB / 244.1 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.005144, allocations: 216 kB / 244.3 MB, free: 1.797 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.005459, allocations: 180 kB / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.005875, allocations: 473 kB / 244.9 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006017, allocations: 66.56 kB / 245 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.006333, allocations: 327 kB / 245.3 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.00652, allocations: 161.2 kB / 245.5 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.006561, allocations: 28 kB / 245.5 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.006682, allocations: 71.92 kB / 245.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.006754, allocations: 63.73 kB / 245.6 MB, free: 468 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.006844, allocations: 111.8 kB / 245.8 MB, free: 356 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.007164, allocations: 312 kB / 246.1 MB, free: 44 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.007173, allocations: 0 / 246.1 MB, free: 44 kB / 234.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007174, allocations: 0 / 246.1 MB, free: 44 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.007184, allocations: 0.9688 kB / 246.1 MB, free: 44 kB / 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.0006864/0.00787, allocations: 0.6831 MB / 246.7 MB, free: 15.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.0079, allocations: 8.031 kB / 246.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.007963, allocations: 49.64 kB / 246.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.008203, allocations: 244.7 kB / 247 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.008225, allocations: 17.56 kB / 247.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.008257, allocations: 24.31 kB / 247.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.008576, allocations: 0.5543 MB / 247.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.008587, allocations: 6.438 kB / 247.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.008602, allocations: 8 kB / 247.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.008609, allocations: 4 kB / 247.7 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.008692, allocations: 70.22 kB / 247.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.009312, allocations: 464.4 kB / 248.2 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.009458, allocations: 157.1 kB / 248.3 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.009501, allocations: 39.72 kB / 248.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.00952, allocations: 4 kB / 248.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.009654, allocations: 166.5 kB / 248.5 MB, free: 13.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.009656, allocations: 0 / 248.5 MB, free: 13.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003223/0.009978, allocations: 186.2 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.01, allocations: 55.91 kB / 248.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.0102, allocations: 357.8 kB / 249.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.01022, allocations: 33.7 kB / 249.2 MB, free: 12.69 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.01029, allocations: 163 kB / 249.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.01033, allocations: 79.36 kB / 249.4 MB, free: 12.45 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.01039, allocations: 57.64 kB / 249.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.01048, allocations: 354.7 kB / 249.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.01051, allocations: 26.81 kB / 249.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01066, allocations: 397.4 kB / 250.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.01076, allocations: 105.2 kB / 250.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01076, allocations: 0 / 250.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001783/0.01094, allocations: 157.2 kB / 250.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01095, allocations: 4 kB / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.01095, allocations: 4.094 kB / 250.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.533e-05/0.01103, allocations: 24.84 kB / 250.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.0112, allocations: 79.81 kB / 250.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007101/0.01191, allocations: 1.252 MB / 251.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.01201, allocations: 31.83 kB / 251.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01202, allocations: 7.938 kB / 251.9 MB, free: 9.742 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 8.705e-05/0.0121, allocations: 128.6 kB / 252 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.01214, allocations: 43.89 kB / 252 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.0123, allocations: 153.8 kB / 252.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.0123, allocations: 4 kB / 252.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.01231, allocations: 0 / 252.2 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001957/0.0125, allocations: 0.4946 MB / 252.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.01288, allocations: 473.3 kB / 253.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01288, allocations: 0 / 253.1 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.01304, allocations: 71.45 kB / 253.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.01309, allocations: 43.69 kB / 253.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.0131, allocations: 4 kB / 253.3 MB, free: 8.191 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01311, allocations: 4 kB / 253.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01311, allocations: 3.938 kB / 253.3 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01311, allocations: 4 kB / 253.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.0133, allocations: 317.9 kB / 253.6 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01333, allocations: 8 kB / 253.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.01342, allocations: 15.98 kB / 253.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.01345, allocations: 15.97 kB / 253.6 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01346, allocations: 4 kB / 253.6 MB, free: 7.809 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.01356, allocations: 151.5 kB / 253.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01356, allocations: 0 / 253.8 MB, free: 7.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000219/0.01378, allocations: 95.83 kB / 253.9 MB, free: 7.57 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.001106/0.01489, allocations: 0.5628 MB / 254.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.01516, allocations: 255.9 kB / 254.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.01517, allocations: 4 kB / 254.7 MB, free: 7.012 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.01525, allocations: 79.53 kB / 254.8 MB, free: 6.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.01582, allocations: 0.9452 MB / 255.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.01983, allocations: 0.6736 MB / 256.4 MB, free: 5.094 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01995, allocations: 101.3 kB / 256.5 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.02006, allocations: 46.89 kB / 256.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.02028, allocations: 181.2 kB / 256.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02028, allocations: 0 / 256.7 MB, free: 4.75 MB / 250.7 MB Notification: Performance of Templates: time 0.009041/0.02932, allocations: 7.964 MB / 264.7 MB, free: 12.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.641848525032401]