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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008682/0.0008683, allocations: 172.5 kB / 17.39 MB, free: 4.188 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 77.56 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9025/0.9025, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 15.94 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 80 MB / 0.5969 GB, free: 9.125 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6779/0.8034, allocations: 146 MB / 0.7395 GB, free: 15.45 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.8037, allocations: 86.16 kB / 0.7396 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.3433/1.147, allocations: 142.9 MB / 0.8792 GB, free: 3.41 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.995e-06/1.147, allocations: 0 / 0.8792 GB, free: 3.41 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 0.0007711/1.148, allocations: 144 kB / 0.8793 GB, free: 3.27 MB / 0.6203 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.02982/1.178, allocations: 9.65 MB / 0.8887 GB, free: 10.14 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/1.178, allocations: 12.03 kB / 0.8888 GB, free: 10.13 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04069/1.218, allocations: 11.08 MB / 0.8996 GB, free: 15.99 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02525/1.244, allocations: 11.94 MB / 0.9112 GB, free: 6.633 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/1.244, allocations: 483.5 kB / 0.9117 GB, free: 6.332 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/1.247, allocations: 0.6784 MB / 0.9123 GB, free: 5.84 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03811/1.286, allocations: 17.44 MB / 0.9294 GB, free: 7.105 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000687/1.286, allocations: 111.1 kB / 0.9295 GB, free: 7 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002517/1.289, allocations: 308.3 kB / 0.9298 GB, free: 6.875 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/1.291, allocations: 1.482 MB / 0.9312 GB, free: 5.609 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2877/1.579, allocations: 14.91 MB / 0.9458 GB, free: 160.6 MB / 0.6671 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07673/1.656, allocations: 71.44 MB / 1.016 GB, free: 124.1 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.672, allocations: 8.287 MB / 1.024 GB, free: 122.1 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005073/1.677, allocations: 5.082 MB / 1.029 GB, free: 120.4 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/1.677, allocations: 384.9 kB / 1.029 GB, free: 120.1 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01419/1.692, allocations: 6.036 MB / 1.035 GB, free: 118.9 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=337): time 1.125e-05/1.692, allocations: 0 / 1.035 GB, free: 118.9 MB / 0.6671 GB Notification: Performance of matching and sorting (n=429): time 0.1353/1.827, allocations: 61.57 MB / 1.095 GB, free: 94.12 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.827, allocations: 436.5 kB / 1.095 GB, free: 93.61 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.837, allocations: 7.242 MB / 1.102 GB, free: 86.46 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.0009814/1.838, allocations: 93.33 kB / 1.103 GB, free: 86.37 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.003853/1.842, allocations: 4.78 MB / 1.107 GB, free: 81.9 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.002164/1.844, allocations: 1.58 MB / 1.109 GB, free: 80.33 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008324/1.845, allocations: 172 kB / 1.109 GB, free: 80.16 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0004248/1.846, allocations: 0.6732 MB / 1.11 GB, free: 79.48 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006568/1.852, allocations: 5.149 MB / 1.115 GB, free: 74.32 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009076/1.861, allocations: 9.456 MB / 1.124 GB, free: 62.91 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/1.877, allocations: 15.68 MB / 1.139 GB, free: 45.39 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.877, allocations: 44 kB / 1.139 GB, free: 45.35 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.03268/1.91, allocations: 19.35 MB / 1.158 GB, free: 25.95 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/1.91, allocations: 105.1 kB / 1.158 GB, free: 25.84 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/1.911, allocations: 140 kB / 1.158 GB, free: 25.71 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/1.922, allocations: 5.3 MB / 1.164 GB, free: 20.4 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006464/1.928, allocations: 1.968 MB / 1.165 GB, free: 18.43 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0375/1.966, allocations: 28.65 MB / 1.193 GB, free: 5.648 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008115/1.974, allocations: 0.7761 MB / 1.194 GB, free: 4.871 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/1.976, allocations: 475.9 kB / 1.195 GB, free: 4.406 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.009603/1.986, allocations: 4.237 MB / 1.199 GB, free: 160 kB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.288/2.274, allocations: 0.6226 MB / 1.199 GB, free: 168 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/2.299, allocations: 13.98 MB / 1.213 GB, free: 167.7 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.779e-05/2.3, allocations: 49.84 kB / 1.213 GB, free: 167.7 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.574e-05/2.3, allocations: 17.44 kB / 1.213 GB, free: 167.7 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-05/2.3, allocations: 23.95 kB / 1.213 GB, free: 167.7 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04786/2.348, allocations: 28.38 MB / 1.241 GB, free: 165.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/2.348, allocations: 11.91 kB / 1.241 GB, free: 165.9 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/2.351, allocations: 0.7254 MB / 1.242 GB, free: 165.9 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.361, allocations: 5.066 MB / 1.247 GB, free: 165.9 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000892/2.362, allocations: 91.09 kB / 1.247 GB, free: 165.9 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03007/2.392, allocations: 26.66 MB / 1.273 GB, free: 160.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/2.392, allocations: 20.03 kB / 1.273 GB, free: 160.5 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0305/2.423, allocations: 20.56 MB / 1.293 GB, free: 154.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/2.428, allocations: 1.61 MB / 1.294 GB, free: 154.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/2.43, allocations: 87.14 kB / 1.294 GB, free: 154.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004606/2.434, allocations: 0.5262 MB / 1.295 GB, free: 154.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/2.436, allocations: 301.5 kB / 1.295 GB, free: 154.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006812/2.436, allocations: 108.4 kB / 1.295 GB, free: 154.2 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.008845/2.445, allocations: 4.788 MB / 1.3 GB, free: 152.8 MB / 0.6828 GB Notification: Performance of sort global known variables: time 6.21e-07/2.445, allocations: 0 / 1.3 GB, free: 152.8 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.01007/2.455, allocations: 2.1 MB / 1.302 GB, free: 152.6 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.001257/2.457, allocations: 252.6 kB / 1.302 GB, free: 152.4 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01785/2.475, allocations: 12.48 MB / 1.314 GB, free: 144.5 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/2.475, allocations: 0.5625 kB / 1.314 GB, free: 144.5 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.009312/2.484, allocations: 5.738 MB / 1.32 GB, free: 139.8 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/2.502, allocations: 1.076 MB / 1.321 GB, free: 138.9 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/2.536, allocations: 24.09 MB / 1.345 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00944/2.545, allocations: 5.838 MB / 1.35 GB, free: 111.6 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.01015/2.556, allocations: 4.165 MB / 1.354 GB, free: 107.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/2.558, allocations: 426.6 kB / 1.355 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of SimCode: time 1.042e-06/2.558, allocations: 0 / 1.355 GB, free: 107.1 MB / 0.6828 GB Notification: Performance of Templates: time 0.4249/2.983, allocations: 101.9 MB / 1.454 GB, free: 147.9 MB / 0.6828 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/jenkins1/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