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.00141/0.00141, allocations: 176.2 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.24/1.24, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.0008621/0.0008621, allocations: 93.69 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8619/0.8619, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.341e-05, allocations: 0 / 0.5288 GB, free: 1.293 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.515, allocations: 82.83 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6762/1.191, allocations: 146.6 MB / 0.7528 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/1.191, allocations: 78.69 kB / 0.7529 GB, free: 135.4 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3311/1.523, allocations: 145 MB / 0.8945 GB, free: 10.62 MB / 0.5578 GB Notification: Performance of FrontEnd: time 3.416e-06/1.523, allocations: 4 kB / 0.8945 GB, free: 10.62 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0004639/1.523, allocations: 143.9 kB / 0.8946 GB, free: 10.48 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.02318/1.546, allocations: 8.84 MB / 0.9032 GB, free: 1.551 MB / 0.5578 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.546, allocations: 8.031 kB / 0.9033 GB, free: 1.543 MB / 0.5578 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05589/1.602, allocations: 15.2 MB / 0.9181 GB, free: 2.309 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02869/1.631, allocations: 12.42 MB / 0.9302 GB, free: 5.812 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/1.631, allocations: 208 kB / 0.9304 GB, free: 5.609 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/1.634, allocations: 411.7 kB / 0.9308 GB, free: 5.207 MB / 0.589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01801/1.652, allocations: 10.29 MB / 0.9409 GB, free: 10.91 MB / 0.6046 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/1.677, allocations: 14.86 MB / 0.9554 GB, free: 10.79 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/1.677, allocations: 115 kB / 0.9555 GB, free: 10.68 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008528/1.678, allocations: 36 kB / 0.9555 GB, free: 10.64 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/1.68, allocations: 1.471 MB / 0.957 GB, free: 9.176 MB / 0.6203 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3829/2.063, allocations: 68.94 MB / 1.024 GB, free: 115.1 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007935/2.071, allocations: 6.785 MB / 1.031 GB, free: 114.5 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/2.076, allocations: 4.928 MB / 1.036 GB, free: 114.4 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/2.076, allocations: 384.3 kB / 1.036 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004695/2.081, allocations: 5.053 MB / 1.041 GB, free: 114 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=337): time 5.019e-06/2.081, allocations: 0 / 1.041 GB, free: 114 MB / 0.6515 GB Notification: Performance of matching and sorting (n=429): time 0.08791/2.169, allocations: 49.66 MB / 1.09 GB, free: 105.9 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/2.169, allocations: 434.9 kB / 1.09 GB, free: 105.4 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006736/2.176, allocations: 5.556 MB / 1.095 GB, free: 103.7 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0007792/2.177, allocations: 33.06 kB / 1.095 GB, free: 103.7 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.003037/2.18, allocations: 4.773 MB / 1.1 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/2.181, allocations: 1.524 MB / 1.102 GB, free: 99.53 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/2.182, allocations: 0 / 1.102 GB, free: 99.53 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003569/2.182, allocations: 0.686 MB / 1.102 GB, free: 99.07 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/2.187, allocations: 4.932 MB / 1.107 GB, free: 96.16 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006384/2.193, allocations: 9.285 MB / 1.116 GB, free: 85.9 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/2.2, allocations: 6.896 MB / 1.123 GB, free: 80.65 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.602e-05/2.2, allocations: 48.88 kB / 1.123 GB, free: 80.61 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02706/2.228, allocations: 18.16 MB / 1.141 GB, free: 66.63 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/2.228, allocations: 97.17 kB / 1.141 GB, free: 66.54 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/2.228, allocations: 152 kB / 1.141 GB, free: 66.39 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/2.239, allocations: 5.295 MB / 1.146 GB, free: 62.82 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006747/2.246, allocations: 2.012 MB / 1.148 GB, free: 61.13 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03114/2.277, allocations: 26.48 MB / 1.174 GB, free: 36.95 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007518/2.285, allocations: 0.6035 MB / 1.174 GB, free: 36.35 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/2.287, allocations: 483.9 kB / 1.175 GB, free: 35.88 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.002329/2.289, allocations: 0.5271 MB / 1.175 GB, free: 35.35 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/2.29, allocations: 0.5785 MB / 1.176 GB, free: 34.76 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02077/2.311, allocations: 13.48 MB / 1.189 GB, free: 21.26 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/2.311, allocations: 44 kB / 1.189 GB, free: 21.22 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/2.311, allocations: 16 kB / 1.189 GB, free: 21.2 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/2.311, allocations: 23.88 kB / 1.189 GB, free: 21.18 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04213/2.353, allocations: 26.67 MB / 1.215 GB, free: 10.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/2.353, allocations: 14.53 kB / 1.215 GB, free: 10.29 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/2.357, allocations: 0.7176 MB / 1.216 GB, free: 9.566 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01219/2.369, allocations: 4.999 MB / 1.221 GB, free: 4.582 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007559/2.37, allocations: 27.98 kB / 1.221 GB, free: 4.555 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03411/2.404, allocations: 24.42 MB / 1.245 GB, free: 12.04 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/2.404, allocations: 19.83 kB / 1.245 GB, free: 12.02 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3454/2.749, allocations: 21.49 MB / 1.266 GB, free: 178.7 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003437/2.753, allocations: 1.535 MB / 1.267 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009424/2.754, allocations: 22.34 kB / 1.267 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/2.757, allocations: 467.7 kB / 1.268 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/2.758, allocations: 299.2 kB / 1.268 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.758, allocations: 120.5 kB / 1.268 GB, free: 178.6 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.005275/2.763, allocations: 3.979 MB / 1.272 GB, free: 178.4 MB / 0.6984 GB Notification: Performance of sort global known variables: time 2.21e-07/2.763, allocations: 0 / 1.272 GB, free: 178.4 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.006883/2.77, allocations: 1.84 MB / 1.274 GB, free: 178.4 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.0006082/2.771, allocations: 194.7 kB / 1.274 GB, free: 178.3 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01365/2.785, allocations: 12.05 MB / 1.286 GB, free: 178 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.785, allocations: 3.844 kB / 1.286 GB, free: 178 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.006497/2.791, allocations: 5.511 MB / 1.291 GB, free: 177.7 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/2.795, allocations: 0.8677 MB / 1.292 GB, free: 177.7 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/2.819, allocations: 18.1 MB / 1.31 GB, free: 174.9 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00584/2.825, allocations: 5.955 MB / 1.315 GB, free: 174.1 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.008356/2.834, allocations: 4.169 MB / 1.32 GB, free: 174 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/2.835, allocations: 403.5 kB / 1.32 GB, free: 174 MB / 0.6984 GB Notification: Performance of SimCode: time 8.52e-07/2.835, allocations: 0 / 1.32 GB, free: 174 MB / 0.6984 GB Notification: Performance of Templates: time 0.1227/2.958, allocations: 90.91 MB / 1.409 GB, free: 115 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