Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.001155/0.001155, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.003124, allocations: 449.7 kB / 10.37 MB, free: 328 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.001578/0.001578, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001773/0.003352, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.152/1.152, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1537/1.306, allocations: 53.64 MB / 243.3 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.177/1.177, allocations: 88.1 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09874/1.276, allocations: 32.92 MB / 365 MB, free: 13.43 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.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10") translateModel(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.CocurrentHeatExchangerEquations_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 0 / 366.2 MB, free: 12.2 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.08e-05/5.563e-05, allocations: 5.109 kB / 366.2 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.00491/0.004966, allocations: 1.545 MB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.005324, allocations: 95.61 kB / 367.9 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.005377, allocations: 0 / 367.9 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-05/0.005477, allocations: 15.84 kB / 367.9 MB, free: 10.53 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.00565, allocations: 59.59 kB / 368 MB, free: 10.47 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.005982, allocations: 35.92 kB / 368 MB, free: 10.44 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.006686, allocations: 0.5849 MB / 368.6 MB, free: 9.852 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.006787, allocations: 8 kB / 368.6 MB, free: 9.844 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.007232, allocations: 288.1 kB / 368.9 MB, free: 9.562 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.00782, allocations: 263.4 kB / 369.1 MB, free: 9.305 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.00793, allocations: 32 kB / 369.1 MB, free: 9.273 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.008011, allocations: 28 kB / 369.2 MB, free: 9.246 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.008178, allocations: 135.7 kB / 369.3 MB, free: 9.113 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.008392, allocations: 107.9 kB / 369.4 MB, free: 9.008 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.008803, allocations: 311 kB / 369.7 MB, free: 8.703 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.269e-05/0.008825, allocations: 0 / 369.7 MB, free: 8.703 MB / 362.8 MB Notification: Performance of FrontEnd: time 7.875e-06/0.008833, allocations: 0 / 369.7 MB, free: 8.703 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.008863, allocations: 4 kB / 369.7 MB, free: 8.699 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.002004/0.01087, allocations: 0.7624 MB / 370.5 MB, free: 7.906 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.145e-05/0.01094, allocations: 15.98 kB / 370.5 MB, free: 7.891 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.0111, allocations: 48.89 kB / 370.5 MB, free: 7.844 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.01151, allocations: 167.5 kB / 370.7 MB, free: 7.656 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.01158, allocations: 33.03 kB / 370.7 MB, free: 7.625 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.0117, allocations: 52.3 kB / 370.8 MB, free: 7.574 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.01231, allocations: 267.1 kB / 371.1 MB, free: 7.305 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.01233, allocations: 192 / 371.1 MB, free: 7.305 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.01237, allocations: 8.375 kB / 371.1 MB, free: 7.297 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01239, allocations: 8.375 kB / 371.1 MB, free: 7.289 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.01267, allocations: 96.5 kB / 371.2 MB, free: 7.195 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.01484, allocations: 0.8336 MB / 372 MB, free: 6.348 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.01547, allocations: 225 kB / 372.2 MB, free: 6.117 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.01574, allocations: 118.3 kB / 372.3 MB, free: 6 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.01579, allocations: 8.5 kB / 372.3 MB, free: 5.992 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.01584, allocations: 39 kB / 372.4 MB, free: 5.941 MB / 362.8 MB Notification: Performance of pre-optimization done (n=49): time 8.957e-06/0.01585, allocations: 3.984 kB / 372.4 MB, free: 5.938 MB / 362.8 MB Notification: Performance of matching and sorting (n=49): time 0.0007997/0.01665, allocations: 311.4 kB / 372.7 MB, free: 5.629 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.0167, allocations: 59.91 kB / 372.7 MB, free: 5.559 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01685, allocations: 136.4 kB / 372.9 MB, free: 5.414 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.0169, allocations: 41.7 kB / 372.9 MB, free: 5.367 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.01699, allocations: 125.1 kB / 373 MB, free: 5.242 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.01717, allocations: 210.2 kB / 373.2 MB, free: 5.035 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.01736, allocations: 110.3 kB / 373.4 MB, free: 4.922 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.01752, allocations: 346.7 kB / 373.7 MB, free: 4.574 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.0177, allocations: 73.28 kB / 373.8 MB, free: 4.504 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.01792, allocations: 124.8 kB / 373.9 MB, free: 4.375 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.01836, allocations: 237.5 kB / 374.1 MB, free: 4.137 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.01836, allocations: 0 / 374.1 MB, free: 4.137 MB / 362.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006359/0.019, allocations: 297.3 kB / 374.4 MB, free: 3.84 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.01904, allocations: 8 kB / 374.4 MB, free: 3.832 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.01905, allocations: 4 kB / 374.4 MB, free: 3.828 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.01908, allocations: 8.031 kB / 374.4 MB, free: 3.82 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.0211, allocations: 0.5025 MB / 374.9 MB, free: 3.32 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.02111, allocations: 7.984 kB / 374.9 MB, free: 3.312 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.02156, allocations: 47.61 kB / 375 MB, free: 3.266 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.02161, allocations: 12 kB / 375 MB, free: 3.254 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.00024/0.02185, allocations: 140.5 kB / 375.1 MB, free: 3.105 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.02197, allocations: 27.98 kB / 375.2 MB, free: 3.078 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.02213, allocations: 82.27 kB / 375.2 MB, free: 3 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.02213, allocations: 4 kB / 375.2 MB, free: 2.996 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.02214, allocations: 3.938 kB / 375.3 MB, free: 2.992 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.02215, allocations: 3.984 kB / 375.3 MB, free: 2.988 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.02267, allocations: 226.1 kB / 375.5 MB, free: 2.75 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.02268, allocations: 0 / 375.5 MB, free: 2.75 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/0.02479, allocations: 0.511 MB / 376 MB, free: 2.238 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.02488, allocations: 27.73 kB / 376 MB, free: 2.211 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.02489, allocations: 0 / 376 MB, free: 2.211 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.025, allocations: 23.98 kB / 376 MB, free: 2.188 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.02501, allocations: 3.938 kB / 376 MB, free: 2.184 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.02501, allocations: 4 kB / 376 MB, free: 2.18 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.02601, allocations: 0.5154 MB / 376.6 MB, free: 1.648 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.02609, allocations: 19.98 kB / 376.6 MB, free: 1.629 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.02639, allocations: 4 kB / 376.6 MB, free: 1.625 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.02652, allocations: 36.38 kB / 376.6 MB, free: 1.586 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.02656, allocations: 11.98 kB / 376.6 MB, free: 1.574 MB / 362.8 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.02661, allocations: 31.88 kB / 376.7 MB, free: 1.543 MB / 362.8 MB Notification: Performance of sort global known variables: time 9e-08/0.02661, allocations: 0 / 376.7 MB, free: 1.543 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0005347/0.02715, allocations: 148 kB / 376.8 MB, free: 1.398 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.0002671/0.02741, allocations: 100.9 kB / 376.9 MB, free: 1.293 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.02811, allocations: 273.3 kB / 377.2 MB, free: 1.023 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.951e-05/0.02814, allocations: 11.98 kB / 377.2 MB, free: 1.012 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.02841, allocations: 148.7 kB / 377.3 MB, free: 0.8672 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.02888, allocations: 91.94 kB / 377.4 MB, free: 0.7773 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009623/0.03851, allocations: 0.9631 MB / 378.4 MB, free: 15.77 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.03863, allocations: 121.2 kB / 378.5 MB, free: 15.64 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0005607/0.03919, allocations: 42.95 kB / 378.5 MB, free: 15.59 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.03962, allocations: 141.2 kB / 378.7 MB, free: 15.46 MB / 378.8 MB Notification: Performance of SimCode: time 2.996e-06/0.03963, allocations: 0 / 378.7 MB, free: 15.46 MB / 378.8 MB Notification: Performance of Templates: time 0.01289/0.05252, allocations: 6.332 MB / 385 MB, free: 9.254 MB / 378.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_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.467091299593449]