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.001238/0.001238, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001229/0.001229, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.263/1.263, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.964/0.964, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5352, allocations: 80.69 MB / 0.5697 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01095/0.5462, allocations: 12.31 MB / 0.5818 GB, free: 33.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00932/0.5556, allocations: 4.455 MB / 0.5861 GB, free: 30.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.5589, allocations: 81.41 kB / 0.5862 GB, free: 30.13 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005433/0.5643, allocations: 3.088 MB / 0.5892 GB, free: 28.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006175/0.5706, allocations: 2.142 MB / 0.5913 GB, free: 26.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.573, allocations: 0.9771 MB / 0.5923 GB, free: 25.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008487/0.5815, allocations: 7.067 MB / 0.5992 GB, free: 19.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/0.5864, allocations: 4.899 MB / 0.6039 GB, free: 14.47 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.5901, allocations: 2.091 MB / 0.606 GB, free: 12.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.5943, allocations: 2.8 MB / 0.6087 GB, free: 9.566 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.5956, allocations: 428 kB / 0.6091 GB, free: 9.148 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.5984, allocations: 1.311 MB / 0.6104 GB, free: 7.836 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.6003, allocations: 2.513 MB / 0.6129 GB, free: 5.316 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.6035, allocations: 2.758 MB / 0.6156 GB, free: 2.543 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.6126, allocations: 8.693 MB / 0.624 GB, free: 9.824 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6126, allocations: 0 / 0.624 GB, free: 9.824 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6126, allocations: 0 / 0.624 GB, free: 9.824 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0002864/0.6129, allocations: 0 / 0.624 GB, free: 9.824 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.01544/0.6284, allocations: 6.435 MB / 0.6303 GB, free: 3.309 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6285, allocations: 15.89 kB / 0.6303 GB, free: 3.293 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03642/0.6649, allocations: 5.271 MB / 0.6355 GB, free: 14 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.6768, allocations: 5.009 MB / 0.6404 GB, free: 8.914 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.6771, allocations: 267.2 kB / 0.6406 GB, free: 8.652 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.6788, allocations: 375.7 kB / 0.641 GB, free: 8.285 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/0.6997, allocations: 11.7 MB / 0.6524 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.6999, allocations: 59.48 kB / 0.6525 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005191/0.7005, allocations: 167.9 kB / 0.6526 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003351/0.7038, allocations: 2.077 MB / 0.6547 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.7236, allocations: 10.44 MB / 0.6649 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05562/0.7792, allocations: 43.42 MB / 0.7073 GB, free: 2.414 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.7895, allocations: 4.751 MB / 0.7119 GB, free: 13.52 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003881/0.7934, allocations: 2.907 MB / 0.7147 GB, free: 10.6 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.8096, allocations: 10.29 MB / 0.7248 GB, free: 204 kB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.8097, allocations: 55.81 kB / 0.7248 GB, free: 140 kB / 0.5608 GB Notification: Performance of pre-optimization done (n=186): time 4.348e-06/0.8097, allocations: 0 / 0.7248 GB, free: 140 kB / 0.5608 GB Notification: Performance of matching and sorting (n=218): time 0.07066/0.8804, allocations: 28.2 MB / 0.7524 GB, free: 3.82 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.8805, allocations: 304 kB / 0.7527 GB, free: 3.453 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4752/1.356, allocations: 4.839 MB / 0.7574 GB, free: 162.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005952/1.356, allocations: 58.64 kB / 0.7575 GB, free: 162.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.359, allocations: 3.336 MB / 0.7607 GB, free: 160.7 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.36, allocations: 0.8251 MB / 0.7615 GB, free: 160.1 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00198/1.362, allocations: 1.337 MB / 0.7628 GB, free: 159.5 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/1.362, allocations: 304.9 kB / 0.7631 GB, free: 159.2 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/1.367, allocations: 2.996 MB / 0.766 GB, free: 158.3 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005813/1.372, allocations: 6.527 MB / 0.7724 GB, free: 152.7 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/1.383, allocations: 10.11 MB / 0.7823 GB, free: 145.5 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.383, allocations: 39.09 kB / 0.7823 GB, free: 145.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0172/1.401, allocations: 11.77 MB / 0.7938 GB, free: 140.8 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/1.401, allocations: 56.28 kB / 0.7939 GB, free: 140.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/1.401, allocations: 127.2 kB / 0.794 GB, free: 140.8 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005356/1.406, allocations: 2.67 MB / 0.7966 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/1.41, allocations: 1.54 MB / 0.7981 GB, free: 137.8 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/1.424, allocations: 14.13 MB / 0.8119 GB, free: 123.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/1.43, allocations: 483.1 kB / 0.8124 GB, free: 123.1 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.431, allocations: 371.9 kB / 0.8127 GB, free: 122.7 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.003937/1.435, allocations: 2.602 MB / 0.8153 GB, free: 120.1 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009234/1.436, allocations: 414.7 kB / 0.8157 GB, free: 119.7 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009092/1.445, allocations: 6.627 MB / 0.8221 GB, free: 113.1 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.445, allocations: 24 kB / 0.8221 GB, free: 113 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.445, allocations: 11.38 kB / 0.8222 GB, free: 113 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.445, allocations: 7.969 kB / 0.8222 GB, free: 113 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/1.463, allocations: 13.26 MB / 0.8351 GB, free: 99.69 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.463, allocations: 4 kB / 0.8351 GB, free: 99.68 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.464, allocations: 395.4 kB / 0.8355 GB, free: 99.3 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00495/1.469, allocations: 2.46 MB / 0.8379 GB, free: 96.83 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.47, allocations: 43.98 kB / 0.8379 GB, free: 96.79 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.482, allocations: 13.65 MB / 0.8513 GB, free: 82.99 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.483, allocations: 8 kB / 0.8513 GB, free: 82.98 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.495, allocations: 10.23 MB / 0.8613 GB, free: 72.71 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.496, allocations: 483.7 kB / 0.8617 GB, free: 72.21 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005433/1.496, allocations: 40 kB / 0.8618 GB, free: 72.17 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/1.498, allocations: 259.5 kB / 0.862 GB, free: 71.92 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/1.499, allocations: 125.1 kB / 0.8621 GB, free: 71.8 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.499, allocations: 59.98 kB / 0.8622 GB, free: 71.74 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003426/1.502, allocations: 3.106 MB / 0.8652 GB, free: 68.63 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1e-07/1.502, allocations: 3.938 kB / 0.8652 GB, free: 68.63 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004986/1.507, allocations: 1.309 MB / 0.8665 GB, free: 67.33 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.0004221/1.508, allocations: 179.1 kB / 0.8667 GB, free: 67.15 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.519, allocations: 9.162 MB / 0.8756 GB, free: 58.02 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.519, allocations: 0 / 0.8756 GB, free: 58.02 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.00302/1.522, allocations: 2.671 MB / 0.8782 GB, free: 55.34 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.526, allocations: 0.6284 MB / 0.8788 GB, free: 54.71 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/1.543, allocations: 12.49 MB / 0.891 GB, free: 42.18 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/1.546, allocations: 3.934 MB / 0.8949 GB, free: 38.21 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.004412/1.551, allocations: 2.191 MB / 0.897 GB, free: 36.02 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008107/1.552, allocations: 279.4 kB / 0.8973 GB, free: 35.74 MB / 0.5923 GB Notification: Performance of SimCode: time 1.303e-06/1.552, allocations: 4 kB / 0.8973 GB, free: 35.74 MB / 0.5923 GB Notification: Performance of Templates: time 0.08251/1.634, allocations: 58.15 MB / 0.9541 GB, free: 9.926 MB / 0.6235 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