Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001373/0.001373, allocations: 104 kB / 16.92 MB, free: 5.793 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.001357/0.001357, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.31/1.31, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9444/0.9444, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.491 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5209, allocations: 80.68 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01088/0.5318, allocations: 12.32 MB / 0.5818 GB, free: 33.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.009692/0.5415, allocations: 4.458 MB / 0.5861 GB, free: 30.16 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.545, allocations: 85.31 kB / 0.5862 GB, free: 30.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005335/0.5504, allocations: 3.085 MB / 0.5892 GB, free: 28.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.5564, allocations: 2.142 MB / 0.5913 GB, free: 26.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.5586, allocations: 0.973 MB / 0.5923 GB, free: 25.89 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008456/0.5671, allocations: 7.062 MB / 0.5992 GB, free: 19.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005501/0.5726, allocations: 4.903 MB / 0.6039 GB, free: 14.48 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.576, allocations: 2.087 MB / 0.606 GB, free: 12.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003595/0.5796, allocations: 2.8 MB / 0.6087 GB, free: 9.582 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001493/0.5811, allocations: 428 kB / 0.6091 GB, free: 9.164 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.5843, allocations: 1.311 MB / 0.6104 GB, free: 7.852 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.5871, allocations: 2.506 MB / 0.6129 GB, free: 5.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.592, allocations: 2.766 MB / 0.6156 GB, free: 2.559 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009715/0.6017, allocations: 8.697 MB / 0.624 GB, free: 9.836 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.6018, allocations: 0 / 0.624 GB, free: 9.836 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6018, allocations: 0 / 0.624 GB, free: 9.836 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0003605/0.6021, allocations: 0 / 0.624 GB, free: 9.836 MB / 478.3 MB 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.01775/0.6199, allocations: 6.435 MB / 0.6303 GB, free: 3.32 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.62, allocations: 11.89 kB / 0.6303 GB, free: 3.309 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03735/0.6573, allocations: 5.279 MB / 0.6355 GB, free: 14.01 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.6723, allocations: 5.005 MB / 0.6404 GB, free: 8.926 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/0.6728, allocations: 267.2 kB / 0.6406 GB, free: 8.664 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.6752, allocations: 371.8 kB / 0.641 GB, free: 8.301 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/0.6994, allocations: 11.7 MB / 0.6524 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.6997, allocations: 59.48 kB / 0.6525 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/0.7011, allocations: 167.9 kB / 0.6526 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003818/0.7049, allocations: 2.076 MB / 0.6547 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.7261, allocations: 10.43 MB / 0.6649 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06136/0.7875, allocations: 43.42 MB / 0.7073 GB, free: 2.434 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.7985, allocations: 4.76 MB / 0.7119 GB, free: 13.53 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00407/0.8026, allocations: 2.903 MB / 0.7147 GB, free: 10.61 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01821/0.8209, allocations: 10.29 MB / 0.7248 GB, free: 220 kB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.821, allocations: 55.81 kB / 0.7248 GB, free: 156 kB / 0.5608 GB Notification: Performance of pre-optimization done (n=186): time 5.74e-06/0.821, allocations: 0 / 0.7248 GB, free: 156 kB / 0.5608 GB Notification: Performance of matching and sorting (n=218): time 0.07296/0.8939, allocations: 28.21 MB / 0.7524 GB, free: 3.824 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.8941, allocations: 304 kB / 0.7527 GB, free: 3.457 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5167/1.411, allocations: 4.835 MB / 0.7574 GB, free: 162.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006237/1.411, allocations: 57.77 kB / 0.7575 GB, free: 162.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.414, allocations: 3.332 MB / 0.7607 GB, free: 160.7 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.416, allocations: 0.8284 MB / 0.7615 GB, free: 160.1 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002138/1.418, allocations: 1.331 MB / 0.7628 GB, free: 159.4 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/1.418, allocations: 301.7 kB / 0.7631 GB, free: 159.1 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/1.422, allocations: 3.002 MB / 0.766 GB, free: 158.3 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/1.427, allocations: 6.533 MB / 0.7724 GB, free: 152.7 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.438, allocations: 10.1 MB / 0.7823 GB, free: 145.5 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.438, allocations: 31.34 kB / 0.7823 GB, free: 145.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0166/1.454, allocations: 11.78 MB / 0.7938 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/1.454, allocations: 58.34 kB / 0.7939 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.833e-05/1.455, allocations: 123.2 kB / 0.794 GB, free: 140.9 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005215/1.46, allocations: 2.67 MB / 0.7966 GB, free: 139.5 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.464, allocations: 1.544 MB / 0.7981 GB, free: 137.9 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.477, allocations: 14.12 MB / 0.8119 GB, free: 123.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/1.482, allocations: 491.1 kB / 0.8124 GB, free: 123.2 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007521/1.483, allocations: 364 kB / 0.8127 GB, free: 122.8 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.00374/1.487, allocations: 2.611 MB / 0.8153 GB, free: 120.2 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.488, allocations: 410.8 kB / 0.8157 GB, free: 119.8 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/1.498, allocations: 6.623 MB / 0.8221 GB, free: 113.1 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/1.498, allocations: 27.59 kB / 0.8221 GB, free: 113.1 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.498, allocations: 8 kB / 0.8222 GB, free: 113.1 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.498, allocations: 11.97 kB / 0.8222 GB, free: 113.1 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02092/1.519, allocations: 13.26 MB / 0.8351 GB, free: 99.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.519, allocations: 8.031 kB / 0.8351 GB, free: 99.74 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.52, allocations: 395.4 kB / 0.8355 GB, free: 99.35 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005014/1.525, allocations: 2.46 MB / 0.8379 GB, free: 96.88 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/1.525, allocations: 43.98 kB / 0.8379 GB, free: 96.84 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/1.539, allocations: 13.65 MB / 0.8513 GB, free: 83.05 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.539, allocations: 3.938 kB / 0.8513 GB, free: 83.05 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/1.552, allocations: 10.23 MB / 0.8613 GB, free: 72.77 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.553, allocations: 487.7 kB / 0.8617 GB, free: 72.27 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.554, allocations: 37.97 kB / 0.8618 GB, free: 72.23 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.557, allocations: 255.5 kB / 0.862 GB, free: 71.98 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004818/1.557, allocations: 137.1 kB / 0.8621 GB, free: 71.85 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.558, allocations: 60 kB / 0.8622 GB, free: 71.79 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005139/1.563, allocations: 3.102 MB / 0.8652 GB, free: 68.69 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.41e-07/1.563, allocations: 0 / 0.8652 GB, free: 68.69 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005848/1.569, allocations: 1.307 MB / 0.8665 GB, free: 67.39 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.0005308/1.569, allocations: 189.2 kB / 0.8667 GB, free: 67.2 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.581, allocations: 9.141 MB / 0.8756 GB, free: 58.09 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.581, allocations: 448 / 0.8756 GB, free: 58.09 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003098/1.584, allocations: 2.679 MB / 0.8782 GB, free: 55.4 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.588, allocations: 0.6465 MB / 0.8789 GB, free: 54.76 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/1.607, allocations: 12.48 MB / 0.891 GB, free: 42.23 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.61, allocations: 3.931 MB / 0.8949 GB, free: 38.27 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.004197/1.615, allocations: 2.195 MB / 0.897 GB, free: 36.07 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/1.615, allocations: 271.4 kB / 0.8973 GB, free: 35.8 MB / 0.5923 GB Notification: Performance of SimCode: time 9.11e-07/1.615, allocations: 4 kB / 0.8973 GB, free: 35.8 MB / 0.5923 GB Notification: Performance of Templates: time 0.08565/1.701, allocations: 58.15 MB / 0.9541 GB, free: 9.984 MB / 0.6235 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches