Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.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.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") translateModel(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=4000,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.45 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8943/0.8943, allocations: 120.5 MB / 463.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 11.23 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 82.85 MB / 0.6242 GB, free: 9.199 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7121/0.8519, allocations: 147.3 MB / 0.7681 GB, free: 3.023 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.8521, allocations: 74.41 kB / 0.7682 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3803/1.232, allocations: 147.5 MB / 0.9122 GB, free: 2.863 MB / 0.6513 GB Notification: Performance of FrontEnd: time 3.226e-06/1.232, allocations: 0 / 0.9122 GB, free: 2.863 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0004364/1.233, allocations: 144 kB / 0.9124 GB, free: 2.723 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2218 * Number of variables: 2218 Notification: Performance of Generate backend data structure: time 0.03105/1.264, allocations: 9.849 MB / 0.922 GB, free: 9.422 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.264, allocations: 8.031 kB / 0.922 GB, free: 9.414 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05471/1.319, allocations: 15.18 MB / 0.9368 GB, free: 11.8 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03218/1.351, allocations: 12.5 MB / 0.949 GB, free: 1.707 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/1.352, allocations: 489.2 kB / 0.9495 GB, free: 1.402 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/1.355, allocations: 0.6679 MB / 0.9501 GB, free: 0.9219 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6871/2.042, allocations: 17.57 MB / 0.9673 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000553/2.043, allocations: 106.6 kB / 0.9674 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/2.044, allocations: 304.1 kB / 0.9677 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/2.046, allocations: 1.479 MB / 0.9691 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/2.075, allocations: 15.11 MB / 0.9839 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/2.153, allocations: 71.36 MB / 1.054 GB, free: 124.5 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/2.171, allocations: 8.493 MB / 1.062 GB, free: 122.2 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/2.171, allocations: 389.9 kB / 1.062 GB, free: 121.9 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01498/2.186, allocations: 6.22 MB / 1.068 GB, free: 120.7 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 7.223e-06/2.186, allocations: 3.688 kB / 1.068 GB, free: 120.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1467/2.333, allocations: 62.68 MB / 1.13 GB, free: 77.82 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/2.333, allocations: 436.4 kB / 1.13 GB, free: 77.3 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/2.344, allocations: 6.384 MB / 1.136 GB, free: 71.02 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/2.346, allocations: 94.25 kB / 1.136 GB, free: 70.92 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004426/2.35, allocations: 4.764 MB / 1.141 GB, free: 66.44 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002455/2.353, allocations: 1.571 MB / 1.142 GB, free: 64.88 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008641/2.354, allocations: 169.7 kB / 1.143 GB, free: 64.71 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003816/2.354, allocations: 0.681 MB / 1.143 GB, free: 64.02 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006142/2.36, allocations: 5.149 MB / 1.148 GB, free: 58.86 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008655/2.369, allocations: 9.42 MB / 1.158 GB, free: 47.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00963/2.378, allocations: 7.099 MB / 1.164 GB, free: 40.46 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/2.379, allocations: 44 kB / 1.164 GB, free: 40.42 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03863/2.417, allocations: 19.33 MB / 1.183 GB, free: 21.04 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/2.418, allocations: 105.4 kB / 1.183 GB, free: 20.93 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003073/2.418, allocations: 144 kB / 1.184 GB, free: 20.79 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/2.431, allocations: 5.32 MB / 1.189 GB, free: 15.46 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00738/2.438, allocations: 1.965 MB / 1.191 GB, free: 13.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.428/2.866, allocations: 29.72 MB / 1.22 GB, free: 148.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009564/2.876, allocations: 0.7641 MB / 1.22 GB, free: 148.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/2.878, allocations: 476.1 kB / 1.221 GB, free: 148.8 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 656 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (978): * Single equations (assignments): 973 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,83.3%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009334/2.888, allocations: 4.213 MB / 1.225 GB, free: 148.7 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.889, allocations: 0.618 MB / 1.226 GB, free: 148.7 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/2.912, allocations: 13.99 MB / 1.239 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/2.913, allocations: 43.7 kB / 1.239 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/2.913, allocations: 19.91 kB / 1.239 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/2.913, allocations: 17.48 kB / 1.239 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05199/2.965, allocations: 28.35 MB / 1.267 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-05/2.965, allocations: 11.38 kB / 1.267 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/2.968, allocations: 0.7237 MB / 1.268 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/2.98, allocations: 5.067 MB / 1.273 GB, free: 143.3 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009338/2.981, allocations: 88.72 kB / 1.273 GB, free: 143.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03238/3.014, allocations: 27.74 MB / 1.3 GB, free: 134.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/3.014, allocations: 15.41 kB / 1.3 GB, free: 134.5 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/3.044, allocations: 22.18 MB / 1.322 GB, free: 126.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006057/3.05, allocations: 1.595 MB / 1.323 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002629/3.052, allocations: 85.39 kB / 1.323 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005405/3.058, allocations: 0.5225 MB / 1.324 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/3.059, allocations: 301.3 kB / 1.324 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000751/3.06, allocations: 115.9 kB / 1.324 GB, free: 124.1 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.009846/3.07, allocations: 4.711 MB / 1.329 GB, free: 120.3 MB / 0.6828 GB Notification: Performance of sort global known variables: time 4.61e-07/3.07, allocations: 0 / 1.329 GB, free: 120.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01141/3.081, allocations: 2.09 MB / 1.331 GB, free: 118.2 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 10 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 313 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,70.3%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/3.083, allocations: 265.7 kB / 1.331 GB, free: 118 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01863/3.101, allocations: 12.48 MB / 1.343 GB, free: 107.9 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/3.101, allocations: 4 kB / 1.343 GB, free: 107.9 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.008756/3.11, allocations: 5.732 MB / 1.349 GB, free: 103.2 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006872/3.117, allocations: 1.021 MB / 1.35 GB, free: 102.4 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/3.162, allocations: 23.94 MB / 1.373 GB, free: 78.98 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01168/3.174, allocations: 5.958 MB / 1.379 GB, free: 73.02 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.01228/3.186, allocations: 4.241 MB / 1.383 GB, free: 68.79 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/3.19, allocations: 419.3 kB / 1.384 GB, free: 68.38 MB / 0.6828 GB Notification: Performance of SimCode: time 2.986e-06/3.19, allocations: 4 kB / 1.384 GB, free: 68.37 MB / 0.6828 GB Notification: Performance of Templates: time 0.5568/3.747, allocations: 101.2 MB / 1.482 GB, free: 146.5 MB / 0.6984 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches