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.001249/0.001249, allocations: 112 kB / 17.69 MB, free: 5.094 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.001232/0.001232, allocations: 191 kB / 18.63 MB, free: 4.25 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.274/1.274, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9031/0.9031, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4548, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.009509/0.4644, allocations: 12.33 MB / 0.5832 GB, free: 33.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.008695/0.4731, allocations: 4.456 MB / 0.5875 GB, free: 30.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.4755, allocations: 81.38 kB / 0.5876 GB, free: 30.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004829/0.4803, allocations: 3.089 MB / 0.5906 GB, free: 28.25 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.485, allocations: 2.138 MB / 0.5927 GB, free: 26.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4869, allocations: 0.9727 MB / 0.5937 GB, free: 26.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006943/0.4938, allocations: 7.057 MB / 0.6006 GB, free: 19.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/0.4977, allocations: 4.897 MB / 0.6054 GB, free: 14.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.5001, allocations: 2.091 MB / 0.6074 GB, free: 12.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.5026, allocations: 2.796 MB / 0.6101 GB, free: 9.473 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000637/0.5033, allocations: 428 kB / 0.6105 GB, free: 9.055 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.5052, allocations: 1.319 MB / 0.6118 GB, free: 7.734 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.5068, allocations: 2.513 MB / 0.6143 GB, free: 5.215 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.5093, allocations: 2.754 MB / 0.617 GB, free: 2.445 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008536/0.5178, allocations: 8.921 MB / 0.6257 GB, free: 9.496 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5179, allocations: 0 / 0.6257 GB, free: 9.496 MB / 478.3 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5179, allocations: 4 kB / 0.6257 GB, free: 9.492 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.000288/0.5182, allocations: 0 / 0.6257 GB, free: 9.492 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.01484/0.533, allocations: 6.431 MB / 0.632 GB, free: 2.98 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5331, allocations: 11.89 kB / 0.632 GB, free: 2.969 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03193/0.565, allocations: 5.271 MB / 0.6371 GB, free: 13.68 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.5758, allocations: 5.106 MB / 0.6421 GB, free: 8.492 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.576, allocations: 267.2 kB / 0.6424 GB, free: 8.23 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008999/0.5769, allocations: 371.8 kB / 0.6427 GB, free: 7.867 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5929, allocations: 11.7 MB / 0.6541 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.5931, allocations: 67.48 kB / 0.6542 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.5935, allocations: 167.9 kB / 0.6544 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.5966, allocations: 2.076 MB / 0.6564 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.6127, allocations: 10.44 MB / 0.6666 GB, free: 14.68 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04602/0.6588, allocations: 43.21 MB / 0.7088 GB, free: 2.191 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009044/0.6678, allocations: 4.77 MB / 0.7135 GB, free: 13.28 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.6711, allocations: 2.892 MB / 0.7163 GB, free: 10.38 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01523/0.6863, allocations: 10.28 MB / 0.7263 GB, free: 15.98 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.6864, allocations: 55.88 kB / 0.7264 GB, free: 15.91 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=186): time 4.889e-06/0.6864, allocations: 3.938 kB / 0.7264 GB, free: 15.91 MB / 0.5764 GB Notification: Performance of matching and sorting (n=218): time 0.06039/0.7468, allocations: 28.2 MB / 0.7539 GB, free: 3.594 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.747, allocations: 304 kB / 0.7542 GB, free: 3.227 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4776/1.225, allocations: 4.834 MB / 0.7589 GB, free: 162.9 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006261/1.225, allocations: 61.86 kB / 0.759 GB, free: 162.8 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/1.228, allocations: 3.331 MB / 0.7622 GB, free: 161 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.23, allocations: 0.8241 MB / 0.763 GB, free: 160.4 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/1.232, allocations: 1.337 MB / 0.7643 GB, free: 159.7 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/1.232, allocations: 303.6 kB / 0.7646 GB, free: 159.4 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.236, allocations: 3 MB / 0.7676 GB, free: 158.6 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/1.242, allocations: 6.531 MB / 0.7739 GB, free: 153 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/1.252, allocations: 10.11 MB / 0.7838 GB, free: 145.8 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001215/1.252, allocations: 34.34 kB / 0.7838 GB, free: 145.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01621/1.268, allocations: 11.77 MB / 0.7953 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/1.268, allocations: 57.09 kB / 0.7954 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.715e-05/1.268, allocations: 123.4 kB / 0.7955 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/1.273, allocations: 2.666 MB / 0.7981 GB, free: 139.1 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/1.277, allocations: 1.532 MB / 0.7996 GB, free: 137.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.291, allocations: 14.13 MB / 0.8134 GB, free: 123.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005477/1.296, allocations: 483.1 kB / 0.8139 GB, free: 122.8 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.297, allocations: 367.3 kB / 0.8142 GB, free: 122.5 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.00431/1.302, allocations: 2.606 MB / 0.8168 GB, free: 119.9 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.303, allocations: 406.8 kB / 0.8172 GB, free: 119.5 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.313, allocations: 6.635 MB / 0.8236 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/1.314, allocations: 23.42 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.314, allocations: 8 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/1.314, allocations: 11.97 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.334, allocations: 13.22 MB / 0.8366 GB, free: 99.47 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.334, allocations: 240 / 0.8366 GB, free: 99.47 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.336, allocations: 395.4 kB / 0.837 GB, free: 99.08 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00484/1.341, allocations: 2.456 MB / 0.8394 GB, free: 96.62 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/1.341, allocations: 39.98 kB / 0.8394 GB, free: 96.58 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.355, allocations: 13.65 MB / 0.8527 GB, free: 82.79 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.355, allocations: 5.781 kB / 0.8527 GB, free: 82.79 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.367, allocations: 10.23 MB / 0.8627 GB, free: 72.5 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.369, allocations: 483.7 kB / 0.8632 GB, free: 72 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.37, allocations: 36 kB / 0.8632 GB, free: 71.96 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/1.372, allocations: 265.7 kB / 0.8635 GB, free: 71.71 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004636/1.373, allocations: 121.1 kB / 0.8636 GB, free: 71.59 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.373, allocations: 71.69 kB / 0.8637 GB, free: 71.52 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003515/1.376, allocations: 3.109 MB / 0.8667 GB, free: 68.41 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.3e-07/1.376, allocations: 0 / 0.8667 GB, free: 68.41 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.004813/1.381, allocations: 1.304 MB / 0.868 GB, free: 67.11 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.0004137/1.382, allocations: 176.6 kB / 0.8681 GB, free: 66.94 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.008004/1.39, allocations: 7.125 MB / 0.8751 GB, free: 59.82 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.39, allocations: 1.312 kB / 0.8751 GB, free: 59.82 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/1.392, allocations: 2.682 MB / 0.8777 GB, free: 57.13 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/1.396, allocations: 0.6399 MB / 0.8783 GB, free: 56.5 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.412, allocations: 12.34 MB / 0.8904 GB, free: 44.12 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.415, allocations: 3.941 MB / 0.8942 GB, free: 40.14 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.003731/1.419, allocations: 2.191 MB / 0.8964 GB, free: 37.95 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/1.419, allocations: 275.4 kB / 0.8966 GB, free: 37.68 MB / 0.5923 GB Notification: Performance of SimCode: time 1.583e-06/1.419, allocations: 0 / 0.8966 GB, free: 37.68 MB / 0.5923 GB Notification: Performance of Templates: time 0.4463/1.866, allocations: 52.73 MB / 0.9481 GB, free: 1.34 MB / 0.6079 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins1/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