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.001066/0.001066, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002837, allocations: 449.7 kB / 10.37 MB, free: 332 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.001034/0.001034, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002526, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9129/0.9129, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07283/0.9857, allocations: 52.51 MB / 238.3 MB, free: 4.43 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.533e-06/1.533e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.382e-05, allocations: 6.312 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004391/0.004414, allocations: 2.898 MB / 242.4 MB, free: 292 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.006702, allocations: 1.277 MB / 243.7 MB, free: 15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.006882, allocations: 7.938 kB / 243.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004579/0.00734, allocations: 191 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.007802, allocations: 222.6 kB / 244.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.008226, allocations: 171.5 kB / 244.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.008846, allocations: 473.6 kB / 244.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.009044, allocations: 70.58 kB / 244.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.00955, allocations: 314.5 kB / 245.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.009823, allocations: 155.6 kB / 245.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.009882, allocations: 32 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.01004, allocations: 67.92 kB / 245.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.01013, allocations: 75.67 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.01027, allocations: 107.8 kB / 245.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.01069, allocations: 314.8 kB / 245.9 MB, free: 12.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.01071, allocations: 4 kB / 245.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01071, allocations: 0 / 245.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.01073, allocations: 0 / 245.9 MB, free: 12.83 MB / 250.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.0009238/0.01166, allocations: 0.678 MB / 246.5 MB, free: 12.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.01169, allocations: 12.03 kB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.01177, allocations: 48.89 kB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.0121, allocations: 248 kB / 246.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.01213, allocations: 12.88 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.01217, allocations: 28.38 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.0126, allocations: 0.5419 MB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01261, allocations: 3.938 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.01264, allocations: 15.94 kB / 247.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01264, allocations: 4 kB / 247.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.01278, allocations: 62.28 kB / 247.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.0137, allocations: 478.8 kB / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01391, allocations: 155.9 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.01398, allocations: 32.86 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.014, allocations: 7.984 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.01419, allocations: 157.4 kB / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.01419, allocations: 0 / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004481/0.01464, allocations: 197.5 kB / 248.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01467, allocations: 55.41 kB / 248.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.01496, allocations: 345 kB / 248.9 MB, free: 9.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01498, allocations: 29.7 kB / 248.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.01507, allocations: 173.3 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.01513, allocations: 67.38 kB / 249.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.01521, allocations: 69.61 kB / 249.2 MB, free: 9.172 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01531, allocations: 350.7 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.01535, allocations: 22.83 kB / 249.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.01555, allocations: 392.9 kB / 250 MB, free: 8.309 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.01568, allocations: 106.1 kB / 250.1 MB, free: 8.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01568, allocations: 0 / 250.1 MB, free: 8.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000225/0.01591, allocations: 165.8 kB / 250.3 MB, free: 8.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01592, allocations: 7.938 kB / 250.3 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01593, allocations: 0 / 250.3 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.578e-05/0.01601, allocations: 32.7 kB / 250.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.01624, allocations: 76.03 kB / 250.4 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008695/0.01711, allocations: 1.249 MB / 251.6 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01724, allocations: 27.83 kB / 251.6 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.01726, allocations: 12 kB / 251.7 MB, free: 6.527 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.0001091/0.01737, allocations: 132.5 kB / 251.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.0174, allocations: 35.95 kB / 251.8 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.01761, allocations: 158 kB / 252 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01761, allocations: 4 kB / 252 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01761, allocations: 0 / 252 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002231/0.01784, allocations: 0.4992 MB / 252.5 MB, free: 5.578 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.0182, allocations: 477.3 kB / 252.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0182, allocations: 0 / 252.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.01837, allocations: 75.88 kB / 253 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.01843, allocations: 39.69 kB / 253.1 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01844, allocations: 4 kB / 253.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01845, allocations: 4 kB / 253.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01845, allocations: 3.938 kB / 253.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01845, allocations: 0 / 253.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.01864, allocations: 309.2 kB / 253.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01867, allocations: 8 kB / 253.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.01877, allocations: 15.98 kB / 253.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.01879, allocations: 15.91 kB / 253.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01881, allocations: 8 kB / 253.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.01891, allocations: 151.5 kB / 253.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01891, allocations: 0 / 253.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01911, allocations: 99.83 kB / 253.7 MB, free: 4.352 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.001123/0.02024, allocations: 0.5589 MB / 254.2 MB, free: 4.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.02051, allocations: 255.2 kB / 254.5 MB, free: 3.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.02052, allocations: 4 kB / 254.5 MB, free: 3.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.02058, allocations: 56.58 kB / 254.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.02086, allocations: 147.4 kB / 254.7 MB, free: 3.598 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.02494, allocations: 0.6764 MB / 255.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.025, allocations: 101.2 kB / 255.4 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.0251, allocations: 50.88 kB / 255.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.02532, allocations: 181.2 kB / 255.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02532, allocations: 0 / 255.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of Templates: time 0.008472/0.03379, allocations: 7.721 MB / 263.4 MB, free: 11 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.636166197247803]