Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001511/0.001511, allocations: 179.5 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.313/1.313, allocations: 221.4 MB / 235.5 MB, free: 2.879 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.000862/0.000862, allocations: 95.8 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8939/0.8939, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.348e-05, allocations: 0 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.521/0.521, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8303/1.351, allocations: 146.7 MB / 0.7598 GB, free: 42.32 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/1.352, allocations: 75.8 kB / 0.7599 GB, free: 42.32 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.3649/1.717, allocations: 146.8 MB / 0.9033 GB, free: 13.56 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.764e-06/1.717, allocations: 3.938 kB / 0.9033 GB, free: 13.55 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0005782/1.717, allocations: 144 kB / 0.9034 GB, free: 13.41 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: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.02687/1.744, allocations: 8.268 MB / 0.9115 GB, free: 5.629 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.744, allocations: 8.031 kB / 0.9115 GB, free: 5.621 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05708/1.801, allocations: 14.58 MB / 0.9257 GB, free: 8.605 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03768/1.839, allocations: 11.88 MB / 0.9373 GB, free: 15.12 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/1.839, allocations: 496.3 kB / 0.9378 GB, free: 14.81 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00321/1.843, allocations: 0.6629 MB / 0.9385 GB, free: 14.34 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/1.88, allocations: 16.99 MB / 0.9551 GB, free: 216 kB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/1.881, allocations: 103 kB / 0.9552 GB, free: 116 kB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/1.882, allocations: 310.4 kB / 0.9555 GB, free: 15.98 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.885, allocations: 1.424 MB / 0.9568 GB, free: 14.78 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02948/1.914, allocations: 14.68 MB / 0.9712 GB, free: 3.629 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4836/2.398, allocations: 68.31 MB / 1.038 GB, free: 125.2 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/2.416, allocations: 8.476 MB / 1.046 GB, free: 124.5 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/2.422, allocations: 5.12 MB / 1.051 GB, free: 124.5 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02558/2.447, allocations: 17.7 MB / 1.068 GB, free: 123.1 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/2.447, allocations: 68.33 kB / 1.069 GB, free: 123.1 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 6.102e-06/2.447, allocations: 6.016 kB / 1.069 GB, free: 123.1 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1257/2.573, allocations: 52.95 MB / 1.12 GB, free: 115.7 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.573, allocations: 429 kB / 1.121 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008708/2.582, allocations: 5.924 MB / 1.126 GB, free: 113.4 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0009697/2.583, allocations: 84.83 kB / 1.127 GB, free: 113.3 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002845/2.586, allocations: 4.607 MB / 1.131 GB, free: 110.3 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001789/2.588, allocations: 1.437 MB / 1.132 GB, free: 109.2 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005784/2.588, allocations: 162 kB / 1.133 GB, free: 109.1 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003547/2.589, allocations: 0.6512 MB / 1.133 GB, free: 108.6 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005998/2.595, allocations: 4.814 MB / 1.138 GB, free: 104.8 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008552/2.603, allocations: 8.972 MB / 1.147 GB, free: 94.9 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009/2.612, allocations: 6.671 MB / 1.153 GB, free: 89.79 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/2.612, allocations: 40 kB / 1.153 GB, free: 89.75 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.03292/2.645, allocations: 18.45 MB / 1.171 GB, free: 75.79 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/2.645, allocations: 69.56 kB / 1.171 GB, free: 75.73 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/2.646, allocations: 140 kB / 1.171 GB, free: 75.59 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/2.658, allocations: 5.304 MB / 1.177 GB, free: 71.98 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006646/2.665, allocations: 1.867 MB / 1.178 GB, free: 70.42 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04012/2.705, allocations: 28.57 MB / 1.206 GB, free: 43.58 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008647/2.713, allocations: 0.7369 MB / 1.207 GB, free: 42.84 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00215/2.716, allocations: 455.9 kB / 1.208 GB, free: 42.4 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * 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 (924): * Single equations (assignments): 920 * 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 {(7,81.6%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002589/2.718, allocations: 0.7079 MB / 1.208 GB, free: 41.69 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/2.72, allocations: 0.594 MB / 1.209 GB, free: 41.09 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02182/2.742, allocations: 13.36 MB / 1.222 GB, free: 27.69 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.249e-05/2.742, allocations: 40 kB / 1.222 GB, free: 27.65 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/2.742, allocations: 20 kB / 1.222 GB, free: 27.63 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/2.742, allocations: 19.88 kB / 1.222 GB, free: 27.61 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04273/2.785, allocations: 25.81 MB / 1.247 GB, free: 1.66 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/2.785, allocations: 6.938 kB / 1.247 GB, free: 1.656 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/2.788, allocations: 0.6454 MB / 1.248 GB, free: 1.012 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/2.801, allocations: 5.051 MB / 1.253 GB, free: 11.98 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/2.802, allocations: 77.94 kB / 1.253 GB, free: 11.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4458/3.248, allocations: 28.2 MB / 1.28 GB, free: 180.5 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/3.248, allocations: 7.969 kB / 1.28 GB, free: 180.5 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03289/3.281, allocations: 20.27 MB / 1.3 GB, free: 179.1 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/3.283, allocations: 0.6459 MB / 1.301 GB, free: 179 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/3.285, allocations: 79.36 kB / 1.301 GB, free: 179 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004214/3.289, allocations: 0.4931 MB / 1.301 GB, free: 179 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/3.29, allocations: 262.1 kB / 1.302 GB, free: 179 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003196/3.291, allocations: 100.4 kB / 1.302 GB, free: 179 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.006471/3.297, allocations: 4.318 MB / 1.306 GB, free: 178.7 MB / 0.714 GB Notification: Performance of sort global known variables: time 2.81e-07/3.297, allocations: 0 / 1.306 GB, free: 178.7 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.008859/3.306, allocations: 2.021 MB / 1.308 GB, free: 178.7 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (280): * Single equations (assignments): 276 * 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 {(9,75.3%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/3.307, allocations: 233.6 kB / 1.308 GB, free: 178.6 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01747/3.325, allocations: 11.81 MB / 1.32 GB, free: 178.4 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/3.325, allocations: 6.531 kB / 1.32 GB, free: 178.4 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.008307/3.333, allocations: 5.528 MB / 1.325 GB, free: 178.1 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/3.339, allocations: 0.9774 MB / 1.326 GB, free: 178.1 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/3.369, allocations: 17.15 MB / 1.343 GB, free: 175.6 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007851/3.377, allocations: 5.761 MB / 1.348 GB, free: 174.7 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.009353/3.386, allocations: 3.54 MB / 1.352 GB, free: 174.6 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/3.388, allocations: 393.9 kB / 1.352 GB, free: 174.6 MB / 0.714 GB Notification: Performance of SimCode: time 1.913e-06/3.388, allocations: 0 / 1.352 GB, free: 174.6 MB / 0.714 GB Notification: Performance of Templates: time 0.156/3.544, allocations: 96.87 MB / 1.447 GB, free: 111.8 MB / 0.714 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches