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.0009967/0.0009969, allocations: 179.1 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.281/1.281, allocations: 221.3 MB / 235.5 MB, free: 2.875 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.001052/0.001052, allocations: 90.84 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8977/0.8977, allocations: 120.4 MB / 457.8 MB, free: 7.043 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.74e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4937, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7633/1.257, allocations: 147.2 MB / 0.7604 GB, free: 42.64 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/1.257, allocations: 81.36 kB / 0.7605 GB, free: 42.63 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3488/1.606, allocations: 147.6 MB / 0.9046 GB, free: 12.09 MB / 0.6046 GB Notification: Performance of FrontEnd: time 2.164e-06/1.606, allocations: 0 / 0.9046 GB, free: 12.09 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0007161/1.607, allocations: 147.9 kB / 0.9048 GB, free: 11.95 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.03117/1.638, allocations: 8.843 MB / 0.9134 GB, free: 3.582 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.638, allocations: 12.03 kB / 0.9134 GB, free: 3.57 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05655/1.695, allocations: 15.2 MB / 0.9283 GB, free: 5.941 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03106/1.726, allocations: 12.44 MB / 0.9404 GB, free: 11.91 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000561/1.726, allocations: 489.1 kB / 0.9409 GB, free: 11.61 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003455/1.73, allocations: 0.6666 MB / 0.9415 GB, free: 11.12 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04207/1.772, allocations: 17.44 MB / 0.9585 GB, free: 12.43 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007891/1.773, allocations: 114.9 kB / 0.9587 GB, free: 12.32 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002946/1.776, allocations: 304.7 kB / 0.9589 GB, free: 12.2 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002431/1.778, allocations: 1.474 MB / 0.9604 GB, free: 10.94 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/1.808, allocations: 14.89 MB / 0.9749 GB, free: 15.5 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4361/2.244, allocations: 71.35 MB / 1.045 GB, free: 125.2 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/2.262, allocations: 8.397 MB / 1.053 GB, free: 124.5 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/2.268, allocations: 5.023 MB / 1.058 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/2.268, allocations: 380.8 kB / 1.058 GB, free: 124.2 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01566/2.284, allocations: 6.174 MB / 1.064 GB, free: 124 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 5.541e-06/2.284, allocations: 3.281 kB / 1.064 GB, free: 124 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1275/2.411, allocations: 55.99 MB / 1.119 GB, free: 119.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/2.411, allocations: 437.3 kB / 1.119 GB, free: 118.6 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008371/2.42, allocations: 6.334 MB / 1.125 GB, free: 116.8 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0008623/2.421, allocations: 97.75 kB / 1.125 GB, free: 116.7 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/2.424, allocations: 4.752 MB / 1.13 GB, free: 113.7 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/2.426, allocations: 1.585 MB / 1.132 GB, free: 112.6 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/2.426, allocations: 166.2 kB / 1.132 GB, free: 112.5 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.000355/2.427, allocations: 0.6777 MB / 1.132 GB, free: 112 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005876/2.433, allocations: 5.064 MB / 1.137 GB, free: 110.6 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/2.44, allocations: 9.331 MB / 1.147 GB, free: 100.5 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/2.448, allocations: 7.051 MB / 1.153 GB, free: 95.15 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.819e-05/2.448, allocations: 44 kB / 1.153 GB, free: 95.11 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02929/2.478, allocations: 19.16 MB / 1.172 GB, free: 80.37 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/2.478, allocations: 95.02 kB / 1.172 GB, free: 80.27 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/2.478, allocations: 144 kB / 1.172 GB, free: 80.13 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/2.489, allocations: 5.309 MB / 1.178 GB, free: 76.55 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006509/2.496, allocations: 1.968 MB / 1.18 GB, free: 74.91 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03203/2.528, allocations: 28.56 MB / 1.207 GB, free: 47.17 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007426/2.535, allocations: 0.7703 MB / 1.208 GB, free: 46.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/2.537, 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.001375/2.538, allocations: 0.7391 MB / 1.209 GB, free: 45.2 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/2.539, allocations: 0.6171 MB / 1.21 GB, free: 44.57 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02163/2.561, allocations: 13.87 MB / 1.223 GB, free: 30.69 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/2.561, allocations: 40 kB / 1.224 GB, free: 30.65 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/2.561, allocations: 20 kB / 1.224 GB, free: 30.63 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.224e-05/2.561, allocations: 21.89 kB / 1.224 GB, free: 30.61 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04253/2.603, allocations: 28.24 MB / 1.251 GB, free: 2.152 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.264e-05/2.604, allocations: 12 kB / 1.251 GB, free: 2.141 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/2.607, allocations: 0.7137 MB / 1.252 GB, free: 1.426 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/2.619, allocations: 5.054 MB / 1.257 GB, free: 12.39 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000986/2.62, allocations: 91.64 kB / 1.257 GB, free: 12.3 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03779/2.658, allocations: 26.58 MB / 1.283 GB, free: 1.598 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/2.658, allocations: 15.94 kB / 1.283 GB, free: 1.582 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3843/3.043, allocations: 21.99 MB / 1.304 GB, free: 183 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005292/3.048, allocations: 1.598 MB / 1.306 GB, free: 182.9 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/3.05, allocations: 85.38 kB / 1.306 GB, free: 182.9 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004188/3.054, allocations: 0.5231 MB / 1.306 GB, free: 182.9 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009897/3.055, allocations: 303.5 kB / 1.307 GB, free: 182.9 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/3.055, allocations: 117.6 kB / 1.307 GB, free: 182.9 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.00742/3.063, allocations: 4.645 MB / 1.311 GB, free: 182.7 MB / 0.714 GB Notification: Performance of sort global known variables: time 4.01e-07/3.063, allocations: 0 / 1.311 GB, free: 182.7 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.009725/3.072, allocations: 2.095 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.001337/3.074, allocations: 260.6 kB / 1.314 GB, free: 182.6 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01705/3.091, 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.152e-05/3.091, allocations: 0 / 1.326 GB, free: 182.3 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.007638/3.099, 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.005159/3.104, allocations: 1.007 MB / 1.332 GB, free: 181.9 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/3.131, allocations: 18.44 MB / 1.35 GB, free: 179.1 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006217/3.137, allocations: 5.953 MB / 1.356 GB, free: 177.7 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.008278/3.145, allocations: 4.245 MB / 1.36 GB, free: 177.6 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/3.147, allocations: 418.1 kB / 1.361 GB, free: 177.6 MB / 0.714 GB Notification: Performance of SimCode: time 9.92e-07/3.147, allocations: 0 / 1.361 GB, free: 177.6 MB / 0.714 GB Notification: Performance of Templates: time 0.1289/3.276, allocations: 101.2 MB / 1.459 GB, free: 105.7 MB / 0.714 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