Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.0008827/0.0008827, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.00227, 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.0007458/0.0007458, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001767, 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.9983/0.9983, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.103, allocations: 53.66 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.7959/0.7959, allocations: 88.07 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05644/0.8523, allocations: 32.94 MB / 365.2 MB, free: 13.37 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.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.454e-05, allocations: 10.12 kB / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.003402/0.003437, allocations: 1.471 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004495, allocations: 0.5494 MB / 368.5 MB, free: 10 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.004546, allocations: 4 kB / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.813e-05/0.004594, allocations: 7.922 kB / 368.6 MB, free: 9.988 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.004856, allocations: 55.62 kB / 368.6 MB, free: 9.934 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.004974, allocations: 43.81 kB / 368.7 MB, free: 9.891 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009879/0.005962, allocations: 1.089 MB / 369.7 MB, free: 8.801 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.006015, allocations: 12.17 kB / 369.8 MB, free: 8.789 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.006866, allocations: 499.3 kB / 370.2 MB, free: 8.301 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000772/0.007638, allocations: 0.5029 MB / 370.7 MB, free: 7.797 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.007804, allocations: 60 kB / 370.8 MB, free: 7.738 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.00808, allocations: 87.91 kB / 370.9 MB, free: 7.652 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.008463, allocations: 355.4 kB / 371.2 MB, free: 7.305 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.008807, allocations: 235.6 kB / 371.5 MB, free: 7.074 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0008329/0.00964, allocations: 0.7513 MB / 372.2 MB, free: 6.32 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.915e-05/0.009659, allocations: 0 / 372.2 MB, free: 6.32 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.009661, allocations: 0 / 372.2 MB, free: 6.32 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.009687, allocations: 0 / 372.2 MB, free: 6.32 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002654/0.01234, allocations: 1.384 MB / 373.6 MB, free: 4.914 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.01238, allocations: 8.031 kB / 373.6 MB, free: 4.906 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.01264, allocations: 120.8 kB / 373.7 MB, free: 4.789 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.01319, allocations: 351.9 kB / 374.1 MB, free: 4.414 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.01324, allocations: 62.38 kB / 374.1 MB, free: 4.352 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.01345, allocations: 115.9 kB / 374.2 MB, free: 4.238 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.01451, allocations: 0.6538 MB / 374.9 MB, free: 3.578 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.01453, allocations: 4 kB / 374.9 MB, free: 3.574 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.01463, allocations: 32 kB / 374.9 MB, free: 3.543 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.01465, allocations: 20 kB / 375 MB, free: 3.523 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.01537, allocations: 333.7 kB / 375.3 MB, free: 3.199 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.01632, allocations: 0.4919 MB / 375.8 MB, free: 2.688 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.02023, allocations: 1.677 MB / 377.4 MB, free: 0.9961 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.02078, allocations: 306.8 kB / 377.7 MB, free: 0.6992 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.02098, allocations: 46 kB / 377.8 MB, free: 0.6562 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.02103, allocations: 52.56 kB / 377.8 MB, free: 0.5938 MB / 362.8 MB Notification: Performance of pre-optimization done (n=203): time 4.95e-06/0.02104, allocations: 0 / 377.8 MB, free: 0.5938 MB / 362.8 MB Notification: Performance of matching and sorting (n=203): time 0.00197/0.02301, allocations: 1.049 MB / 378.9 MB, free: 15.54 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.02306, allocations: 73.41 kB / 379 MB, free: 15.46 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.02325, allocations: 205 kB / 379.2 MB, free: 15.25 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.02336, allocations: 61.64 kB / 379.2 MB, free: 15.19 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.02343, allocations: 111.8 kB / 379.3 MB, free: 15.07 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/0.02411, allocations: 0.8093 MB / 380.1 MB, free: 14.26 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.02462, allocations: 352 kB / 380.5 MB, free: 13.91 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0004533/0.02507, allocations: 321.9 kB / 380.8 MB, free: 13.59 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.02565, allocations: 279.5 kB / 381.1 MB, free: 13.31 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.02619, allocations: 276 kB / 381.3 MB, free: 13.03 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.02757, allocations: 0.8186 MB / 382.2 MB, free: 12.18 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.02758, allocations: 0 / 382.2 MB, free: 12.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.001131/0.02871, allocations: 0.9349 MB / 383.1 MB, free: 11.21 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.02874, allocations: 8 kB / 383.1 MB, free: 11.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.02875, allocations: 3.938 kB / 383.1 MB, free: 11.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.02877, allocations: 12 kB / 383.1 MB, free: 11.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.03121, allocations: 0.817 MB / 383.9 MB, free: 10.39 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.03123, allocations: 8 kB / 383.9 MB, free: 10.38 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.03191, allocations: 154.8 kB / 384.1 MB, free: 10.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.03205, allocations: 51.97 kB / 384.1 MB, free: 10.18 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (284): * Single equations (assignments): 284 * 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.0003879/0.03244, allocations: 216.2 kB / 384.4 MB, free: 9.953 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.03268, allocations: 123.9 kB / 384.5 MB, free: 9.832 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.03528, allocations: 1.376 MB / 385.9 MB, free: 8.414 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/0.0353, allocations: 31.94 kB / 385.9 MB, free: 8.383 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.03531, allocations: 0 / 385.9 MB, free: 8.383 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/0.03534, allocations: 15.94 kB / 385.9 MB, free: 8.367 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.03666, allocations: 0.6918 MB / 386.6 MB, free: 7.652 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.03667, allocations: 4 kB / 386.6 MB, free: 7.648 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/0.03987, allocations: 0.8792 MB / 387.5 MB, free: 6.785 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.04052, allocations: 262.5 kB / 387.7 MB, free: 6.527 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.04054, allocations: 8 kB / 387.7 MB, free: 6.52 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.04075, allocations: 83.92 kB / 387.8 MB, free: 6.438 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.04076, allocations: 8 kB / 387.8 MB, free: 6.43 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.04077, allocations: 3.938 kB / 387.8 MB, free: 6.426 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.04393, allocations: 1.767 MB / 389.6 MB, free: 4.594 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.04416, allocations: 75.95 kB / 389.7 MB, free: 4.52 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.04471, allocations: 47.94 kB / 389.7 MB, free: 4.473 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.04498, allocations: 161.9 kB / 389.9 MB, free: 4.312 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.04511, allocations: 55.91 kB / 389.9 MB, free: 4.258 MB / 378.8 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.0452, allocations: 70.78 kB / 390 MB, free: 4.188 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.0452, allocations: 0 / 390 MB, free: 4.188 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0009991/0.0462, allocations: 455.9 kB / 390.4 MB, free: 3.742 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0004229/0.04662, allocations: 207.1 kB / 390.6 MB, free: 3.531 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.04864, allocations: 1.041 MB / 391.7 MB, free: 2.457 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-05/0.0487, allocations: 22.55 kB / 391.7 MB, free: 2.434 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.04994, allocations: 0.8266 MB / 392.5 MB, free: 1.598 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.05163, allocations: 1.515 MB / 394.1 MB, free: 15.82 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008985/0.06062, allocations: 2.632 MB / 396.7 MB, free: 13.13 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.06081, allocations: 309.5 kB / 397 MB, free: 12.8 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0007579/0.06157, allocations: 266.6 kB / 397.2 MB, free: 12.54 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00076/0.06233, allocations: 385.1 kB / 397.6 MB, free: 12.16 MB / 394.8 MB Notification: Performance of SimCode: time 2.975e-06/0.06233, allocations: 0 / 397.6 MB, free: 12.16 MB / 394.8 MB Notification: Performance of Templates: time 0.02381/0.08615, allocations: 22.59 MB / 420.2 MB, free: 5.883 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_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: 46.612547827884555]