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 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_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 4.0.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 180.2 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.561/1.561, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.001159/0.001159, allocations: 97.59 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.033/1.033, allocations: 120.5 MB / 463 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004046, allocations: 8 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 82.84 MB / 0.6242 GB, free: 9.207 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9786/1.172, allocations: 147.3 MB / 0.7681 GB, free: 3.09 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/1.173, allocations: 78.39 kB / 0.7681 GB, free: 3.051 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.407/1.58, allocations: 147.5 MB / 0.9122 GB, free: 2.922 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.705e-06/1.58, allocations: 0 / 0.9122 GB, free: 2.922 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0009476/1.581, allocations: 148 kB / 0.9123 GB, free: 2.777 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.03678/1.617, allocations: 9.851 MB / 0.922 GB, free: 9.473 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.617, allocations: 12.03 kB / 0.922 GB, free: 9.461 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0577/1.675, allocations: 15.17 MB / 0.9368 GB, free: 11.86 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03494/1.71, allocations: 12.5 MB / 0.949 GB, free: 1.762 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000734/1.711, allocations: 485.5 kB / 0.9495 GB, free: 1.457 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004291/1.715, allocations: 0.6679 MB / 0.9501 GB, free: 0.9766 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8726/2.588, allocations: 17.58 MB / 0.9673 GB, free: 165.4 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009533/2.589, allocations: 108.7 kB / 0.9674 GB, free: 165.4 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004192/2.593, allocations: 304.4 kB / 0.9677 GB, free: 165.4 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003754/2.597, allocations: 1.476 MB / 0.9691 GB, free: 165.4 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03611/2.633, allocations: 15.11 MB / 0.9839 GB, free: 165.3 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09697/2.73, allocations: 71.36 MB / 1.054 GB, free: 123 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/2.749, allocations: 8.491 MB / 1.062 GB, free: 120.7 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006538/2.75, allocations: 380.7 kB / 1.062 GB, free: 120.4 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01664/2.767, allocations: 6.224 MB / 1.068 GB, free: 119.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 8.246e-06/2.767, allocations: 0 / 1.068 GB, free: 119.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1573/2.924, allocations: 62.68 MB / 1.129 GB, free: 76.18 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/2.924, allocations: 432.5 kB / 1.13 GB, free: 75.66 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/2.936, allocations: 6.39 MB / 1.136 GB, free: 69.37 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/2.938, allocations: 92.02 kB / 1.136 GB, free: 69.27 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004188/2.942, allocations: 4.757 MB / 1.141 GB, free: 64.8 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002283/2.944, allocations: 1.58 MB / 1.142 GB, free: 63.23 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/2.945, allocations: 168 kB / 1.143 GB, free: 63.07 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003797/2.945, allocations: 0.6771 MB / 1.143 GB, free: 62.38 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00608/2.951, allocations: 5.152 MB / 1.148 GB, free: 57.22 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008632/2.96, allocations: 9.415 MB / 1.157 GB, free: 45.86 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008692/2.968, allocations: 7.102 MB / 1.164 GB, free: 38.81 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.49e-05/2.969, allocations: 40 kB / 1.164 GB, free: 38.77 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03258/3.001, allocations: 19.35 MB / 1.183 GB, free: 19.37 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/3.001, allocations: 93.7 kB / 1.183 GB, free: 19.27 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/3.001, allocations: 144 kB / 1.184 GB, free: 19.13 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/3.013, allocations: 5.32 MB / 1.189 GB, free: 13.81 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00745/3.021, allocations: 1.969 MB / 1.191 GB, free: 11.84 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4976/3.518, allocations: 29.71 MB / 1.22 GB, free: 162 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/3.529, allocations: 0.7707 MB / 1.22 GB, free: 162 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002605/3.531, allocations: 472.4 kB / 1.221 GB, free: 162 MB / 0.6984 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.01157/3.543, allocations: 4.22 MB / 1.225 GB, free: 161.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002292/3.545, allocations: 0.6154 MB / 1.226 GB, free: 161.9 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03328/3.579, allocations: 13.99 MB / 1.239 GB, free: 161.6 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001543/3.579, allocations: 44.84 kB / 1.239 GB, free: 161.6 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-05/3.579, allocations: 15.88 kB / 1.239 GB, free: 161.6 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001314/3.579, allocations: 25.95 kB / 1.239 GB, free: 161.6 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05556/3.635, allocations: 28.34 MB / 1.267 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.062e-05/3.635, allocations: 11.09 kB / 1.267 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/3.638, allocations: 0.724 MB / 1.268 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/3.651, allocations: 5.071 MB / 1.273 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/3.652, allocations: 85.55 kB / 1.273 GB, free: 159.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03269/3.684, allocations: 27.74 MB / 1.3 GB, free: 152.7 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/3.685, allocations: 19.8 kB / 1.3 GB, free: 152.7 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03337/3.718, allocations: 22.17 MB / 1.322 GB, free: 145 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007086/3.725, allocations: 1.59 MB / 1.323 GB, free: 144.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00196/3.727, allocations: 87.92 kB / 1.323 GB, free: 144.4 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/3.731, allocations: 0.5314 MB / 1.324 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009763/3.732, allocations: 296.7 kB / 1.324 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003354/3.733, allocations: 120.5 kB / 1.324 GB, free: 144.3 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.007337/3.74, allocations: 4.707 MB / 1.329 GB, free: 142.9 MB / 0.6984 GB Notification: Performance of sort global known variables: time 3.2e-07/3.74, allocations: 0 / 1.329 GB, free: 142.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.009739/3.75, allocations: 2.092 MB / 1.331 GB, free: 142.7 MB / 0.6984 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.0009316/3.751, allocations: 257.9 kB / 1.331 GB, free: 142.5 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0174/3.768, allocations: 12.49 MB / 1.343 GB, free: 132.4 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/3.768, allocations: 6.531 kB / 1.343 GB, free: 132.4 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.007955/3.776, allocations: 5.724 MB / 1.349 GB, free: 127.7 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/3.782, allocations: 1.021 MB / 1.35 GB, free: 126.9 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03543/3.817, allocations: 23.93 MB / 1.373 GB, free: 106.1 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006504/3.824, allocations: 5.964 MB / 1.379 GB, free: 101.2 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.008724/3.832, allocations: 4.245 MB / 1.383 GB, free: 96.99 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/3.834, allocations: 423.3 kB / 1.384 GB, free: 96.57 MB / 0.6984 GB Notification: Performance of SimCode: time 2.645e-06/3.834, allocations: 0 / 1.384 GB, free: 96.57 MB / 0.6984 GB Notification: Performance of Templates: time 0.6059/4.44, allocations: 101.2 MB / 1.482 GB, free: 147.2 MB / 0.6984 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