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.001313/0.001313, allocations: 174.7 kB / 8.349 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.204/1.204, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008636/0.0008636, allocations: 92.3 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8078/0.8078, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.25e-05/1.246e-05, allocations: 0 / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4597, allocations: 82.84 MB / 0.6097 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.65/1.11, allocations: 146.6 MB / 0.7528 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/1.11, allocations: 78.27 kB / 0.7529 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.2974/1.407, allocations: 145 MB / 0.8945 GB, free: 10.63 MB / 0.5578 GB Notification: Performance of FrontEnd: time 1.533e-06/1.407, allocations: 0 / 0.8945 GB, free: 10.63 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0003633/1.408, allocations: 143.9 kB / 0.8946 GB, free: 10.49 MB / 0.5578 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.0188/1.427, allocations: 8.844 MB / 0.9032 GB, free: 1.559 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/1.427, allocations: 8.031 kB / 0.9033 GB, free: 1.551 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05159/1.478, allocations: 15.2 MB / 0.9181 GB, free: 2.312 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.503, allocations: 12.42 MB / 0.9302 GB, free: 5.812 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/1.503, allocations: 208 kB / 0.9304 GB, free: 5.609 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/1.505, allocations: 411.7 kB / 0.9308 GB, free: 5.207 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01463/1.52, allocations: 10.29 MB / 0.9409 GB, free: 10.91 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/1.539, allocations: 14.85 MB / 0.9554 GB, free: 10.81 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/1.539, allocations: 111 kB / 0.9555 GB, free: 10.7 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006399/1.54, allocations: 40 kB / 0.9555 GB, free: 10.66 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/1.542, allocations: 1.479 MB / 0.957 GB, free: 9.18 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3612/1.903, allocations: 68.92 MB / 1.024 GB, free: 115.6 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008554/1.911, allocations: 6.794 MB / 1.031 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004717/1.916, allocations: 4.93 MB / 1.036 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/1.917, allocations: 383.8 kB / 1.036 GB, free: 114.6 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004808/1.921, allocations: 5.053 MB / 1.041 GB, free: 114.4 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=337): time 5.871e-06/1.922, allocations: 0 / 1.041 GB, free: 114.4 MB / 0.6515 GB Notification: Performance of matching and sorting (n=429): time 0.08414/2.006, allocations: 49.67 MB / 1.09 GB, free: 106.3 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.006, allocations: 436 kB / 1.09 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007193/2.013, allocations: 5.564 MB / 1.095 GB, free: 104.1 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0005621/2.014, allocations: 25.7 kB / 1.095 GB, free: 104.1 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/2.016, allocations: 4.771 MB / 1.1 GB, free: 101.1 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/2.017, allocations: 1.526 MB / 1.102 GB, free: 99.96 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/2.018, allocations: 0 / 1.102 GB, free: 99.96 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003219/2.018, allocations: 0.6921 MB / 1.102 GB, free: 99.49 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00464/2.023, allocations: 4.93 MB / 1.107 GB, free: 96.36 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/2.029, allocations: 9.287 MB / 1.116 GB, free: 86.1 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/2.035, allocations: 6.901 MB / 1.123 GB, free: 80.85 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.037e-05/2.035, allocations: 44 kB / 1.123 GB, free: 80.8 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02403/2.059, allocations: 18.15 MB / 1.141 GB, free: 66.8 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/2.059, allocations: 101.3 kB / 1.141 GB, free: 66.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/2.059, allocations: 155.2 kB / 1.141 GB, free: 66.55 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/2.07, allocations: 5.304 MB / 1.146 GB, free: 62.97 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/2.076, allocations: 2.005 MB / 1.148 GB, free: 61.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02732/2.103, allocations: 26.48 MB / 1.174 GB, free: 36.93 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/2.11, allocations: 0.607 MB / 1.174 GB, free: 36.32 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008561/2.111, allocations: 485.4 kB / 1.175 GB, free: 35.85 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (1002): * Single equations (assignments): 997 * 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 {(11,62.0%) 87} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001119/2.112, allocations: 0.5234 MB / 1.175 GB, free: 35.32 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007146/2.112, allocations: 0.5785 MB / 1.176 GB, free: 34.73 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/2.131, allocations: 13.48 MB / 1.189 GB, free: 21.23 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/2.131, allocations: 44 kB / 1.189 GB, free: 21.19 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/2.131, allocations: 16 kB / 1.189 GB, free: 21.18 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/2.131, allocations: 27.88 kB / 1.189 GB, free: 21.15 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03652/2.168, allocations: 26.67 MB / 1.215 GB, free: 10.27 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/2.168, allocations: 8 kB / 1.215 GB, free: 10.26 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002899/2.171, allocations: 0.7137 MB / 1.216 GB, free: 9.547 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/2.182, allocations: 5.003 MB / 1.221 GB, free: 4.559 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003938/2.182, allocations: 23.98 kB / 1.221 GB, free: 4.535 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02998/2.212, allocations: 24.43 MB / 1.245 GB, free: 12.02 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/2.212, allocations: 19.89 kB / 1.245 GB, free: 12 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3311/2.544, allocations: 21.49 MB / 1.266 GB, free: 179.2 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/2.547, allocations: 1.533 MB / 1.267 GB, free: 179.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/2.548, allocations: 17.89 kB / 1.267 GB, free: 179.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003369/2.552, allocations: 471.5 kB / 1.268 GB, free: 179.1 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006922/2.552, allocations: 305.2 kB / 1.268 GB, free: 179.1 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/2.553, allocations: 118.2 kB / 1.268 GB, free: 179.1 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.005466/2.558, allocations: 3.975 MB / 1.272 GB, free: 178.8 MB / 0.6984 GB Notification: Performance of sort global known variables: time 3.1e-07/2.558, allocations: 2.281 kB / 1.272 GB, free: 178.8 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.007359/2.566, allocations: 1.841 MB / 1.274 GB, free: 178.8 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) * 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,81.2%) 87} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006768/2.566, allocations: 195.9 kB / 1.274 GB, free: 178.8 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01376/2.58, allocations: 12.05 MB / 1.286 GB, free: 178.4 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.58, allocations: 3.938 kB / 1.286 GB, free: 178.4 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.006336/2.587, allocations: 5.507 MB / 1.291 GB, free: 178.2 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/2.591, allocations: 0.8731 MB / 1.292 GB, free: 178.2 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/2.614, allocations: 18.08 MB / 1.31 GB, free: 175.4 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/2.62, allocations: 5.97 MB / 1.315 GB, free: 174.5 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.008028/2.628, allocations: 4.159 MB / 1.32 GB, free: 174.4 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/2.629, allocations: 400.2 kB / 1.32 GB, free: 174.4 MB / 0.6984 GB Notification: Performance of SimCode: time 6.61e-07/2.629, allocations: 3.5 kB / 1.32 GB, free: 174.4 MB / 0.6984 GB Notification: Performance of Templates: time 0.1113/2.74, allocations: 90.92 MB / 1.409 GB, free: 115.1 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/jenkins/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