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.001347/0.001347, allocations: 180.3 kB / 16.39 MB, free: 5.758 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 94.86 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.845/0.845, allocations: 120.5 MB / 463.1 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 11.33 kB / 0.5433 GB, free: 42.43 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 82.84 MB / 0.6242 GB, free: 9.223 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8194/0.9839, allocations: 147.3 MB / 0.7681 GB, free: 2.98 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.9842, allocations: 74.28 kB / 0.7682 GB, free: 2.945 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.3776/1.362, allocations: 147.5 MB / 0.9122 GB, free: 2.82 MB / 0.6513 GB Notification: Performance of FrontEnd: time 4.629e-06/1.362, allocations: 4 kB / 0.9122 GB, free: 2.816 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.0008272/1.363, allocations: 155.9 kB / 0.9124 GB, free: 2.664 MB / 0.6513 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.03355/1.396, allocations: 9.851 MB / 0.922 GB, free: 9.359 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.396, allocations: 8.031 kB / 0.922 GB, free: 9.352 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05697/1.453, allocations: 15.18 MB / 0.9368 GB, free: 11.74 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03294/1.486, allocations: 12.5 MB / 0.949 GB, free: 1.645 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/1.487, allocations: 488.9 kB / 0.9495 GB, free: 1.34 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003547/1.491, allocations: 0.6673 MB / 0.9501 GB, free: 0.8594 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6802/2.171, allocations: 17.57 MB / 0.9673 GB, free: 167 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005299/2.171, allocations: 110.5 kB / 0.9674 GB, free: 167 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001552/2.173, allocations: 306.4 kB / 0.9677 GB, free: 167 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/2.175, allocations: 1.472 MB / 0.9691 GB, free: 167 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02722/2.202, allocations: 15.11 MB / 0.9839 GB, free: 166.9 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08012/2.283, allocations: 71.36 MB / 1.054 GB, free: 124.4 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01809/2.301, allocations: 8.497 MB / 1.062 GB, free: 122.1 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/2.301, allocations: 385 kB / 1.062 GB, free: 121.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01673/2.318, allocations: 6.228 MB / 1.068 GB, free: 120.6 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=337): time 1.677e-05/2.318, allocations: 3.516 kB / 1.068 GB, free: 120.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=429): time 0.1549/2.473, allocations: 62.66 MB / 1.13 GB, free: 77.74 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/2.473, allocations: 442.4 kB / 1.13 GB, free: 77.22 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/2.486, allocations: 6.387 MB / 1.136 GB, free: 70.93 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001392/2.488, allocations: 94.56 kB / 1.136 GB, free: 70.83 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.004765/2.492, allocations: 4.749 MB / 1.141 GB, free: 66.36 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.002427/2.495, allocations: 1.578 MB / 1.142 GB, free: 64.8 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/2.496, allocations: 174.8 kB / 1.143 GB, free: 64.63 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0009239/2.497, allocations: 0.6771 MB / 1.143 GB, free: 63.94 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00762/2.505, allocations: 5.149 MB / 1.148 GB, free: 58.79 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009701/2.515, allocations: 9.417 MB / 1.157 GB, free: 47.42 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009331/2.524, allocations: 7.104 MB / 1.164 GB, free: 40.37 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/2.524, allocations: 44 kB / 1.164 GB, free: 40.32 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03461/2.559, allocations: 19.34 MB / 1.183 GB, free: 20.93 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/2.559, allocations: 96.67 kB / 1.183 GB, free: 20.84 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002873/2.56, allocations: 145.8 kB / 1.184 GB, free: 20.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/2.572, allocations: 5.32 MB / 1.189 GB, free: 15.37 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007252/2.579, allocations: 1.969 MB / 1.191 GB, free: 13.4 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3814/2.961, allocations: 29.71 MB / 1.22 GB, free: 148.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008134/2.969, allocations: 0.7645 MB / 1.22 GB, free: 148.9 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/2.971, allocations: 476.7 kB / 1.221 GB, free: 148.9 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 () * Number of clocked 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.007827/2.978, allocations: 4.22 MB / 1.225 GB, free: 148.8 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/2.98, allocations: 0.6147 MB / 1.226 GB, free: 148.8 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/3.001, allocations: 13.98 MB / 1.239 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.752e-05/3.002, allocations: 47.38 kB / 1.239 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/3.002, allocations: 15.44 kB / 1.239 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.857e-05/3.002, allocations: 23.89 kB / 1.239 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0431/3.045, allocations: 28.36 MB / 1.267 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/3.045, allocations: 7.094 kB / 1.267 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/3.048, allocations: 0.722 MB / 1.268 GB, free: 144 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/3.058, allocations: 5.07 MB / 1.273 GB, free: 143.3 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005485/3.059, allocations: 87 kB / 1.273 GB, free: 143.3 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02899/3.088, allocations: 27.73 MB / 1.3 GB, free: 134.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/3.088, allocations: 16.62 kB / 1.3 GB, free: 134.5 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02708/3.115, allocations: 22.18 MB / 1.322 GB, free: 126.1 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004796/3.12, allocations: 1.591 MB / 1.323 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/3.121, allocations: 87.47 kB / 1.323 GB, free: 124.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/3.124, allocations: 0.5234 MB / 1.324 GB, free: 124.3 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009259/3.125, allocations: 302.8 kB / 1.324 GB, free: 124.1 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003119/3.125, allocations: 115 kB / 1.324 GB, free: 124 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.006513/3.132, allocations: 4.709 MB / 1.329 GB, free: 120.3 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.032e-06/3.132, allocations: 0 / 1.329 GB, free: 120.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.008412/3.14, allocations: 2.097 MB / 1.331 GB, free: 118.2 MB / 0.6828 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) * Number of clocked states: 0 () * 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.0007396/3.141, allocations: 254.4 kB / 1.331 GB, free: 118 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01551/3.156, allocations: 12.48 MB / 1.343 GB, free: 107.9 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/3.156, allocations: 0 / 1.343 GB, free: 107.9 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/3.164, allocations: 5.73 MB / 1.349 GB, free: 103.2 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005871/3.169, allocations: 1.013 MB / 1.35 GB, free: 102.4 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/3.207, allocations: 23.94 MB / 1.373 GB, free: 78.9 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00657/3.213, allocations: 5.959 MB / 1.379 GB, free: 72.94 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.008113/3.221, allocations: 4.24 MB / 1.383 GB, free: 68.71 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/3.223, allocations: 423.3 kB / 1.384 GB, free: 68.3 MB / 0.6828 GB Notification: Performance of SimCode: time 1.623e-06/3.223, allocations: 0 / 1.384 GB, free: 68.3 MB / 0.6828 GB Notification: Performance of Templates: time 0.5303/3.753, allocations: 101.2 MB / 1.482 GB, free: 146.7 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