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.001406/0.001407, allocations: 108 kB / 16.92 MB, free: 6.332 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.0015/0.0015, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.281/1.281, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9456/0.9456, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001388, allocations: 63.91 kB / 0.491 GB, free: 13.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5427, allocations: 80.67 MB / 0.5697 GB, free: 43.56 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01033/0.5531, allocations: 12.33 MB / 0.5818 GB, free: 33.86 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.5617, allocations: 4.446 MB / 0.5861 GB, free: 30.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.564, allocations: 86.62 kB / 0.5862 GB, free: 30.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.5687, allocations: 3.088 MB / 0.5892 GB, free: 28.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.5739, allocations: 2.138 MB / 0.5913 GB, free: 26.74 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5758, allocations: 0.9797 MB / 0.5923 GB, free: 26.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007475/0.5833, allocations: 7.057 MB / 0.5992 GB, free: 19.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003825/0.5872, allocations: 4.891 MB / 0.6039 GB, free: 14.66 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.5896, allocations: 2.103 MB / 0.606 GB, free: 12.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.5919, allocations: 2.792 MB / 0.6087 GB, free: 9.746 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0006134/0.5925, allocations: 428 kB / 0.6091 GB, free: 9.328 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.5945, allocations: 1.319 MB / 0.6104 GB, free: 8.008 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.5959, allocations: 2.51 MB / 0.6129 GB, free: 5.492 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.5978, allocations: 2.758 MB / 0.6156 GB, free: 2.719 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.6049, allocations: 8.689 MB / 0.624 GB, free: 10 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.6049, allocations: 8 kB / 0.6241 GB, free: 9.996 MB / 478.3 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6049, allocations: 0 / 0.6241 GB, free: 9.996 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.000166/0.6051, allocations: 4 kB / 0.6241 GB, free: 9.992 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.01367/0.6188, allocations: 6.427 MB / 0.6303 GB, free: 3.484 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.6189, allocations: 11.89 kB / 0.6303 GB, free: 3.473 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.037/0.6559, allocations: 5.275 MB / 0.6355 GB, free: 14.18 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.6688, allocations: 5.016 MB / 0.6404 GB, free: 9.082 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.6691, allocations: 271.2 kB / 0.6407 GB, free: 8.816 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.6707, allocations: 371.8 kB / 0.641 GB, free: 8.453 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.6924, allocations: 11.69 MB / 0.6524 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.6927, allocations: 63.48 kB / 0.6525 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/0.6932, allocations: 167.9 kB / 0.6526 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/0.6969, allocations: 2.076 MB / 0.6547 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.7171, allocations: 10.45 MB / 0.6649 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06153/0.7787, allocations: 43.42 MB / 0.7073 GB, free: 2.582 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.7897, allocations: 4.756 MB / 0.7119 GB, free: 13.68 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/0.7937, allocations: 2.9 MB / 0.7148 GB, free: 10.77 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/0.8112, allocations: 10.28 MB / 0.7248 GB, free: 388 kB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/0.8113, allocations: 63.8 kB / 0.7249 GB, free: 316 kB / 0.5608 GB Notification: Performance of pre-optimization done (n=186): time 5.049e-06/0.8114, allocations: 0 / 0.7249 GB, free: 316 kB / 0.5608 GB Notification: Performance of matching and sorting (n=218): time 0.07151/0.8829, allocations: 28.21 MB / 0.7524 GB, free: 3.984 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.8831, allocations: 304 kB / 0.7527 GB, free: 3.617 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5219/1.405, allocations: 4.837 MB / 0.7574 GB, free: 162.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006331/1.406, allocations: 58.55 kB / 0.7575 GB, free: 162.7 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002831/1.409, allocations: 3.335 MB / 0.7607 GB, free: 160.9 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.41, allocations: 0.8186 MB / 0.7615 GB, free: 160.3 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002206/1.412, allocations: 1.335 MB / 0.7628 GB, free: 159.7 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/1.412, allocations: 305.8 kB / 0.7631 GB, free: 159.4 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004447/1.416, allocations: 3.004 MB / 0.7661 GB, free: 158.5 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/1.422, allocations: 6.528 MB / 0.7724 GB, free: 152.9 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.433, allocations: 10.11 MB / 0.7823 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/1.434, allocations: 35.66 kB / 0.7823 GB, free: 145.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02001/1.454, allocations: 11.77 MB / 0.7938 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/1.454, allocations: 56.62 kB / 0.7939 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002673/1.454, allocations: 120 kB / 0.794 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/1.46, allocations: 2.674 MB / 0.7966 GB, free: 139.7 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/1.465, allocations: 1.536 MB / 0.7981 GB, free: 138.1 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/1.481, allocations: 14.13 MB / 0.8119 GB, free: 123.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/1.487, allocations: 489.3 kB / 0.8124 GB, free: 123.4 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.488, allocations: 364 kB / 0.8127 GB, free: 123 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.005285/1.493, allocations: 2.603 MB / 0.8153 GB, free: 120.4 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.495, allocations: 406.8 kB / 0.8157 GB, free: 120 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.506, allocations: 6.639 MB / 0.8221 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/1.506, allocations: 24 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/1.506, allocations: 8 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/1.506, allocations: 10.59 kB / 0.8222 GB, free: 113.3 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/1.529, allocations: 13.26 MB / 0.8351 GB, free: 99.96 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.529, allocations: 4 kB / 0.8351 GB, free: 99.95 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.531, allocations: 395.7 kB / 0.8355 GB, free: 99.57 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005225/1.536, allocations: 2.464 MB / 0.8379 GB, free: 97.09 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/1.536, allocations: 36 kB / 0.8379 GB, free: 97.05 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.55, allocations: 13.65 MB / 0.8513 GB, free: 83.26 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.55, allocations: 8.031 kB / 0.8513 GB, free: 83.25 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.563, allocations: 10.23 MB / 0.8613 GB, free: 72.97 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.564, allocations: 479.7 kB / 0.8617 GB, free: 72.48 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/1.565, allocations: 39.98 kB / 0.8618 GB, free: 72.44 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.567, allocations: 262.9 kB / 0.862 GB, free: 72.18 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004386/1.567, allocations: 125.3 kB / 0.8621 GB, free: 72.06 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.567, allocations: 63.98 kB / 0.8622 GB, free: 72 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003472/1.571, allocations: 3.102 MB / 0.8652 GB, free: 68.9 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.21e-07/1.571, allocations: 0 / 0.8652 GB, free: 68.9 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004836/1.576, allocations: 1.303 MB / 0.8665 GB, free: 67.6 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.0004175/1.576, allocations: 196.7 kB / 0.8667 GB, free: 67.41 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.587, allocations: 9.146 MB / 0.8756 GB, free: 58.29 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.587, allocations: 0 / 0.8756 GB, free: 58.29 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/1.59, allocations: 2.68 MB / 0.8782 GB, free: 55.59 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.594, allocations: 0.6378 MB / 0.8789 GB, free: 54.97 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.61, allocations: 12.48 MB / 0.8911 GB, free: 42.44 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.614, allocations: 3.934 MB / 0.8949 GB, free: 38.48 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.004542/1.618, allocations: 2.195 MB / 0.897 GB, free: 36.27 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/1.619, allocations: 271.4 kB / 0.8973 GB, free: 36.01 MB / 0.5923 GB Notification: Performance of SimCode: time 5.91e-07/1.619, allocations: 0 / 0.8973 GB, free: 36.01 MB / 0.5923 GB Notification: Performance of Templates: time 0.08307/1.702, allocations: 58.16 MB / 0.9541 GB, free: 10.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins1/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