Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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.001632/0.001632, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002789/0.004421, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001691/0.001691, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002197/0.003888, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 1.203/1.203, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1287/1.332, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 1.047/1.047, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.149, allocations: 32.92 MB / 365 MB, free: 13.45 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo) 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(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="QA.[0-9,]+.|QB.[0-9,]+.|TA.[0-9,]+.|TAtilde.[0-9,]+.|TB.[0-9,]+.|TBtilde.[0-9,]+.|TW.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="QA.[0-9,]+.|QB.[0-9,]+.|TA.[0-9,]+.|TAtilde.[0-9,]+.|TB.[0-9,]+.|TBtilde.[0-9,]+.|TW.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 366.2 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.677e-05/4.992e-05, allocations: 3.188 kB / 366.2 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.003246/0.003296, allocations: 1.547 MB / 367.8 MB, free: 10.65 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.003636, allocations: 91.59 kB / 367.9 MB, free: 10.56 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.003701, allocations: 3.938 kB / 367.9 MB, free: 10.56 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003802, allocations: 11.92 kB / 367.9 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.003992, allocations: 67.58 kB / 368 MB, free: 10.48 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.004305, allocations: 31.94 kB / 368 MB, free: 10.45 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.004975, allocations: 0.6395 MB / 368.6 MB, free: 9.809 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.005064, allocations: 8 kB / 368.6 MB, free: 9.801 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.005637, allocations: 328.1 kB / 369 MB, free: 9.48 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.006222, allocations: 275.4 kB / 369.2 MB, free: 9.211 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.006369, allocations: 36 kB / 369.3 MB, free: 9.176 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.006437, allocations: 28 kB / 369.3 MB, free: 9.148 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.006586, allocations: 139.7 kB / 369.4 MB, free: 9.012 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.006748, allocations: 107.9 kB / 369.5 MB, free: 8.906 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.007154, allocations: 311 kB / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.34e-05/0.007188, allocations: 0 / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Performance of FrontEnd: time 3.496e-06/0.007191, allocations: 0 / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.007222, allocations: 0 / 369.8 MB, free: 8.602 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001705/0.008928, allocations: 0.7585 MB / 370.6 MB, free: 7.812 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.008987, allocations: 11.98 kB / 370.6 MB, free: 7.801 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.009115, allocations: 52.89 kB / 370.7 MB, free: 7.75 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.009434, allocations: 173.4 kB / 370.8 MB, free: 7.555 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.009481, allocations: 29.03 kB / 370.8 MB, free: 7.527 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.009564, allocations: 48.31 kB / 370.9 MB, free: 7.48 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.009982, allocations: 263.1 kB / 371.2 MB, free: 7.215 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.009995, allocations: 4.188 kB / 371.2 MB, free: 7.211 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.01003, allocations: 16.38 kB / 371.2 MB, free: 7.195 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01004, allocations: 4.375 kB / 371.2 MB, free: 7.191 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.01021, allocations: 96.5 kB / 371.3 MB, free: 7.098 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.01184, allocations: 0.8336 MB / 372.1 MB, free: 6.25 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.01232, allocations: 237 kB / 372.3 MB, free: 6.008 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.0125, allocations: 106.3 kB / 372.4 MB, free: 5.902 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.01254, allocations: 12.5 kB / 372.5 MB, free: 5.891 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.01258, allocations: 35.06 kB / 372.5 MB, free: 5.844 MB / 362.8 MB Notification: Performance of pre-optimization done (n=49): time 2.945e-06/0.01258, allocations: 0 / 372.5 MB, free: 5.844 MB / 362.8 MB Notification: Performance of matching and sorting (n=49): time 0.0005973/0.01318, allocations: 319.4 kB / 372.8 MB, free: 5.527 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.01324, allocations: 55.91 kB / 372.9 MB, free: 5.461 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01337, allocations: 138.6 kB / 373 MB, free: 5.312 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.01342, allocations: 37.7 kB / 373 MB, free: 5.27 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.0135, allocations: 125.1 kB / 373.1 MB, free: 5.145 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.01366, allocations: 214.2 kB / 373.4 MB, free: 4.934 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.01382, allocations: 106.3 kB / 373.5 MB, free: 4.824 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01397, allocations: 346.7 kB / 373.8 MB, free: 4.477 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.0141, allocations: 65.3 kB / 373.9 MB, free: 4.414 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.01426, allocations: 128.8 kB / 374 MB, free: 4.281 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003151/0.01457, allocations: 241.5 kB / 374.2 MB, free: 4.039 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.01458, allocations: 0 / 374.2 MB, free: 4.039 MB / 362.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0004323/0.01501, allocations: 297.3 kB / 374.5 MB, free: 3.742 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.01504, allocations: 4 kB / 374.5 MB, free: 3.738 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.01505, allocations: 0 / 374.5 MB, free: 3.738 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01507, allocations: 4 kB / 374.5 MB, free: 3.734 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.01635, allocations: 0.5142 MB / 375 MB, free: 3.223 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.01636, allocations: 3.984 kB / 375 MB, free: 3.219 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.01658, allocations: 47.62 kB / 375.1 MB, free: 3.172 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.01661, allocations: 12 kB / 375.1 MB, free: 3.16 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.01677, allocations: 144.5 kB / 375.2 MB, free: 3.008 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.01685, allocations: 27.98 kB / 375.3 MB, free: 2.98 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.01696, allocations: 78.27 kB / 375.3 MB, free: 2.906 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01697, allocations: 4 kB / 375.3 MB, free: 2.902 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.01698, allocations: 3.938 kB / 375.4 MB, free: 2.898 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.01699, allocations: 4 kB / 375.4 MB, free: 2.895 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.01737, allocations: 230.1 kB / 375.6 MB, free: 2.652 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01737, allocations: 0 / 375.6 MB, free: 2.652 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.0186, allocations: 0.511 MB / 376.1 MB, free: 2.141 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.01865, allocations: 23.8 kB / 376.1 MB, free: 2.117 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01866, allocations: 0 / 376.1 MB, free: 2.117 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.01871, allocations: 19.92 kB / 376.1 MB, free: 2.098 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.01872, allocations: 11.88 kB / 376.1 MB, free: 2.086 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01872, allocations: 0 / 376.1 MB, free: 2.086 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.01943, allocations: 0.5194 MB / 376.7 MB, free: 1.551 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.01949, allocations: 19.97 kB / 376.7 MB, free: 1.531 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.01968, allocations: 12 kB / 376.7 MB, free: 1.52 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.01977, allocations: 32.38 kB / 376.7 MB, free: 1.484 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.01979, allocations: 4 kB / 376.7 MB, free: 1.48 MB / 362.8 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.01984, allocations: 31.31 kB / 376.8 MB, free: 1.449 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.01984, allocations: 0 / 376.8 MB, free: 1.449 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003976/0.02024, allocations: 152 kB / 376.9 MB, free: 1.301 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002264/0.02046, allocations: 108.8 kB / 377 MB, free: 1.188 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.02096, allocations: 273.4 kB / 377.3 MB, free: 0.918 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.309e-05/0.02098, allocations: 4 kB / 377.3 MB, free: 0.9141 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.02116, allocations: 144.7 kB / 377.4 MB, free: 0.7734 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.02153, allocations: 96 kB / 377.5 MB, free: 0.6797 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.02759, allocations: 0.9826 MB / 378.5 MB, free: 15.66 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.02775, allocations: 121.2 kB / 378.6 MB, free: 15.52 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.02816, allocations: 46.95 kB / 378.7 MB, free: 15.47 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.02847, allocations: 129.3 kB / 378.8 MB, free: 15.35 MB / 378.8 MB Notification: Performance of SimCode: time 3.567e-06/0.02847, allocations: 0 / 378.8 MB, free: 15.35 MB / 378.8 MB Notification: Performance of Templates: time 0.01085/0.03932, allocations: 6.336 MB / 385.1 MB, free: 9.141 MB / 378.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.32619474362582]