Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.0007827/0.0007827, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002176, 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.001204/0.001204, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.0029, 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.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.142, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.756/0.756, allocations: 88.07 MB / 332.2 MB, free: 14.14 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06472/0.8207, allocations: 32.94 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.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,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_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.803e-05, allocations: 6.969 kB / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002797/0.002825, allocations: 1.472 MB / 368 MB, free: 10.56 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.01007, allocations: 0.5533 MB / 368.5 MB, free: 10.01 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.01012, allocations: 0 / 368.5 MB, free: 10.01 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.01017, allocations: 7.938 kB / 368.6 MB, free: 10 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.01042, allocations: 63.59 kB / 368.6 MB, free: 9.938 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.01053, allocations: 43.81 kB / 368.7 MB, free: 9.895 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.01104, allocations: 0.5817 MB / 369.2 MB, free: 9.312 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.01109, allocations: 8.188 kB / 369.3 MB, free: 9.305 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.01144, allocations: 275.6 kB / 369.5 MB, free: 9.035 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.0118, allocations: 271.5 kB / 369.8 MB, free: 8.77 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003079/0.01488, allocations: 28 kB / 369.8 MB, free: 8.742 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.01511, allocations: 59.91 kB / 369.9 MB, free: 8.684 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.01533, allocations: 187.7 kB / 370.1 MB, free: 8.5 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.01549, allocations: 119.8 kB / 370.2 MB, free: 8.383 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.01595, allocations: 406.6 kB / 370.6 MB, free: 7.984 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.967e-05/0.01597, allocations: 3.938 kB / 370.6 MB, free: 7.98 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.525e-06/0.01598, allocations: 0 / 370.6 MB, free: 7.98 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.01599, allocations: 4 kB / 370.6 MB, free: 7.977 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001259/0.01725, allocations: 0.8087 MB / 371.4 MB, free: 7.145 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.01728, allocations: 12.03 kB / 371.4 MB, free: 7.133 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.01737, allocations: 60.89 kB / 371.5 MB, free: 7.074 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.0176, allocations: 229.1 kB / 371.7 MB, free: 6.824 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.01762, allocations: 29.38 kB / 371.7 MB, free: 6.793 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.0177, allocations: 67.83 kB / 371.8 MB, free: 6.727 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.01806, allocations: 353 kB / 372.1 MB, free: 6.371 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01808, allocations: 0 / 372.1 MB, free: 6.371 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.01811, allocations: 20 kB / 372.1 MB, free: 6.352 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.01812, allocations: 8 kB / 372.1 MB, free: 6.344 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.01833, allocations: 162.9 kB / 372.3 MB, free: 6.188 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.01868, allocations: 283.2 kB / 372.6 MB, free: 5.891 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.02, allocations: 0.8251 MB / 373.4 MB, free: 5.059 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.02019, allocations: 151.8 kB / 373.6 MB, free: 4.91 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.02031, allocations: 32.98 kB / 373.6 MB, free: 4.879 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.02035, allocations: 47.44 kB / 373.6 MB, free: 4.824 MB / 362.8 MB Notification: Performance of pre-optimization done (n=103): time 3.055e-06/0.02035, allocations: 0 / 373.6 MB, free: 4.824 MB / 362.8 MB Notification: Performance of matching and sorting (n=103): time 0.0007796/0.02113, allocations: 0.5407 MB / 374.2 MB, free: 4.273 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.02117, allocations: 64.41 kB / 374.2 MB, free: 4.199 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.02126, allocations: 167.1 kB / 374.4 MB, free: 4.023 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.0213, allocations: 41.7 kB / 374.4 MB, free: 3.977 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.02133, allocations: 102.1 kB / 374.5 MB, free: 3.875 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.02156, allocations: 420.3 kB / 375 MB, free: 3.461 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.02173, allocations: 178.9 kB / 375.1 MB, free: 3.281 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.02183, allocations: 370.7 kB / 375.5 MB, free: 2.91 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.02201, allocations: 141.4 kB / 375.6 MB, free: 2.77 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.02218, allocations: 143.7 kB / 375.8 MB, free: 2.633 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.0226, allocations: 435.1 kB / 376.2 MB, free: 2.203 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.0226, allocations: 4 kB / 376.2 MB, free: 2.199 MB / 362.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0005397/0.02314, allocations: 0.4932 MB / 376.7 MB, free: 1.699 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02316, allocations: 7.938 kB / 376.7 MB, free: 1.691 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02317, allocations: 0 / 376.7 MB, free: 1.691 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.02319, allocations: 12 kB / 376.7 MB, free: 1.68 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.02398, allocations: 412 kB / 377.1 MB, free: 1.285 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02398, allocations: 4 kB / 377.1 MB, free: 1.281 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.02416, allocations: 83.34 kB / 377.2 MB, free: 1.199 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.0242, allocations: 23.98 kB / 377.2 MB, free: 1.176 MB / 362.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 (144): * Single equations (assignments): 144 * 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.000131/0.02433, allocations: 160.5 kB / 377.4 MB, free: 1.008 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.0244, allocations: 63.95 kB / 377.4 MB, free: 0.9453 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.02517, allocations: 0.7207 MB / 378.2 MB, free: 220 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.02518, allocations: 16 kB / 378.2 MB, free: 204 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.02518, allocations: 0 / 378.2 MB, free: 204 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.02519, allocations: 7.969 kB / 378.2 MB, free: 196 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.02558, allocations: 379 kB / 378.6 MB, free: 15.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02559, allocations: 8 kB / 378.6 MB, free: 15.79 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/0.0265, allocations: 443.4 kB / 379 MB, free: 15.37 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.02667, allocations: 135.2 kB / 379.1 MB, free: 15.24 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.02668, allocations: 8 kB / 379.1 MB, free: 15.23 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.02674, allocations: 43.89 kB / 379.2 MB, free: 15.19 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.02675, allocations: 8 kB / 379.2 MB, free: 15.18 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02675, allocations: 0 / 379.2 MB, free: 15.18 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.02761, allocations: 0.916 MB / 380.1 MB, free: 14.25 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.02768, allocations: 35.97 kB / 380.1 MB, free: 14.21 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.02782, allocations: 28 kB / 380.2 MB, free: 14.18 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.0279, allocations: 85.08 kB / 380.2 MB, free: 14.1 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.02794, allocations: 27.98 kB / 380.3 MB, free: 14.07 MB / 378.8 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.02797, allocations: 44.8 kB / 380.3 MB, free: 14.03 MB / 378.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02797, allocations: 0 / 380.3 MB, free: 14.03 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0003065/0.02828, allocations: 235.9 kB / 380.5 MB, free: 13.8 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.000176/0.02846, allocations: 146 kB / 380.7 MB, free: 13.64 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.02899, allocations: 0.5311 MB / 381.2 MB, free: 13.11 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.02901, allocations: 8 kB / 381.2 MB, free: 13.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000367/0.02937, allocations: 429.3 kB / 381.6 MB, free: 12.68 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.02991, allocations: 0.7815 MB / 382.4 MB, free: 11.76 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.03352, allocations: 1.393 MB / 383.8 MB, free: 10.33 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.03363, allocations: 188.9 kB / 384 MB, free: 10.12 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.03391, allocations: 125.5 kB / 384.1 MB, free: 10 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.03429, allocations: 225.3 kB / 384.3 MB, free: 9.777 MB / 378.8 MB Notification: Performance of SimCode: time 9.82e-07/0.0343, allocations: 0 / 384.3 MB, free: 9.777 MB / 378.8 MB Notification: Performance of Templates: time 0.01322/0.04751, allocations: 11.74 MB / 396.1 MB, free: 14.24 MB / 394.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_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: 10.211454605683684]