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.001315/0.001315, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001389/0.001389, allocations: 200 kB / 18.01 MB, free: 5.055 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8935/0.8935, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 66.91 kB / 0.571 GB, free: 39.69 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1365, allocations: 80.7 MB / 0.6498 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01234/0.1488, allocations: 12.34 MB / 0.6618 GB, free: 0.5977 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.008388/0.1572, allocations: 4.431 MB / 0.6662 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1589, allocations: 87.69 kB / 0.6663 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.005097/0.164, allocations: 3.092 MB / 0.6693 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.1687, allocations: 2.136 MB / 0.6714 GB, free: 6.824 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1706, allocations: 0.9827 MB / 0.6723 GB, free: 5.84 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.008442/0.1791, allocations: 7.068 MB / 0.6792 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006588/0.1857, allocations: 4.899 MB / 0.684 GB, free: 9.781 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.1896, allocations: 2.111 MB / 0.6861 GB, free: 7.664 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004338/0.1939, allocations: 2.8 MB / 0.6888 GB, free: 4.855 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/0.1954, allocations: 428 kB / 0.6892 GB, free: 4.438 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.199, allocations: 1.319 MB / 0.6905 GB, free: 3.117 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.2028, allocations: 2.541 MB / 0.693 GB, free: 0.5703 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.00526/0.2081, allocations: 2.762 MB / 0.6957 GB, free: 13.79 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.219, allocations: 8.917 MB / 0.7044 GB, free: 4.848 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.219, allocations: 3.984 kB / 0.7044 GB, free: 4.844 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.803e-06/0.219, allocations: 3.938 kB / 0.7044 GB, free: 4.84 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003102/0.2193, allocations: 0 / 0.7044 GB, free: 4.84 MB / 0.5452 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.0167/0.236, allocations: 6.423 MB / 0.7107 GB, free: 14.34 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2361, allocations: 12.03 kB / 0.7107 GB, free: 14.32 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/0.2741, allocations: 5.275 MB / 0.7158 GB, free: 9.035 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.2859, allocations: 5.106 MB / 0.7208 GB, free: 3.848 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.2862, allocations: 263.2 kB / 0.7211 GB, free: 3.59 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.2878, allocations: 383.7 kB / 0.7214 GB, free: 3.215 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.3108, allocations: 11.7 MB / 0.7329 GB, free: 6.801 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/0.3111, allocations: 59.5 kB / 0.7329 GB, free: 6.742 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.3124, allocations: 167.9 kB / 0.7331 GB, free: 6.578 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.3161, allocations: 2.08 MB / 0.7351 GB, free: 4.496 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.3382, allocations: 10.43 MB / 0.7453 GB, free: 10.04 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6294/0.9676, allocations: 43.2 MB / 0.7875 GB, free: 79.74 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.9788, allocations: 4.752 MB / 0.7921 GB, free: 79.07 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003965/0.9828, allocations: 2.91 MB / 0.795 GB, free: 78.14 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/0.9996, allocations: 10.28 MB / 0.805 GB, free: 74.14 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.9997, allocations: 57.97 kB / 0.8051 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=186): time 5.03e-06/0.9997, allocations: 0 / 0.8051 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of matching and sorting (n=218): time 0.06122/1.061, allocations: 28.21 MB / 0.8326 GB, free: 55.21 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/1.061, allocations: 308 kB / 0.8329 GB, free: 54.84 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006318/1.067, allocations: 4.839 MB / 0.8376 GB, free: 49.98 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0002487/1.068, allocations: 57.7 kB / 0.8377 GB, free: 49.92 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.069, allocations: 3.332 MB / 0.8409 GB, free: 46.59 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/1.07, allocations: 0.8317 MB / 0.8417 GB, free: 45.77 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/1.071, allocations: 1.336 MB / 0.843 GB, free: 44.43 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.071, allocations: 305.1 kB / 0.8433 GB, free: 44.12 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/1.074, allocations: 3.005 MB / 0.8463 GB, free: 41.12 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00432/1.078, allocations: 6.525 MB / 0.8526 GB, free: 32.93 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/1.087, allocations: 10.1 MB / 0.8625 GB, free: 21.17 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.087, allocations: 32 kB / 0.8625 GB, free: 21.14 MB / 0.6079 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01608/1.103, allocations: 11.78 MB / 0.874 GB, free: 9.344 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.103, allocations: 56.94 kB / 0.8741 GB, free: 9.289 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/1.103, allocations: 125.7 kB / 0.8742 GB, free: 9.168 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/1.109, allocations: 2.665 MB / 0.8768 GB, free: 6.496 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/1.113, allocations: 1.532 MB / 0.8783 GB, free: 4.961 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/1.131, allocations: 14.13 MB / 0.8921 GB, free: 6.684 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005414/1.136, allocations: 475.2 kB / 0.8926 GB, free: 6.219 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.137, allocations: 368.6 kB / 0.8929 GB, free: 5.859 MB / 0.6235 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.005194/1.142, allocations: 2.608 MB / 0.8955 GB, free: 3.246 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.144, allocations: 406.8 kB / 0.8959 GB, free: 2.844 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.156, allocations: 6.635 MB / 0.9023 GB, free: 12.19 MB / 0.6392 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-05/1.156, allocations: 23.91 kB / 0.9024 GB, free: 12.17 MB / 0.6392 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/1.156, allocations: 15.94 kB / 0.9024 GB, free: 12.16 MB / 0.6392 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/1.156, allocations: 11.95 kB / 0.9024 GB, free: 12.14 MB / 0.6392 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/1.184, allocations: 13.2 MB / 0.9153 GB, free: 14.86 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/1.184, allocations: 3.938 kB / 0.9153 GB, free: 14.86 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.186, allocations: 391.4 kB / 0.9157 GB, free: 14.47 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006124/1.192, allocations: 2.463 MB / 0.9181 GB, free: 12 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003302/1.193, allocations: 40 kB / 0.9181 GB, free: 11.96 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.21, allocations: 13.65 MB / 0.9314 GB, free: 14.18 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.21, allocations: 7.906 kB / 0.9314 GB, free: 14.18 MB / 0.6704 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.227, allocations: 10.22 MB / 0.9414 GB, free: 3.883 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.228, allocations: 483.7 kB / 0.9419 GB, free: 3.387 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.229, allocations: 43.98 kB / 0.9419 GB, free: 3.344 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.232, allocations: 255.6 kB / 0.9422 GB, free: 3.09 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000596/1.233, allocations: 133 kB / 0.9423 GB, free: 2.957 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.233, allocations: 59.28 kB / 0.9423 GB, free: 2.902 MB / 0.6704 GB Notification: Performance of sorting global known variables: time 0.006658/1.24, allocations: 3.109 MB / 0.9454 GB, free: 15.79 MB / 0.686 GB Notification: Performance of sort global known variables: time 4.7e-07/1.24, allocations: 0 / 0.9454 GB, free: 15.79 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.007197/1.247, allocations: 1.31 MB / 0.9467 GB, free: 14.49 MB / 0.686 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.000849/1.248, allocations: 181.2 kB / 0.9468 GB, free: 14.31 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.26, allocations: 7.117 MB / 0.9538 GB, free: 7.207 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.26, allocations: 5.312 kB / 0.9538 GB, free: 7.203 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.004219/1.264, allocations: 2.67 MB / 0.9564 GB, free: 4.516 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/1.269, allocations: 0.6493 MB / 0.957 GB, free: 3.895 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.292, allocations: 12.34 MB / 0.9691 GB, free: 7.5 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008404/1.301, allocations: 3.937 MB / 0.9729 GB, free: 3.531 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.00577/1.306, allocations: 2.189 MB / 0.9751 GB, free: 1.336 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.308, allocations: 279.3 kB / 0.9753 GB, free: 1.062 MB / 0.7017 GB Notification: Performance of SimCode: time 2.495e-06/1.308, allocations: 3.938 kB / 0.9753 GB, free: 1.059 MB / 0.7017 GB Notification: Performance of Templates: time 0.09507/1.403, allocations: 54.88 MB / 1.029 GB, free: 10.52 MB / 0.7642 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches