Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_noopt_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_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 180.5 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 86.36 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9166/0.9166, allocations: 120.4 MB / 440.6 MB, free: 4.09 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003818, allocations: 15.98 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1448, allocations: 80 MB / 0.597 GB, free: 9.129 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7214/0.8663, allocations: 146 MB / 0.7395 GB, free: 15.45 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.8666, allocations: 78.25 kB / 0.7396 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.3629/1.23, allocations: 142.9 MB / 0.8792 GB, free: 3.414 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.605e-06/1.23, allocations: 0 / 0.8792 GB, free: 3.414 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 0.0006886/1.23, allocations: 144 kB / 0.8793 GB, free: 3.273 MB / 0.6203 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.02956/1.26, allocations: 9.649 MB / 0.8887 GB, free: 10.14 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.26, allocations: 8.031 kB / 0.8888 GB, free: 10.14 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0416/1.302, allocations: 11.08 MB / 0.8996 GB, free: 0 / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/1.329, allocations: 11.94 MB / 0.9112 GB, free: 6.633 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006293/1.329, allocations: 488.8 kB / 0.9117 GB, free: 6.328 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003497/1.333, allocations: 0.6705 MB / 0.9124 GB, free: 5.844 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/1.375, allocations: 17.44 MB / 0.9294 GB, free: 7.105 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007446/1.376, allocations: 115 kB / 0.9295 GB, free: 7 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00321/1.379, allocations: 307.5 kB / 0.9298 GB, free: 6.875 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/1.382, allocations: 1.478 MB / 0.9312 GB, free: 5.613 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3519/1.734, allocations: 14.92 MB / 0.9458 GB, free: 162.2 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08504/1.819, allocations: 71.44 MB / 1.016 GB, free: 125.7 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/1.836, allocations: 8.286 MB / 1.024 GB, free: 123.7 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005718/1.842, allocations: 5.081 MB / 1.029 GB, free: 122 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/1.843, allocations: 390.7 kB / 1.029 GB, free: 121.7 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01536/1.858, allocations: 6.038 MB / 1.035 GB, free: 120.6 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=337): time 1.062e-05/1.858, allocations: 0 / 1.035 GB, free: 120.6 MB / 0.6671 GB Notification: Performance of matching and sorting (n=429): time 0.1462/2.004, allocations: 61.56 MB / 1.095 GB, free: 95.93 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/2.004, allocations: 435.8 kB / 1.095 GB, free: 95.41 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/2.017, allocations: 7.245 MB / 1.102 GB, free: 88.26 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/2.017, allocations: 97.53 kB / 1.103 GB, free: 88.16 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.00402/2.021, allocations: 4.77 MB / 1.107 GB, free: 83.7 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/2.023, allocations: 1.588 MB / 1.109 GB, free: 82.12 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008272/2.024, allocations: 164 kB / 1.109 GB, free: 81.96 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0005816/2.025, allocations: 0.6847 MB / 1.11 GB, free: 81.27 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006651/2.031, allocations: 5.153 MB / 1.115 GB, free: 76.11 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007982/2.039, allocations: 9.448 MB / 1.124 GB, free: 64.71 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/2.054, allocations: 15.68 MB / 1.139 GB, free: 47.2 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/2.054, allocations: 40 kB / 1.139 GB, free: 47.16 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02975/2.084, allocations: 19.35 MB / 1.158 GB, free: 27.75 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.084, allocations: 94.64 kB / 1.158 GB, free: 27.66 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002557/2.085, allocations: 148 kB / 1.158 GB, free: 27.51 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/2.095, allocations: 5.304 MB / 1.164 GB, free: 22.2 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/2.101, allocations: 1.964 MB / 1.165 GB, free: 20.23 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.369/2.47, allocations: 28.65 MB / 1.193 GB, free: 146.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009163/2.479, allocations: 0.7762 MB / 1.194 GB, free: 146.3 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/2.482, allocations: 471.2 kB / 1.195 GB, free: 146.3 MB / 0.6671 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.01019/2.492, allocations: 4.239 MB / 1.199 GB, free: 146.2 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/2.494, allocations: 0.6219 MB / 1.199 GB, free: 146.2 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02812/2.522, allocations: 13.99 MB / 1.213 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/2.522, allocations: 45.89 kB / 1.213 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-05/2.522, allocations: 23.8 kB / 1.213 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/2.522, allocations: 18.16 kB / 1.213 GB, free: 145.9 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05532/2.578, allocations: 28.39 MB / 1.241 GB, free: 144.1 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-05/2.578, allocations: 10.56 kB / 1.241 GB, free: 144.1 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/2.581, allocations: 0.7225 MB / 1.242 GB, free: 144.1 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01123/2.592, allocations: 5.076 MB / 1.247 GB, free: 144 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.593, allocations: 85.98 kB / 1.247 GB, free: 144 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03255/2.626, allocations: 26.65 MB / 1.273 GB, free: 135.7 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/2.626, allocations: 13.31 kB / 1.273 GB, free: 135.7 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03265/2.659, allocations: 20.57 MB / 1.293 GB, free: 129.9 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004993/2.664, allocations: 1.6 MB / 1.294 GB, free: 129.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002501/2.666, allocations: 85.89 kB / 1.294 GB, free: 129.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005295/2.671, allocations: 0.5237 MB / 1.295 GB, free: 129.3 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/2.673, allocations: 304.7 kB / 1.295 GB, free: 129.2 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007149/2.674, allocations: 129.9 kB / 1.295 GB, free: 129.2 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.01035/2.684, allocations: 4.783 MB / 1.3 GB, free: 127.8 MB / 0.6671 GB Notification: Performance of sort global known variables: time 6.21e-07/2.684, allocations: 0 / 1.3 GB, free: 127.8 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01306/2.697, allocations: 2.097 MB / 1.302 GB, free: 126.4 MB / 0.6671 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.002154/2.7, allocations: 263.5 kB / 1.302 GB, free: 126.2 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.72, allocations: 12.48 MB / 1.314 GB, free: 116.1 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/2.72, allocations: 7.656 kB / 1.314 GB, free: 116.1 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.009084/2.729, allocations: 5.73 MB / 1.32 GB, free: 111.3 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0176/2.747, allocations: 1.066 MB / 1.321 GB, free: 110.5 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/2.788, allocations: 24.09 MB / 1.345 GB, free: 87.51 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009491/2.797, allocations: 5.834 MB / 1.35 GB, free: 81.68 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.00995/2.807, allocations: 4.17 MB / 1.354 GB, free: 77.52 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/2.81, allocations: 423.3 kB / 1.355 GB, free: 77.11 MB / 0.6671 GB Notification: Performance of SimCode: time 9.52e-07/2.81, allocations: 0 / 1.355 GB, free: 77.11 MB / 0.6671 GB Notification: Performance of Templates: time 0.465/3.275, allocations: 101.9 MB / 1.454 GB, free: 156.1 MB / 0.6828 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches