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.001117/0.001117, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002759, 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.001139/0.001139, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002647, 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 0.9718/0.9718, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09511/1.067, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.8938/0.8938, allocations: 88.07 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0685/0.9623, allocations: 32.93 MB / 365.2 MB, free: 13.38 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.086e-06/3.086e-06, allocations: 0 / 366.4 MB, free: 12.12 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.332e-05, allocations: 3.406 kB / 366.4 MB, free: 12.12 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.004022/0.004065, allocations: 1.554 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004227/0.004488, allocations: 95.53 kB / 368.1 MB, free: 10.46 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.004546, allocations: 0 / 368.1 MB, free: 10.46 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.00465, allocations: 15.86 kB / 368.1 MB, free: 10.45 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.004835, allocations: 63.64 kB / 368.2 MB, free: 10.38 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.005168, allocations: 31.94 kB / 368.2 MB, free: 10.35 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.00593, allocations: 0.6395 MB / 368.8 MB, free: 9.711 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.005995, allocations: 8 kB / 368.8 MB, free: 9.703 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.006614, allocations: 336.1 kB / 369.2 MB, free: 9.375 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006183/0.007233, allocations: 279.3 kB / 369.4 MB, free: 9.102 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.007348, allocations: 32 kB / 369.5 MB, free: 9.07 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.007446, allocations: 32 kB / 369.5 MB, free: 9.039 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.00763, allocations: 135.8 kB / 369.6 MB, free: 8.906 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.007837, allocations: 111.8 kB / 369.7 MB, free: 8.797 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.008307, allocations: 299.1 kB / 370 MB, free: 8.504 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-05/0.00833, allocations: 0 / 370 MB, free: 8.504 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.535e-06/0.008333, allocations: 0 / 370 MB, free: 8.504 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.00836, allocations: 4 kB / 370 MB, free: 8.5 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.001909/0.01027, allocations: 0.7585 MB / 370.8 MB, free: 7.711 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.01032, allocations: 11.98 kB / 370.8 MB, free: 7.699 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.01045, allocations: 48.89 kB / 370.9 MB, free: 7.652 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.01077, allocations: 171.1 kB / 371 MB, free: 7.461 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.01082, allocations: 32.97 kB / 371.1 MB, free: 7.43 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.01093, allocations: 52.3 kB / 371.1 MB, free: 7.379 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.01147, allocations: 267.1 kB / 371.4 MB, free: 7.113 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01149, allocations: 192 / 371.4 MB, free: 7.113 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.01153, allocations: 16.38 kB / 371.4 MB, free: 7.098 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.01155, allocations: 8.375 kB / 371.4 MB, free: 7.09 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.0118, allocations: 100.4 kB / 371.5 MB, free: 6.988 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.01384, allocations: 0.8297 MB / 372.3 MB, free: 6.145 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.01433, allocations: 233 kB / 372.5 MB, free: 5.906 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.01455, allocations: 102.3 kB / 372.6 MB, free: 5.805 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.0146, allocations: 8.5 kB / 372.7 MB, free: 5.797 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.01466, allocations: 39.06 kB / 372.7 MB, free: 5.75 MB / 362.8 MB Notification: Performance of pre-optimization done (n=49): time 3.837e-06/0.01466, allocations: 0 / 372.7 MB, free: 5.75 MB / 362.8 MB Notification: Performance of matching and sorting (n=49): time 0.0008406/0.0155, allocations: 323.3 kB / 373 MB, free: 5.426 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.01554, allocations: 55.91 kB / 373.1 MB, free: 5.359 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01566, allocations: 141.5 kB / 373.2 MB, free: 5.211 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.01571, allocations: 41.7 kB / 373.2 MB, free: 5.164 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.0158, allocations: 121.2 kB / 373.4 MB, free: 5.043 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.01596, allocations: 214.2 kB / 373.6 MB, free: 4.832 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01609, allocations: 106.3 kB / 373.7 MB, free: 4.723 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.0162, allocations: 342.7 kB / 374 MB, free: 4.379 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01631, allocations: 69.3 kB / 374.1 MB, free: 4.312 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.01644, allocations: 124.8 kB / 374.2 MB, free: 4.184 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.01674, allocations: 249.5 kB / 374.4 MB, free: 3.934 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01674, allocations: 0 / 374.4 MB, free: 3.934 MB / 362.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003899/0.01713, allocations: 293.4 kB / 374.7 MB, free: 3.641 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.01716, allocations: 5.719 kB / 374.7 MB, free: 3.637 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01716, allocations: 0 / 374.7 MB, free: 3.637 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.01718, allocations: 4 kB / 374.7 MB, free: 3.633 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.01827, allocations: 0.5064 MB / 375.2 MB, free: 3.129 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01828, allocations: 8 kB / 375.3 MB, free: 3.121 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.01848, allocations: 51.56 kB / 375.3 MB, free: 3.07 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.01851, allocations: 12 kB / 375.3 MB, free: 3.059 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.0001697/0.01868, allocations: 144.5 kB / 375.5 MB, free: 2.906 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.01875, allocations: 31.98 kB / 375.5 MB, free: 2.875 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.01886, allocations: 74.27 kB / 375.6 MB, free: 2.805 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.01887, allocations: 4 kB / 375.6 MB, free: 2.801 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.01887, allocations: 3.938 kB / 375.6 MB, free: 2.797 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01888, allocations: 0 / 375.6 MB, free: 2.797 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.01921, allocations: 226.1 kB / 375.8 MB, free: 2.559 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01921, allocations: 4 kB / 375.8 MB, free: 2.555 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.02031, allocations: 0.5148 MB / 376.3 MB, free: 2.039 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.02036, allocations: 27.78 kB / 376.3 MB, free: 2.012 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02037, allocations: 0 / 376.3 MB, free: 2.012 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.02042, allocations: 15.98 kB / 376.4 MB, free: 1.996 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.02042, allocations: 11.92 kB / 376.4 MB, free: 1.984 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02043, allocations: 0 / 376.4 MB, free: 1.984 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.02104, allocations: 0.5194 MB / 376.9 MB, free: 1.445 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.02109, allocations: 15.98 kB / 376.9 MB, free: 1.43 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.02126, allocations: 12 kB / 376.9 MB, free: 1.418 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.02137, allocations: 32.38 kB / 376.9 MB, free: 1.387 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.02139, allocations: 8 kB / 376.9 MB, free: 1.379 MB / 362.8 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.02143, allocations: 28.72 kB / 377 MB, free: 1.348 MB / 362.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02143, allocations: 0 / 377 MB, free: 1.348 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000353/0.02178, allocations: 152 kB / 377.1 MB, free: 1.199 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.0001944/0.02198, allocations: 105.1 kB / 377.2 MB, free: 1.09 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.02242, allocations: 278 kB / 377.5 MB, free: 0.8203 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-05/0.02244, allocations: 7.938 kB / 377.5 MB, free: 0.8125 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.02263, allocations: 165.7 kB / 377.7 MB, free: 0.6445 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.02302, allocations: 233.4 kB / 377.9 MB, free: 396 kB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.02874, allocations: 0.9787 MB / 378.9 MB, free: 15.37 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.02885, allocations: 121.2 kB / 379 MB, free: 15.23 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.0292, allocations: 46.95 kB / 379 MB, free: 15.18 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.02951, allocations: 137.2 kB / 379.2 MB, free: 15.05 MB / 378.8 MB Notification: Performance of SimCode: time 1.572e-06/0.02952, allocations: 0 / 379.2 MB, free: 15.05 MB / 378.8 MB Notification: Performance of Templates: time 0.00904/0.03856, allocations: 6.192 MB / 385.4 MB, free: 8.988 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.76720408257097]