Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.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_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 180.3 kB / 16.38 MB, free: 5.762 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.336/1.336, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009147/0.0009147, allocations: 94.48 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7799/0.7799, allocations: 120.5 MB / 463 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003159, allocations: 4 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 82.85 MB / 0.6242 GB, free: 9.234 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/0.9214, allocations: 146.7 MB / 0.7675 GB, free: 3.445 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.9217, allocations: 73.97 kB / 0.7676 GB, free: 3.41 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.2667/1.188, allocations: 104.9 MB / 0.87 GB, free: 8.648 MB / 0.62 GB Notification: Performance of FrontEnd: time 3.426e-06/1.189, allocations: 0 / 0.87 GB, free: 8.648 MB / 0.62 GB Notification: Performance of Transformations before backend: time 0.0004201/1.189, allocations: 103.9 kB / 0.8701 GB, free: 8.547 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1588 * Number of variables: 1588 Notification: Performance of Generate backend data structure: time 0.0188/1.208, allocations: 5.906 MB / 0.8759 GB, free: 2.988 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.208, allocations: 12.03 kB / 0.8759 GB, free: 2.977 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03342/1.241, allocations: 9.226 MB / 0.8849 GB, free: 10.69 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/1.26, allocations: 7.757 MB / 0.8925 GB, free: 4.441 MB / 0.6357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/1.261, allocations: 344 kB / 0.8928 GB, free: 4.227 MB / 0.6357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/1.263, allocations: 463.5 kB / 0.8932 GB, free: 3.898 MB / 0.6357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/1.286, allocations: 11.75 MB / 0.9047 GB, free: 10.04 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/1.286, allocations: 75.3 kB / 0.9048 GB, free: 9.965 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009403/1.287, allocations: 218.3 kB / 0.905 GB, free: 9.875 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001298/1.288, allocations: 1.021 MB / 0.906 GB, free: 9 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/1.306, allocations: 9.981 MB / 0.9157 GB, free: 1.566 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.621/1.927, allocations: 48.87 MB / 0.9635 GB, free: 156.6 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.939, allocations: 4.821 MB / 0.9682 GB, free: 155.9 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01897/1.958, allocations: 9.79 MB / 0.9777 GB, free: 154.9 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/1.958, allocations: 60.14 kB / 0.9778 GB, free: 154.8 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=186): time 5.921e-06/1.958, allocations: 5.344 kB / 0.9778 GB, free: 154.8 MB / 0.6828 GB Notification: Performance of matching and sorting (n=217): time 0.05294/2.011, allocations: 25.78 MB / 1.003 GB, free: 151.1 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/2.011, allocations: 309 kB / 1.003 GB, free: 150.8 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/2.016, allocations: 4.243 MB / 1.007 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/2.017, allocations: 55.81 kB / 1.007 GB, free: 150.4 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/2.018, allocations: 3.409 MB / 1.011 GB, free: 148.9 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/2.019, allocations: 0.8229 MB / 1.012 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/2.019, allocations: 112.4 kB / 1.012 GB, free: 148.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002378/2.019, allocations: 0.5649 MB / 1.012 GB, free: 148.1 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/2.022, allocations: 2.613 MB / 1.015 GB, free: 148.1 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004139/2.026, allocations: 6.084 MB / 1.021 GB, free: 143.4 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/2.031, allocations: 3.957 MB / 1.025 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/2.031, allocations: 31.16 kB / 1.025 GB, free: 142.2 MB / 0.6828 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01417/2.045, allocations: 10.15 MB / 1.035 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/2.045, allocations: 57.23 kB / 1.035 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/2.045, allocations: 122.2 kB / 1.035 GB, free: 139.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/2.049, allocations: 1.864 MB / 1.037 GB, free: 139.4 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/2.053, allocations: 1.361 MB / 1.038 GB, free: 139.2 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/2.065, allocations: 11.52 MB / 1.049 GB, free: 134.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005242/2.07, allocations: 427.9 kB / 1.05 GB, free: 134.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007083/2.071, allocations: 354.5 kB / 1.05 GB, free: 134.6 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[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[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (706): * Single equations (assignments): 702 * 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 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004204/2.075, allocations: 2.596 MB / 1.052 GB, free: 133.5 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/2.076, allocations: 419.8 kB / 1.053 GB, free: 133.3 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00817/2.084, allocations: 5.448 MB / 1.058 GB, free: 130.5 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/2.084, allocations: 25.48 kB / 1.058 GB, free: 130.4 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/2.084, allocations: 8 kB / 1.058 GB, free: 130.4 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/2.084, allocations: 10.12 kB / 1.058 GB, free: 130.4 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/2.103, allocations: 11.94 MB / 1.07 GB, free: 121 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/2.103, allocations: 0 / 1.07 GB, free: 121 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/2.105, allocations: 353.2 kB / 1.07 GB, free: 120.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003679/2.108, allocations: 1.663 MB / 1.072 GB, free: 119.6 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/2.108, allocations: 43.95 kB / 1.072 GB, free: 119.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/2.121, allocations: 11.14 MB / 1.083 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.121, allocations: 4 kB / 1.083 GB, free: 110.5 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/2.133, allocations: 9.083 MB / 1.092 GB, free: 102.7 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/2.134, allocations: 471.6 kB / 1.092 GB, free: 102.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/2.135, allocations: 43.23 kB / 1.092 GB, free: 102.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/2.136, allocations: 209 kB / 1.092 GB, free: 102 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/2.137, allocations: 129.1 kB / 1.092 GB, free: 101.8 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/2.137, allocations: 63.27 kB / 1.092 GB, free: 101.8 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.004561/2.142, allocations: 3.042 MB / 1.095 GB, free: 98.75 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.4e-07/2.142, allocations: 0 / 1.095 GB, free: 98.75 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.006115/2.148, allocations: 1.222 MB / 1.097 GB, free: 97.54 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005124/2.148, allocations: 194.5 kB / 1.097 GB, free: 97.34 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.007788/2.156, allocations: 6.329 MB / 1.103 GB, free: 91.06 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.156, allocations: 0 / 1.103 GB, free: 91.06 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/2.159, allocations: 2.475 MB / 1.105 GB, free: 88.58 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/2.162, allocations: 0.6282 MB / 1.106 GB, free: 88 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/2.179, allocations: 13.79 MB / 1.119 GB, free: 74.32 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/2.183, allocations: 4.038 MB / 1.123 GB, free: 70.27 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.004504/2.187, allocations: 2.184 MB / 1.126 GB, free: 68.09 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006867/2.188, allocations: 279.4 kB / 1.126 GB, free: 67.82 MB / 0.6828 GB Notification: Performance of SimCode: time 1.052e-06/2.188, allocations: 0 / 1.126 GB, free: 67.82 MB / 0.6828 GB Notification: Performance of Templates: time 0.07394/2.262, allocations: 50.65 MB / 1.175 GB, free: 18.21 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches