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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001053, allocations: 91.88 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.065/1.065, allocations: 120.5 MB / 413.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 15.98 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.5619, allocations: 82.84 MB / 0.5758 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.04264/0.6046, allocations: 56.35 MB / 0.6308 GB, free: 5.906 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.02954/0.6342, allocations: 12.03 MB / 0.6426 GB, free: 9.828 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01383/0.648, allocations: 251.4 kB / 0.6428 GB, free: 9.582 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.6501, allocations: 453.7 kB / 0.6432 GB, free: 9.137 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.6559, allocations: 2.024 MB / 0.6452 GB, free: 7.105 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.6583, allocations: 0.901 MB / 0.6461 GB, free: 6.203 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.6701, allocations: 9.851 MB / 0.6557 GB, free: 12.33 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009744/0.6799, allocations: 6.314 MB / 0.6619 GB, free: 5.926 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.6835, allocations: 1.521 MB / 0.6634 GB, free: 4.398 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004507/0.6881, allocations: 2.581 MB / 0.6659 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.6893, allocations: 172 kB / 0.6661 GB, free: 1.641 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.6922, allocations: 1.131 MB / 0.6672 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.003221/0.6955, allocations: 2.22 MB / 0.6693 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004392/0.6999, allocations: 2.412 MB / 0.6717 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.7105, allocations: 8.316 MB / 0.6798 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.7105, allocations: 4 kB / 0.6798 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7105, allocations: 0 / 0.6798 GB, free: 3.5 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003625/0.7109, allocations: 0 / 0.6798 GB, free: 3.5 MB / 0.5139 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.01472/0.7257, allocations: 5.375 MB / 0.6851 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7257, allocations: 12.03 kB / 0.6851 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04034/0.7661, allocations: 5.365 MB / 0.6903 GB, free: 8.656 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.7788, allocations: 5.024 MB / 0.6952 GB, free: 3.551 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.7791, allocations: 259.2 kB / 0.6955 GB, free: 3.297 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.7808, allocations: 375.8 kB / 0.6958 GB, free: 2.93 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.8051, allocations: 11.72 MB / 0.7073 GB, free: 6.492 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003297/0.8055, allocations: 63.48 kB / 0.7073 GB, free: 6.43 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/0.8071, allocations: 163.9 kB / 0.7075 GB, free: 6.27 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003925/0.811, allocations: 2.08 MB / 0.7095 GB, free: 4.184 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/0.8337, allocations: 10.47 MB / 0.7197 GB, free: 9.688 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6232/1.457, allocations: 43.46 MB / 0.7622 GB, free: 154.5 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/1.469, allocations: 4.771 MB / 0.7668 GB, free: 153.9 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004411/1.473, allocations: 2.908 MB / 0.7697 GB, free: 153.8 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.489, allocations: 10.28 MB / 0.7797 GB, free: 150 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/1.489, allocations: 62.81 kB / 0.7798 GB, free: 149.9 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 6.192e-06/1.489, allocations: 1.625 kB / 0.7798 GB, free: 149.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.06958/1.559, allocations: 28.22 MB / 0.8073 GB, free: 129.7 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.559, allocations: 308 kB / 0.8076 GB, free: 129.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009137/1.568, allocations: 4.84 MB / 0.8124 GB, free: 124.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0007113/1.569, allocations: 58.64 kB / 0.8124 GB, free: 124.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.571, allocations: 3.333 MB / 0.8157 GB, free: 121.1 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.573, allocations: 0.8222 MB / 0.8165 GB, free: 120.2 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/1.575, allocations: 0.5665 MB / 0.817 GB, free: 119.7 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/1.575, allocations: 305.1 kB / 0.8173 GB, free: 119.4 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004826/1.58, allocations: 2.999 MB / 0.8202 GB, free: 116.4 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00654/1.586, allocations: 6.535 MB / 0.8266 GB, free: 108.3 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.597, allocations: 10.09 MB / 0.8365 GB, free: 96.59 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.597, allocations: 36 kB / 0.8365 GB, free: 96.55 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02292/1.62, allocations: 11.78 MB / 0.848 GB, free: 84.75 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002151/1.62, allocations: 63.92 kB / 0.8481 GB, free: 84.69 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.621, allocations: 124.1 kB / 0.8482 GB, free: 84.57 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/1.627, allocations: 2.658 MB / 0.8508 GB, free: 81.9 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/1.632, allocations: 1.544 MB / 0.8523 GB, free: 80.36 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01642/1.649, allocations: 13.28 MB / 0.8653 GB, free: 66.93 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006402/1.655, allocations: 475.2 kB / 0.8657 GB, free: 66.47 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001508/1.657, allocations: 374 kB / 0.8661 GB, free: 66.11 MB / 0.5923 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (762): * Single equations (assignments): 758 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,39,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006183/1.663, allocations: 2.6 MB / 0.8686 GB, free: 63.5 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.665, allocations: 410.7 kB / 0.869 GB, free: 63.09 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.677, allocations: 6.642 MB / 0.8755 GB, free: 56.43 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/1.677, allocations: 26.44 kB / 0.8755 GB, free: 56.41 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/1.677, allocations: 11.94 kB / 0.8755 GB, free: 56.4 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/1.677, allocations: 11.95 kB / 0.8755 GB, free: 56.39 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.703, allocations: 13.26 MB / 0.8885 GB, free: 43.04 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.189e-05/1.704, allocations: 4 kB / 0.8885 GB, free: 43.04 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.705, allocations: 395.3 kB / 0.8889 GB, free: 42.65 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005619/1.711, allocations: 2.468 MB / 0.8913 GB, free: 40.18 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/1.711, allocations: 44 kB / 0.8913 GB, free: 40.13 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.726, allocations: 12.8 MB / 0.9038 GB, free: 27.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.726, allocations: 7.938 kB / 0.9038 GB, free: 27.19 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.742, allocations: 10.21 MB / 0.9138 GB, free: 16.91 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.743, allocations: 495.6 kB / 0.9143 GB, free: 16.41 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.745, allocations: 39.98 kB / 0.9143 GB, free: 16.37 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.748, allocations: 264.3 kB / 0.9146 GB, free: 16.11 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007598/1.749, allocations: 129.1 kB / 0.9147 GB, free: 15.98 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003533/1.749, allocations: 65.17 kB / 0.9147 GB, free: 15.92 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005819/1.755, allocations: 3.106 MB / 0.9178 GB, free: 12.82 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.222e-06/1.755, allocations: 0 / 0.9178 GB, free: 12.82 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007675/1.763, allocations: 1.303 MB / 0.9191 GB, free: 11.52 MB / 0.5923 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 (159): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009451/1.764, allocations: 180.1 kB / 0.9192 GB, free: 11.34 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.775, allocations: 7.091 MB / 0.9261 GB, free: 4.266 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.775, allocations: 4 kB / 0.9262 GB, free: 4.262 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.004212/1.779, allocations: 2.675 MB / 0.9288 GB, free: 1.574 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007673/1.787, allocations: 0.6031 MB / 0.9294 GB, free: 0.9727 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/1.814, allocations: 14.84 MB / 0.9438 GB, free: 2.07 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007409/1.822, allocations: 3.934 MB / 0.9477 GB, free: 14.11 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.007073/1.829, allocations: 2.191 MB / 0.9498 GB, free: 11.91 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.831, allocations: 275.4 kB / 0.9501 GB, free: 11.64 MB / 0.6235 GB Notification: Performance of SimCode: time 1.854e-06/1.831, allocations: 0 / 0.9501 GB, free: 11.64 MB / 0.6235 GB Notification: Performance of Templates: time 0.1022/1.933, allocations: 54.87 MB / 1.004 GB, free: 5.059 MB / 0.6704 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