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.001303/0.001303, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001752/0.003055, 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.001025/0.001025, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.00244, 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.154/1.154, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1569/1.311, 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.9996/0.9996, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09379/1.093, allocations: 32.93 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.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 1.924e-06/1.924e-06, allocations: 0 / 366.4 MB, free: 12.12 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.03e-05, allocations: 6.312 kB / 366.4 MB, free: 12.11 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CocurrentHeatExchangerEquations_N_10): time 0.002326/0.002357, allocations: 1.545 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001714/0.002528, allocations: 91.58 kB / 368.1 MB, free: 10.46 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.002557, allocations: 7.938 kB / 368.1 MB, free: 10.46 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.0026, allocations: 11.91 kB / 368.1 MB, free: 10.45 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/0.002692, allocations: 55.67 kB / 368.2 MB, free: 10.39 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.002825, allocations: 35.92 kB / 368.2 MB, free: 10.36 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.003243, allocations: 0.5849 MB / 368.8 MB, free: 9.77 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.003287, allocations: 11.94 kB / 368.8 MB, free: 9.758 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.003561, allocations: 288.1 kB / 369.1 MB, free: 9.477 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.003905, allocations: 267.4 kB / 369.3 MB, free: 9.215 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.003968, allocations: 32 kB / 369.4 MB, free: 9.184 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.004029, allocations: 32 kB / 369.4 MB, free: 9.152 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.004144, allocations: 135.8 kB / 369.5 MB, free: 9.02 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.00426, allocations: 115.8 kB / 369.6 MB, free: 8.906 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.004533, allocations: 299.2 kB / 369.9 MB, free: 8.613 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.004545, allocations: 0 / 369.9 MB, free: 8.613 MB / 362.8 MB Notification: Performance of FrontEnd: time 4.21e-07/0.004545, allocations: 0 / 369.9 MB, free: 8.613 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.004558, allocations: 0 / 369.9 MB, free: 8.613 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.001203/0.00576, allocations: 0.7585 MB / 370.7 MB, free: 7.824 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.005795, allocations: 15.98 kB / 370.7 MB, free: 7.809 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.00588, allocations: 52.89 kB / 370.8 MB, free: 7.758 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.006077, allocations: 173.3 kB / 370.9 MB, free: 7.562 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.006108, allocations: 29.03 kB / 370.9 MB, free: 7.535 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.006171, allocations: 44.31 kB / 371 MB, free: 7.492 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.006505, allocations: 267.1 kB / 371.3 MB, free: 7.227 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.006517, allocations: 4.125 kB / 371.3 MB, free: 7.223 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.006546, allocations: 16.38 kB / 371.3 MB, free: 7.207 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.00656, allocations: 12.38 kB / 371.3 MB, free: 7.195 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.006702, allocations: 96.5 kB / 371.4 MB, free: 7.098 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.008021, allocations: 0.8297 MB / 372.2 MB, free: 6.254 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.008402, allocations: 233.1 kB / 372.4 MB, free: 6.016 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.008539, allocations: 98.34 kB / 372.5 MB, free: 5.918 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.008577, allocations: 8.5 kB / 372.5 MB, free: 5.91 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.008608, allocations: 39.06 kB / 372.6 MB, free: 5.863 MB / 362.8 MB Notification: Performance of pre-optimization done (n=49): time 1.353e-06/0.008609, allocations: 0 / 372.6 MB, free: 5.863 MB / 362.8 MB Notification: Performance of matching and sorting (n=49): time 0.0004938/0.009103, allocations: 323.3 kB / 372.9 MB, free: 5.539 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.00914, allocations: 55.91 kB / 372.9 MB, free: 5.473 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.009233, allocations: 140.7 kB / 373.1 MB, free: 5.324 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.009271, allocations: 37.7 kB / 373.1 MB, free: 5.281 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.009352, allocations: 129.1 kB / 373.2 MB, free: 5.152 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.009472, allocations: 206.2 kB / 373.5 MB, free: 4.949 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.009603, allocations: 114.3 kB / 373.6 MB, free: 4.832 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.009712, allocations: 338.8 kB / 373.9 MB, free: 4.492 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.009821, allocations: 73.28 kB / 374 MB, free: 4.422 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.009959, allocations: 120.8 kB / 374.1 MB, free: 4.297 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.01024, allocations: 245.5 kB / 374.3 MB, free: 4.051 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01024, allocations: 0 / 374.3 MB, free: 4.051 MB / 362.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0003697/0.01061, allocations: 297.4 kB / 374.6 MB, free: 3.754 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01063, allocations: 4 kB / 374.6 MB, free: 3.75 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01064, allocations: 4 kB / 374.6 MB, free: 3.746 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.01066, allocations: 3.938 kB / 374.6 MB, free: 3.742 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.01174, allocations: 0.5103 MB / 375.1 MB, free: 3.234 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01175, allocations: 8 kB / 375.1 MB, free: 3.227 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.0119, allocations: 47.56 kB / 375.2 MB, free: 3.18 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.01192, allocations: 16 kB / 375.2 MB, free: 3.164 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.0001172/0.01204, allocations: 132.6 kB / 375.3 MB, free: 3.023 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.0121, allocations: 35.95 kB / 375.4 MB, free: 2.988 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.0122, allocations: 78.22 kB / 375.4 MB, free: 2.914 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.0122, allocations: 8 kB / 375.5 MB, free: 2.906 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.01221, allocations: 3.938 kB / 375.5 MB, free: 2.902 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.01222, allocations: 3.984 kB / 375.5 MB, free: 2.898 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.0125, allocations: 226.1 kB / 375.7 MB, free: 2.66 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.0125, allocations: 0 / 375.7 MB, free: 2.66 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.01361, allocations: 0.5032 MB / 376.2 MB, free: 2.156 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.01363, allocations: 23.8 kB / 376.2 MB, free: 2.133 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.01364, allocations: 4 kB / 376.2 MB, free: 2.129 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.01368, allocations: 19.98 kB / 376.2 MB, free: 2.109 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.01369, allocations: 11.91 kB / 376.2 MB, free: 2.098 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01369, allocations: 0 / 376.2 MB, free: 2.098 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.01426, allocations: 0.5155 MB / 376.8 MB, free: 1.562 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.0143, allocations: 19.92 kB / 376.8 MB, free: 1.543 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01444, allocations: 12 kB / 376.8 MB, free: 1.531 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.01452, allocations: 32.38 kB / 376.8 MB, free: 1.5 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.01454, allocations: 11.98 kB / 376.8 MB, free: 1.488 MB / 362.8 MB Notification: Performance of sorting global known variables: time 2.85e-05/0.01457, allocations: 31.72 kB / 376.9 MB, free: 1.457 MB / 362.8 MB Notification: Performance of sort global known variables: time 1e-07/0.01457, allocations: 0 / 376.9 MB, free: 1.457 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002588/0.01483, allocations: 152 kB / 377 MB, free: 1.309 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.0001223/0.01495, allocations: 104.3 kB / 377.1 MB, free: 1.199 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.01531, allocations: 278 kB / 377.4 MB, free: 0.9297 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.01532, allocations: 4 kB / 377.4 MB, free: 0.9258 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.0155, allocations: 169.6 kB / 377.6 MB, free: 0.7539 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.01584, allocations: 231 kB / 377.8 MB, free: 0.5 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/0.02149, allocations: 0.9678 MB / 378.7 MB, free: 15.49 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.025e-05/0.02157, allocations: 121.2 kB / 378.9 MB, free: 15.36 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.02175, allocations: 46.95 kB / 378.9 MB, free: 15.31 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.02204, allocations: 133.3 kB / 379 MB, free: 15.18 MB / 378.8 MB Notification: Performance of SimCode: time 1.783e-06/0.02204, allocations: 0 / 379 MB, free: 15.18 MB / 378.8 MB Notification: Performance of Templates: time 0.007851/0.02989, allocations: 6.2 MB / 385.2 MB, free: 9.113 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.289902068674564]