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.0009609/0.0009609, allocations: 175.8 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.32/1.32, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.0008989/0.0008989, allocations: 89.72 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.018/1.018, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.297e-05, allocations: 0 / 0.5288 GB, free: 1.297 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5404, allocations: 82.85 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8182/1.359, allocations: 146.6 MB / 0.7528 GB, free: 43.7 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/1.359, allocations: 81.59 kB / 0.7529 GB, free: 43.69 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3298/1.689, allocations: 145 MB / 0.8945 GB, free: 7.551 MB / 0.589 GB Notification: Performance of FrontEnd: time 3.807e-06/1.689, allocations: 0 / 0.8945 GB, free: 7.551 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.000395/1.689, allocations: 143.9 kB / 0.8946 GB, free: 7.41 MB / 0.589 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.02368/1.713, allocations: 8.841 MB / 0.9032 GB, free: 15.06 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.713, allocations: 8.031 kB / 0.9033 GB, free: 15.05 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05633/1.769, allocations: 15.2 MB / 0.9181 GB, free: 1.426 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02827/1.797, allocations: 12.43 MB / 0.9302 GB, free: 7.438 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003722/1.798, allocations: 212 kB / 0.9304 GB, free: 7.23 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00269/1.801, allocations: 411.4 kB / 0.9308 GB, free: 6.84 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/1.819, allocations: 10.28 MB / 0.9409 GB, free: 15.66 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/1.848, allocations: 14.86 MB / 0.9554 GB, free: 3.031 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003814/1.849, allocations: 110.9 kB / 0.9555 GB, free: 2.926 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/1.85, allocations: 39.88 kB / 0.9555 GB, free: 2.891 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/1.852, allocations: 1.475 MB / 0.957 GB, free: 1.633 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4597/2.312, allocations: 68.93 MB / 1.024 GB, free: 125.3 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007563/2.319, allocations: 6.79 MB / 1.031 GB, free: 124.6 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/2.324, allocations: 4.93 MB / 1.036 GB, free: 124.6 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00044/2.324, allocations: 386 kB / 1.036 GB, free: 124.3 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0049/2.329, allocations: 5.053 MB / 1.041 GB, free: 124.1 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=337): time 5.57e-06/2.329, allocations: 0 / 1.041 GB, free: 124.1 MB / 0.6671 GB Notification: Performance of matching and sorting (n=429): time 0.08869/2.418, allocations: 49.66 MB / 1.09 GB, free: 116.7 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/2.418, allocations: 437.7 kB / 1.09 GB, free: 116.2 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007579/2.426, allocations: 5.56 MB / 1.095 GB, free: 114.5 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0009745/2.427, allocations: 32.98 kB / 1.095 GB, free: 114.4 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.00362/2.43, allocations: 4.774 MB / 1.1 GB, free: 111.4 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/2.432, allocations: 1.53 MB / 1.102 GB, free: 110.3 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/2.433, allocations: 0 / 1.102 GB, free: 110.3 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003628/2.433, allocations: 0.6826 MB / 1.102 GB, free: 109.8 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005288/2.438, allocations: 4.934 MB / 1.107 GB, free: 108.1 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007099/2.445, allocations: 9.282 MB / 1.116 GB, free: 97.88 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007559/2.453, allocations: 6.901 MB / 1.123 GB, free: 92.63 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-05/2.453, allocations: 44 kB / 1.123 GB, free: 92.59 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.02818/2.481, allocations: 18.16 MB / 1.141 GB, free: 78.62 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/2.481, allocations: 100.7 kB / 1.141 GB, free: 78.52 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/2.482, allocations: 154.9 kB / 1.141 GB, free: 78.37 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/2.493, allocations: 5.302 MB / 1.146 GB, free: 74.79 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/2.5, allocations: 2.009 MB / 1.148 GB, free: 73.11 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03204/2.532, allocations: 26.48 MB / 1.174 GB, free: 51.32 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008095/2.54, allocations: 0.6115 MB / 1.174 GB, free: 50.71 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/2.542, allocations: 483.9 kB / 1.175 GB, free: 50.24 MB / 0.6671 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.002875/2.545, allocations: 0.519 MB / 1.175 GB, free: 49.72 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/2.547, allocations: 0.5747 MB / 1.176 GB, free: 49.14 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02287/2.57, allocations: 13.48 MB / 1.189 GB, free: 35.63 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-05/2.57, allocations: 50.58 kB / 1.189 GB, free: 35.59 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/2.57, allocations: 16 kB / 1.189 GB, free: 35.57 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/2.57, allocations: 19.92 kB / 1.189 GB, free: 35.55 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04216/2.612, allocations: 26.66 MB / 1.215 GB, free: 8.668 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/2.612, allocations: 15.91 kB / 1.215 GB, free: 8.656 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/2.615, allocations: 0.7176 MB / 1.216 GB, free: 7.938 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/2.626, allocations: 5.003 MB / 1.221 GB, free: 2.949 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004845/2.626, allocations: 27.59 kB / 1.221 GB, free: 2.926 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03207/2.658, allocations: 24.43 MB / 1.245 GB, free: 10.41 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/2.658, allocations: 15.94 kB / 1.245 GB, free: 10.39 MB / 0.6984 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.407/3.065, allocations: 21.49 MB / 1.266 GB, free: 173.9 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004196/3.07, allocations: 1.529 MB / 1.267 GB, free: 173.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/3.071, allocations: 23.33 kB / 1.267 GB, free: 173.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003597/3.075, allocations: 464.9 kB / 1.268 GB, free: 173.8 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007551/3.075, allocations: 309.2 kB / 1.268 GB, free: 173.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/3.076, allocations: 111.1 kB / 1.268 GB, free: 173.8 MB / 0.6984 GB Notification: Performance of sorting global known variables: time 0.005551/3.081, allocations: 3.976 MB / 1.272 GB, free: 173.6 MB / 0.6984 GB Notification: Performance of sort global known variables: time 3e-07/3.081, allocations: 0 / 1.272 GB, free: 173.6 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.007945/3.089, allocations: 1.844 MB / 1.274 GB, free: 173.6 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.0007075/3.09, allocations: 190.2 kB / 1.274 GB, free: 173.5 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.01569/3.106, allocations: 12.06 MB / 1.286 GB, free: 173.1 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/3.106, allocations: 2.812 kB / 1.286 GB, free: 173.1 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/3.113, allocations: 5.513 MB / 1.291 GB, free: 172.9 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004807/3.117, allocations: 0.8668 MB / 1.292 GB, free: 172.9 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/3.144, allocations: 18.1 MB / 1.31 GB, free: 170.1 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005642/3.149, allocations: 5.957 MB / 1.315 GB, free: 169.2 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.007918/3.157, allocations: 4.162 MB / 1.32 GB, free: 169.2 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/3.158, allocations: 404.5 kB / 1.32 GB, free: 169.2 MB / 0.6984 GB Notification: Performance of SimCode: time 9.11e-07/3.158, allocations: 0 / 1.32 GB, free: 169.2 MB / 0.6984 GB Notification: Performance of Templates: time 0.1204/3.279, allocations: 90.93 MB / 1.409 GB, free: 111.8 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