Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_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.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,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.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,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.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 176.2 kB / 8.348 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.237/1.237, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0009068/0.0009069, allocations: 85.98 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8849/0.8849, allocations: 120.5 MB / 452.4 MB, free: 10.47 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.279e-05, allocations: 0 / 0.5288 GB, free: 1.277 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.48, allocations: 82.83 MB / 0.6097 GB, free: 13.02 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6897/1.17, allocations: 146 MB / 0.7522 GB, free: 43.22 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.17, allocations: 80.92 kB / 0.7523 GB, free: 43.22 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3301/1.5, allocations: 144.2 MB / 0.8931 GB, free: 9.621 MB / 0.589 GB Notification: Performance of FrontEnd: time 1.483e-06/1.5, allocations: 0 / 0.8931 GB, free: 9.621 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0005437/1.501, allocations: 144 kB / 0.8932 GB, free: 9.48 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: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.02317/1.524, allocations: 8.26 MB / 0.9013 GB, free: 1.715 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.524, allocations: 8.031 kB / 0.9013 GB, free: 1.707 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05676/1.581, allocations: 14.58 MB / 0.9156 GB, free: 4.699 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.607, allocations: 11.86 MB / 0.9271 GB, free: 11.28 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/1.608, allocations: 211.9 kB / 0.9273 GB, free: 11.07 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/1.611, allocations: 411.4 kB / 0.9277 GB, free: 10.68 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01772/1.628, allocations: 10.18 MB / 0.9377 GB, free: 3.664 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02846/1.657, allocations: 14.5 MB / 0.9518 GB, free: 7.504 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000526/1.657, allocations: 106.8 kB / 0.9519 GB, free: 7.406 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/1.66, allocations: 43.94 kB / 0.952 GB, free: 7.363 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/1.662, allocations: 1.42 MB / 0.9534 GB, free: 6.152 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3896/2.051, allocations: 66.59 MB / 1.018 GB, free: 124.4 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006669/2.058, allocations: 6.756 MB / 1.025 GB, free: 123.7 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004173/2.062, allocations: 4.993 MB / 1.03 GB, free: 123.6 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/2.063, allocations: 266.5 kB / 1.03 GB, free: 123.4 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/2.063, allocations: 70.84 kB / 1.03 GB, free: 123.4 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=328): time 5.209e-06/2.063, allocations: 0 / 1.03 GB, free: 123.4 MB / 0.6671 GB Notification: Performance of matching and sorting (n=412): time 0.0846/2.147, allocations: 50.39 MB / 1.079 GB, free: 118 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/2.147, allocations: 435.7 kB / 1.08 GB, free: 117.5 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/2.154, allocations: 5.203 MB / 1.085 GB, free: 115.8 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.000698/2.154, allocations: 28.45 kB / 1.085 GB, free: 115.8 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/2.156, allocations: 4.591 MB / 1.089 GB, free: 112.8 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/2.158, allocations: 1.446 MB / 1.091 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004515/2.158, allocations: 0 / 1.091 GB, free: 111.8 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0003717/2.159, allocations: 0.6684 MB / 1.091 GB, free: 111.3 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/2.164, allocations: 4.912 MB / 1.096 GB, free: 109.8 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/2.17, allocations: 9.146 MB / 1.105 GB, free: 102.5 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006754/2.177, allocations: 6.787 MB / 1.112 GB, free: 97.32 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.364e-05/2.177, allocations: 43.95 kB / 1.112 GB, free: 97.27 MB / 0.6671 GB Notification: Performance of matching and sorting (n=1085) (initialization): time 0.02681/2.204, allocations: 18 MB / 1.129 GB, free: 83.62 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/2.204, allocations: 75.28 kB / 1.13 GB, free: 83.55 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/2.204, allocations: 144 kB / 1.13 GB, free: 83.41 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/2.215, allocations: 5.289 MB / 1.135 GB, free: 79.82 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/2.221, allocations: 1.931 MB / 1.137 GB, free: 78.21 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/2.252, allocations: 26.78 MB / 1.163 GB, free: 56.93 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007491/2.259, allocations: 0.6021 MB / 1.163 GB, free: 56.55 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/2.261, allocations: 473.8 kB / 1.164 GB, free: 56.11 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[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.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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (959): * Single equations (assignments): 955 * Array equations: 3 * Algorithm blocks: 0 * 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 {(10,71.0%) 93} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/2.263, allocations: 0.5027 MB / 1.164 GB, free: 55.61 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/2.264, allocations: 0.5666 MB / 1.165 GB, free: 55.04 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/2.285, allocations: 13.53 MB / 1.178 GB, free: 42.81 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/2.285, allocations: 44.7 kB / 1.178 GB, free: 42.77 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/2.285, allocations: 16 kB / 1.178 GB, free: 42.75 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-05/2.285, allocations: 19.94 kB / 1.178 GB, free: 42.73 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03859/2.324, allocations: 25.37 MB / 1.203 GB, free: 17.25 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/2.324, allocations: 4 kB / 1.203 GB, free: 17.25 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/2.327, allocations: 0.6814 MB / 1.204 GB, free: 16.57 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/2.338, allocations: 5.021 MB / 1.209 GB, free: 11.57 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009968/2.339, allocations: 16 kB / 1.209 GB, free: 11.55 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03292/2.372, allocations: 26.02 MB / 1.234 GB, free: 1.457 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/2.372, allocations: 4 kB / 1.234 GB, free: 1.453 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03135/2.403, allocations: 20.76 MB / 1.254 GB, free: 12.41 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/2.405, allocations: 0.5991 MB / 1.255 GB, free: 11.79 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/2.407, allocations: 17.95 kB / 1.255 GB, free: 11.77 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004235/2.411, allocations: 439.2 kB / 1.255 GB, free: 11.34 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.412, allocations: 275 kB / 1.256 GB, free: 11.08 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000369/2.412, allocations: 102.7 kB / 1.256 GB, free: 10.98 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.006088/2.418, allocations: 3.694 MB / 1.259 GB, free: 7.285 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.8e-07/2.419, allocations: 0 / 1.259 GB, free: 7.285 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.008809/2.427, allocations: 1.814 MB / 1.261 GB, free: 5.477 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 293 * Array equations: 3 * Algorithm blocks: 0 * 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,68.6%) 89} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007738/2.428, allocations: 177.2 kB / 1.261 GB, free: 5.305 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.337/2.765, allocations: 12.03 MB / 1.273 GB, free: 192 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.765, allocations: 3.125 kB / 1.273 GB, free: 192 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.008993/2.774, allocations: 5.746 MB / 1.279 GB, free: 191.8 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004932/2.779, allocations: 0.8467 MB / 1.279 GB, free: 191.8 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/2.803, allocations: 17.36 MB / 1.296 GB, free: 189.2 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00542/2.808, allocations: 5.785 MB / 1.302 GB, free: 188.3 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.007492/2.816, allocations: 3.647 MB / 1.306 GB, free: 188.3 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/2.817, allocations: 390.9 kB / 1.306 GB, free: 188.3 MB / 0.714 GB Notification: Performance of SimCode: time 1.122e-06/2.817, allocations: 0 / 1.306 GB, free: 188.3 MB / 0.714 GB Notification: Performance of Templates: time 0.118/2.935, allocations: 89.42 MB / 1.393 GB, free: 150.6 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches