Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 175.8 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.196/1.196, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 87.42 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7989/0.7989, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.731e-05, allocations: 4 kB / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4819, allocations: 82.83 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.6185, allocations: 124.4 MB / 0.7312 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.6187, allocations: 71.89 kB / 0.7312 GB, free: 448 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.03917/0.6579, allocations: 10.16 MB / 0.7411 GB, free: 6.258 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6579, allocations: 0 / 0.7411 GB, free: 6.258 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.658, allocations: 8 kB / 0.7412 GB, free: 6.25 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.004159/0.6621, allocations: 1.35 MB / 0.7425 GB, free: 4.855 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6622, allocations: 12.03 kB / 0.7425 GB, free: 4.844 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.6624, allocations: 39.58 kB / 0.7425 GB, free: 4.805 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.6673, allocations: 1.315 MB / 0.7438 GB, free: 3.445 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.6673, allocations: 12 kB / 0.7438 GB, free: 3.434 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.6676, allocations: 71.61 kB / 0.7439 GB, free: 3.363 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008946/0.6685, allocations: 0.5218 MB / 0.7444 GB, free: 2.844 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6699, allocations: 0.8081 MB / 0.7452 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.6699, allocations: 11.92 kB / 0.7452 GB, free: 2.012 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.67, allocations: 4 kB / 0.7452 GB, free: 2.008 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.67, allocations: 11.95 kB / 0.7452 GB, free: 1.996 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.6718, allocations: 0.9186 MB / 0.7461 GB, free: 1.035 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5032/1.175, allocations: 1.74 MB / 0.7478 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/1.176, allocations: 0.5491 MB / 0.7483 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/1.176, allocations: 11.59 kB / 0.7484 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/1.176, allocations: 44.17 kB / 0.7484 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=100): time 3.005e-06/1.176, allocations: 0 / 0.7484 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=100): time 0.001952/1.178, allocations: 1.273 MB / 0.7496 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/1.178, allocations: 61.94 kB / 0.7497 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/1.178, allocations: 94.75 kB / 0.7498 GB, free: 131 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/1.178, allocations: 29.02 kB / 0.7498 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/1.178, allocations: 87.5 kB / 0.7499 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/1.178, allocations: 468.7 kB / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/1.178, allocations: 0 / 0.7503 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/1.179, allocations: 377.2 kB / 0.7507 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.18, allocations: 0.7944 MB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/1.181, allocations: 0.8977 MB / 0.7524 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.182, allocations: 0.9291 MB / 0.7533 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.182, allocations: 1.125 kB / 0.7533 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002738/1.185, allocations: 1.944 MB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.185, allocations: 10.69 kB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.185, allocations: 4.797 kB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.185, allocations: 6.844 kB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.187, allocations: 407 kB / 0.7556 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.187, allocations: 10.36 kB / 0.7556 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/1.188, allocations: 177.3 kB / 0.7558 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/1.188, allocations: 42.81 kB / 0.7558 GB, free: 128.9 MB / 0.5421 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/1.188, allocations: 124.5 kB / 0.7559 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/1.188, allocations: 42.7 kB / 0.756 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/1.189, allocations: 163.9 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.189, allocations: 7.625 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.189, allocations: 3.875 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.189, allocations: 3.609 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/1.19, allocations: 0.7174 MB / 0.7568 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.19, allocations: 3.875 kB / 0.7568 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.191, allocations: 280.2 kB / 0.7571 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.191, allocations: 3.75 kB / 0.7571 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/1.192, allocations: 57.41 kB / 0.7572 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.192, allocations: 11.28 kB / 0.7572 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.192, allocations: 0 / 0.7572 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.193, allocations: 1.759 MB / 0.7589 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/1.194, allocations: 245.6 kB / 0.7591 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.194, allocations: 42 kB / 0.7592 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/1.195, allocations: 99.19 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.195, allocations: 66.59 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/1.195, allocations: 30.52 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.085e-05/1.195, allocations: 83.09 kB / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.21e-07/1.195, allocations: 0 / 0.7594 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004448/1.196, allocations: 221.6 kB / 0.7596 GB, free: 127.5 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/1.196, allocations: 163.6 kB / 0.7598 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.197, allocations: 1.588 MB / 0.7613 GB, free: 127 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.197, allocations: 0 / 0.7613 GB, free: 127 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006944/1.198, allocations: 0.6438 MB / 0.762 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/1.198, allocations: 2.641 kB / 0.762 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/1.2, allocations: 2.625 MB / 0.7645 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.2, allocations: 0.9246 MB / 0.7654 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001369/1.201, allocations: 0.5103 MB / 0.7659 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/1.202, allocations: 51.44 kB / 0.766 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of SimCode: time 2.7e-07/1.202, allocations: 7.938 kB / 0.766 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.009616/1.211, allocations: 8.81 MB / 0.7746 GB, free: 117.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches