Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0007773/0.0007773, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001832, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006991/0.0006991, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009046/0.001604, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.013/1.013, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09587/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 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 0.7813/0.7813, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06301/0.8444, allocations: 32.93 MB / 365.2 MB, free: 13.36 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_noopt_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_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 366.4 MB, free: 12.11 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.127e-05, allocations: 2.312 kB / 366.4 MB, free: 12.11 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.001965/0.001987, allocations: 1.555 MB / 368 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.00215, allocations: 95.59 kB / 368.1 MB, free: 10.45 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.002187, allocations: 3.938 kB / 368.1 MB, free: 10.45 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.002233, allocations: 7.922 kB / 368.1 MB, free: 10.44 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.002334, allocations: 55.66 kB / 368.2 MB, free: 10.38 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.002472, allocations: 43.91 kB / 368.2 MB, free: 10.34 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.002909, allocations: 0.6395 MB / 368.8 MB, free: 9.699 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.002956, allocations: 8 kB / 368.8 MB, free: 9.691 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.003308, allocations: 336 kB / 369.2 MB, free: 9.363 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.003656, allocations: 271.4 kB / 369.4 MB, free: 9.098 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.003716, allocations: 32 kB / 369.5 MB, free: 9.066 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.003771, allocations: 28 kB / 369.5 MB, free: 9.039 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 9.926e-05/0.00387, allocations: 139.8 kB / 369.6 MB, free: 8.902 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.003975, allocations: 111.8 kB / 369.7 MB, free: 8.793 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.004236, allocations: 303.1 kB / 370 MB, free: 8.496 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.004246, allocations: 4 kB / 370 MB, free: 8.492 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.203e-06/0.004248, allocations: 0 / 370 MB, free: 8.492 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.004258, allocations: 0 / 370 MB, free: 8.492 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.001119/0.005377, allocations: 0.7546 MB / 370.8 MB, free: 7.707 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.005409, allocations: 11.98 kB / 370.8 MB, free: 7.695 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.005494, allocations: 56.89 kB / 370.9 MB, free: 7.641 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.005696, allocations: 180.3 kB / 371 MB, free: 7.441 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.005724, allocations: 29.03 kB / 371.1 MB, free: 7.414 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.005787, allocations: 44.33 kB / 371.1 MB, free: 7.371 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.006099, allocations: 263.1 kB / 371.4 MB, free: 7.109 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006109, allocations: 4.172 kB / 371.4 MB, free: 7.105 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.006136, allocations: 20.31 kB / 371.4 MB, free: 7.086 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.006147, allocations: 12.36 kB / 371.4 MB, free: 7.074 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.006284, allocations: 92.52 kB / 371.5 MB, free: 6.98 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.007499, allocations: 0.8375 MB / 372.3 MB, free: 6.129 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.007832, allocations: 233.1 kB / 372.6 MB, free: 5.891 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.00796, allocations: 102.3 kB / 372.7 MB, free: 5.785 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.008004, allocations: 8.5 kB / 372.7 MB, free: 5.777 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.008037, allocations: 43.05 kB / 372.7 MB, free: 5.727 MB / 362.8 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.008039, allocations: 0 / 372.7 MB, free: 5.727 MB / 362.8 MB Notification: Performance of matching and sorting (n=49): time 0.0004453/0.008484, allocations: 315.3 kB / 373 MB, free: 5.414 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.008514, allocations: 55.91 kB / 373.1 MB, free: 5.348 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.008589, allocations: 142.6 kB / 373.2 MB, free: 5.195 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.00862, allocations: 37.7 kB / 373.3 MB, free: 5.152 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.008671, allocations: 129.2 kB / 373.4 MB, free: 5.023 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.008777, allocations: 210.2 kB / 373.6 MB, free: 4.816 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.00889, allocations: 110.3 kB / 373.7 MB, free: 4.703 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.008989, allocations: 334.8 kB / 374 MB, free: 4.367 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.009099, allocations: 73.28 kB / 374.1 MB, free: 4.297 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.009228, allocations: 124.8 kB / 374.2 MB, free: 4.168 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.009483, allocations: 237.5 kB / 374.4 MB, free: 3.93 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.009485, allocations: 0 / 374.4 MB, free: 3.93 MB / 362.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003277/0.009813, allocations: 301.4 kB / 374.7 MB, free: 3.629 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.009828, allocations: 5.719 kB / 374.7 MB, free: 3.625 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.009836, allocations: 7.984 kB / 374.8 MB, free: 3.617 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.00985, allocations: 4 kB / 374.8 MB, free: 3.613 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.01087, allocations: 0.4986 MB / 375.3 MB, free: 3.117 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01088, allocations: 11.92 kB / 375.3 MB, free: 3.105 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01103, allocations: 43.62 kB / 375.3 MB, free: 3.062 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.01105, allocations: 19.94 kB / 375.3 MB, free: 3.043 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.0001088/0.01116, allocations: 144.6 kB / 375.5 MB, free: 2.891 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.01121, allocations: 27.97 kB / 375.5 MB, free: 2.863 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.0113, allocations: 78.28 kB / 375.6 MB, free: 2.789 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01131, allocations: 7.938 kB / 375.6 MB, free: 2.781 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.01131, allocations: 3.938 kB / 375.6 MB, free: 2.777 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01132, allocations: 3.984 kB / 375.6 MB, free: 2.773 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.01157, allocations: 222.1 kB / 375.8 MB, free: 2.539 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01157, allocations: 0 / 375.8 MB, free: 2.539 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.01266, allocations: 0.511 MB / 376.3 MB, free: 2.027 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.01268, allocations: 27.8 kB / 376.3 MB, free: 2 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01269, allocations: 0 / 376.3 MB, free: 2 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.01273, allocations: 23.97 kB / 376.4 MB, free: 1.977 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.01273, allocations: 7.938 kB / 376.4 MB, free: 1.969 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01274, allocations: 0 / 376.4 MB, free: 1.969 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.01327, allocations: 0.5116 MB / 376.9 MB, free: 1.438 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.01331, allocations: 15.98 kB / 376.9 MB, free: 1.422 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.01345, allocations: 15.92 kB / 376.9 MB, free: 1.406 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.01353, allocations: 40.38 kB / 377 MB, free: 1.367 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.01355, allocations: 4 kB / 377 MB, free: 1.363 MB / 362.8 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.01358, allocations: 35.58 kB / 377 MB, free: 1.328 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01358, allocations: 0 / 377 MB, free: 1.328 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002511/0.01383, allocations: 152 kB / 377.1 MB, free: 1.18 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.0001204/0.01395, allocations: 96.34 kB / 377.2 MB, free: 1.078 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.01429, allocations: 286 kB / 377.5 MB, free: 0.8008 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.0143, allocations: 4 kB / 377.5 MB, free: 0.7969 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.01446, allocations: 161.7 kB / 377.7 MB, free: 0.6328 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.01479, allocations: 234.9 kB / 377.9 MB, free: 384 kB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.0202, allocations: 0.9826 MB / 378.9 MB, free: 15.35 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.02027, allocations: 121.2 kB / 379 MB, free: 15.21 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.02048, allocations: 50.84 kB / 379.1 MB, free: 15.16 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.02076, allocations: 133.3 kB / 379.2 MB, free: 15.04 MB / 378.8 MB Notification: Performance of SimCode: time 1.062e-06/0.02076, allocations: 0 / 379.2 MB, free: 15.04 MB / 378.8 MB Notification: Performance of Templates: time 0.007673/0.02843, allocations: 6.197 MB / 385.4 MB, free: 8.969 MB / 378.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.31217288877815]