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.00145/0.00145, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.251/1.251, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0008503/0.0008504, allocations: 93.16 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8548/0.8548, allocations: 120.5 MB / 457.8 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.484e-05, allocations: 4 kB / 0.5357 GB, free: 12.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5188, allocations: 82.84 MB / 0.6166 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7588/1.278, allocations: 147.2 MB / 0.7604 GB, free: 42.66 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.278, allocations: 76.2 kB / 0.7605 GB, free: 42.65 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.354/1.632, allocations: 147.6 MB / 0.9046 GB, free: 12.02 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.232e-06/1.632, allocations: 0 / 0.9046 GB, free: 12.02 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0005361/1.632, allocations: 147.9 kB / 0.9048 GB, free: 11.88 MB / 0.6046 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.02449/1.657, allocations: 8.845 MB / 0.9134 GB, free: 3.512 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.657, allocations: 8.031 kB / 0.9134 GB, free: 3.504 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05667/1.714, allocations: 15.19 MB / 0.9282 GB, free: 5.875 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02801/1.742, allocations: 12.44 MB / 0.9404 GB, free: 11.84 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/1.742, allocations: 488.2 kB / 0.9409 GB, free: 11.53 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/1.745, allocations: 0.6668 MB / 0.9415 GB, free: 11.05 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0394/1.785, allocations: 17.44 MB / 0.9585 GB, free: 12.35 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006266/1.785, allocations: 114.9 kB / 0.9586 GB, free: 12.24 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002638/1.788, allocations: 299.9 kB / 0.9589 GB, free: 12.12 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/1.79, allocations: 1.474 MB / 0.9604 GB, free: 10.86 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/1.822, allocations: 14.89 MB / 0.9749 GB, free: 15.42 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3978/2.22, allocations: 71.35 MB / 1.045 GB, free: 125.3 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/2.237, allocations: 8.392 MB / 1.053 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004845/2.242, allocations: 5.02 MB / 1.058 GB, free: 124.6 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/2.242, allocations: 382.5 kB / 1.058 GB, free: 124.3 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01486/2.257, allocations: 6.175 MB / 1.064 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 5.911e-06/2.257, allocations: 0 / 1.064 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1274/2.384, allocations: 55.99 MB / 1.119 GB, free: 119.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.385, allocations: 436.4 kB / 1.119 GB, free: 118.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008813/2.393, allocations: 6.335 MB / 1.125 GB, free: 117 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001322/2.395, allocations: 102.8 kB / 1.125 GB, free: 116.9 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/2.399, allocations: 4.752 MB / 1.13 GB, free: 113.9 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/2.401, allocations: 1.577 MB / 1.132 GB, free: 112.7 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000614/2.401, allocations: 169.5 kB / 1.132 GB, free: 112.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003461/2.402, allocations: 0.6837 MB / 1.132 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/2.407, allocations: 5.058 MB / 1.137 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007333/2.415, allocations: 9.328 MB / 1.147 GB, free: 100.7 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008368/2.423, allocations: 7.063 MB / 1.153 GB, free: 95.27 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.639e-05/2.423, allocations: 40 kB / 1.153 GB, free: 95.23 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03017/2.453, allocations: 19.16 MB / 1.172 GB, free: 80.5 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.454, allocations: 97.55 kB / 1.172 GB, free: 80.4 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/2.454, allocations: 148 kB / 1.172 GB, free: 80.26 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/2.466, allocations: 5.304 MB / 1.178 GB, free: 76.69 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006599/2.472, allocations: 1.968 MB / 1.18 GB, free: 75.04 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03319/2.506, allocations: 28.56 MB / 1.207 GB, free: 47.16 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007411/2.513, allocations: 0.7683 MB / 1.208 GB, free: 46.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/2.515, allocations: 471.9 kB / 1.209 GB, free: 45.94 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 () * 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.002347/2.517, allocations: 0.7346 MB / 1.209 GB, free: 45.2 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/2.518, allocations: 0.6171 MB / 1.21 GB, free: 44.57 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02308/2.541, allocations: 13.87 MB / 1.223 GB, free: 30.69 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-05/2.542, allocations: 47.7 kB / 1.224 GB, free: 30.64 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.679e-05/2.542, allocations: 19.98 kB / 1.224 GB, free: 30.62 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.008e-05/2.542, allocations: 15.94 kB / 1.224 GB, free: 30.61 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04678/2.588, allocations: 28.23 MB / 1.251 GB, free: 2.156 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.747e-05/2.589, allocations: 13.47 kB / 1.251 GB, free: 2.148 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/2.592, allocations: 0.7254 MB / 1.252 GB, free: 1.422 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01229/2.604, allocations: 5.057 MB / 1.257 GB, free: 12.38 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008266/2.605, allocations: 87.98 kB / 1.257 GB, free: 12.3 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03809/2.643, allocations: 26.57 MB / 1.283 GB, free: 1.578 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/2.643, allocations: 15.94 kB / 1.283 GB, free: 1.562 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3535/2.997, allocations: 21.99 MB / 1.304 GB, free: 183.1 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004889/3.001, allocations: 1.589 MB / 1.306 GB, free: 183 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/3.003, allocations: 85.81 kB / 1.306 GB, free: 183 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/3.006, allocations: 0.5263 MB / 1.306 GB, free: 183 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/3.007, allocations: 302.5 kB / 1.307 GB, free: 183 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/3.007, allocations: 115.8 kB / 1.307 GB, free: 183 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.006058/3.014, allocations: 4.65 MB / 1.311 GB, free: 182.7 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.6e-07/3.014, allocations: 3.094 kB / 1.311 GB, free: 182.7 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.006952/3.021, allocations: 2.091 MB / 1.313 GB, free: 182.7 MB / 0.714 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) * 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.0006055/3.021, allocations: 262.8 kB / 1.314 GB, free: 182.6 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01404/3.035, allocations: 12.3 MB / 1.326 GB, free: 182.3 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/3.035, allocations: 3.875 kB / 1.326 GB, free: 182.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.006864/3.042, allocations: 5.645 MB / 1.331 GB, free: 182 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/3.047, allocations: 1.009 MB / 1.332 GB, free: 182 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/3.071, allocations: 18.44 MB / 1.35 GB, free: 179.2 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005589/3.077, allocations: 5.953 MB / 1.356 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.008183/3.085, allocations: 4.242 MB / 1.36 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/3.086, allocations: 423.3 kB / 1.361 GB, free: 177.8 MB / 0.714 GB Notification: Performance of SimCode: time 7.92e-07/3.086, allocations: 0 / 1.361 GB, free: 177.8 MB / 0.714 GB Notification: Performance of Templates: time 0.1335/3.22, allocations: 101.2 MB / 1.459 GB, free: 105.7 MB / 0.714 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