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.001198/0.001198, allocations: 114.5 kB / 17.07 MB, free: 6.016 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.001212/0.001212, allocations: 191 kB / 18 MB, free: 5.098 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9982/0.9982, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 57.48 kB / 0.571 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1739, allocations: 80.69 MB / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01437/0.1883, allocations: 12.32 MB / 0.6618 GB, free: 0.5977 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1986, allocations: 4.447 MB / 0.6662 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.2016, allocations: 79.75 kB / 0.6662 GB, free: 12.06 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.006395/0.208, allocations: 3.084 MB / 0.6693 GB, free: 8.965 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.2152, allocations: 2.159 MB / 0.6714 GB, free: 6.801 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.2181, allocations: 0.971 MB / 0.6723 GB, free: 5.828 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.2301, allocations: 7.064 MB / 0.6792 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007792/0.238, allocations: 4.907 MB / 0.684 GB, free: 9.766 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.2427, allocations: 2.087 MB / 0.686 GB, free: 7.672 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/0.2477, allocations: 2.796 MB / 0.6888 GB, free: 4.867 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.2494, allocations: 428 kB / 0.6892 GB, free: 4.449 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.2532, allocations: 1.319 MB / 0.6905 GB, free: 3.133 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.003689/0.2569, allocations: 2.513 MB / 0.6929 GB, free: 0.6133 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.005376/0.2623, allocations: 2.754 MB / 0.6956 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.2744, allocations: 8.959 MB / 0.7044 GB, free: 4.852 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2744, allocations: 0 / 0.7044 GB, free: 4.852 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2744, allocations: 0 / 0.7044 GB, free: 4.852 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.000361/0.2748, allocations: 0 / 0.7044 GB, free: 4.852 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.01842/0.2932, allocations: 6.583 MB / 0.7108 GB, free: 14.18 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.2933, allocations: 23.81 kB / 0.7108 GB, free: 14.16 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03733/0.3306, allocations: 5.306 MB / 0.716 GB, free: 8.84 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.3448, allocations: 5.12 MB / 0.721 GB, free: 3.641 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.3452, allocations: 267.2 kB / 0.7212 GB, free: 3.379 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.347, allocations: 367.9 kB / 0.7216 GB, free: 3.02 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.372, allocations: 11.7 MB / 0.733 GB, free: 6.602 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003931/0.3724, allocations: 63.53 kB / 0.7331 GB, free: 6.539 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.374, allocations: 167.9 kB / 0.7332 GB, free: 6.375 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003899/0.3779, allocations: 2.076 MB / 0.7353 GB, free: 4.297 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.4, allocations: 10.43 MB / 0.7455 GB, free: 9.84 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6728/1.073, allocations: 43.27 MB / 0.7877 GB, free: 80.02 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/1.084, allocations: 4.759 MB / 0.7924 GB, free: 79.08 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/1.088, allocations: 2.901 MB / 0.7952 GB, free: 78.04 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/1.102, allocations: 10.29 MB / 0.8053 GB, free: 74.07 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.102, allocations: 62.36 kB / 0.8053 GB, free: 74.02 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=186): time 4.889e-06/1.102, allocations: 3.906 kB / 0.8053 GB, free: 74.02 MB / 0.6079 GB Notification: Performance of matching and sorting (n=218): time 0.06545/1.168, allocations: 28.47 MB / 0.8331 GB, free: 55.19 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/1.168, allocations: 308 kB / 0.8334 GB, free: 54.82 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007117/1.175, allocations: 4.855 MB / 0.8382 GB, free: 50.03 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0005236/1.176, allocations: 61.06 kB / 0.8382 GB, free: 49.97 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/1.178, allocations: 3.455 MB / 0.8416 GB, free: 46.8 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.179, allocations: 0.8577 MB / 0.8424 GB, free: 45.95 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003055/1.182, allocations: 1.349 MB / 0.8437 GB, free: 44.59 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.062e-05/1.182, allocations: 302.8 kB / 0.844 GB, free: 44.3 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/1.186, allocations: 3.005 MB / 0.847 GB, free: 41.29 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005398/1.191, allocations: 6.531 MB / 0.8533 GB, free: 33.09 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009507/1.201, allocations: 10.1 MB / 0.8632 GB, free: 21.32 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.201, allocations: 32 kB / 0.8632 GB, free: 21.29 MB / 0.6079 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02009/1.221, allocations: 11.81 MB / 0.8748 GB, free: 9.469 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/1.221, allocations: 59.94 kB / 0.8748 GB, free: 9.41 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/1.221, allocations: 124 kB / 0.8749 GB, free: 9.289 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/1.227, allocations: 2.662 MB / 0.8775 GB, free: 6.621 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.231, allocations: 1.536 MB / 0.879 GB, free: 5.082 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/1.25, allocations: 14.13 MB / 0.8928 GB, free: 6.812 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/1.256, allocations: 479.4 kB / 0.8933 GB, free: 6.344 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.257, allocations: 375.9 kB / 0.8937 GB, free: 5.977 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.005692/1.263, allocations: 2.608 MB / 0.8962 GB, free: 3.367 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.265, allocations: 437.1 kB / 0.8966 GB, free: 2.938 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.278, allocations: 6.633 MB / 0.9031 GB, free: 12.29 MB / 0.6392 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/1.278, allocations: 27.09 kB / 0.9031 GB, free: 12.27 MB / 0.6392 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-05/1.278, allocations: 8 kB / 0.9031 GB, free: 12.26 MB / 0.6392 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/1.278, allocations: 11.95 kB / 0.9031 GB, free: 12.25 MB / 0.6392 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.306, allocations: 13.2 MB / 0.916 GB, free: 14.96 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.306, allocations: 4 kB / 0.916 GB, free: 14.95 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.307, allocations: 395.6 kB / 0.9164 GB, free: 14.57 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006087/1.313, allocations: 2.455 MB / 0.9188 GB, free: 12.11 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/1.314, allocations: 44.88 kB / 0.9188 GB, free: 12.06 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/1.332, allocations: 13.66 MB / 0.9322 GB, free: 14.27 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.332, allocations: 11.94 kB / 0.9322 GB, free: 14.26 MB / 0.6704 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.348, allocations: 10.24 MB / 0.9422 GB, free: 3.957 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.35, allocations: 0.4904 MB / 0.9427 GB, free: 3.441 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.351, allocations: 36 kB / 0.9427 GB, free: 3.406 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002517/1.353, allocations: 259.6 kB / 0.943 GB, free: 3.152 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/1.354, allocations: 137 kB / 0.9431 GB, free: 3.016 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.354, allocations: 56 kB / 0.9431 GB, free: 2.961 MB / 0.6704 GB Notification: Performance of sorting global known variables: time 0.005771/1.36, allocations: 3.103 MB / 0.9462 GB, free: 15.86 MB / 0.686 GB Notification: Performance of sort global known variables: time 3.11e-07/1.36, allocations: 0 / 0.9462 GB, free: 15.86 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.006435/1.366, allocations: 1.312 MB / 0.9475 GB, free: 14.55 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.0006559/1.367, allocations: 188 kB / 0.9476 GB, free: 14.36 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.379, allocations: 7.138 MB / 0.9546 GB, free: 7.242 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.379, allocations: 4 kB / 0.9546 GB, free: 7.238 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/1.384, allocations: 2.667 MB / 0.9572 GB, free: 4.559 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005808/1.389, allocations: 0.6441 MB / 0.9578 GB, free: 3.934 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/1.415, allocations: 12.51 MB / 0.9701 GB, free: 7.359 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/1.419, allocations: 3.934 MB / 0.9739 GB, free: 3.395 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.005102/1.424, allocations: 2.202 MB / 0.9761 GB, free: 1.184 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/1.425, allocations: 275.4 kB / 0.9763 GB, free: 0.9141 MB / 0.7017 GB Notification: Performance of SimCode: time 1.382e-06/1.425, allocations: 0 / 0.9763 GB, free: 0.9141 MB / 0.7017 GB Notification: Performance of Templates: time 0.09254/1.518, allocations: 54.88 MB / 1.03 GB, free: 10.34 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