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.001028/0.001028, allocations: 111.5 kB / 16.51 MB, free: 6.715 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.001006/0.001006, allocations: 189.9 kB / 17.43 MB, free: 6.066 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.253/1.253, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9594/0.9594, allocations: 119.3 MB / 410.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4954, allocations: 80.68 MB / 0.569 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.03928/0.5347, allocations: 57.8 MB / 0.6255 GB, free: 7.922 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.02658/0.5613, allocations: 12.09 MB / 0.6373 GB, free: 11.79 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.5727, allocations: 259.3 kB / 0.6375 GB, free: 11.54 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005746/0.5784, allocations: 3.086 MB / 0.6406 GB, free: 8.441 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005004/0.5835, allocations: 2.013 MB / 0.6425 GB, free: 6.422 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.5854, allocations: 0.901 MB / 0.6434 GB, free: 5.52 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.0108/0.5963, allocations: 9.855 MB / 0.653 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005669/0.602, allocations: 4.67 MB / 0.6576 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.6051, allocations: 1.818 MB / 0.6594 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.6091, allocations: 2.936 MB / 0.6622 GB, free: 2.137 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.61, allocations: 284 kB / 0.6625 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.6125, allocations: 1.248 MB / 0.6637 GB, free: 0.6094 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.6151, allocations: 2.388 MB / 0.6661 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.6184, allocations: 2.602 MB / 0.6686 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.6265, allocations: 8.56 MB / 0.677 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6265, allocations: 0 / 0.677 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6265, allocations: 0 / 0.677 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0002166/0.6267, allocations: 0 / 0.677 GB, free: 3.012 MB / 0.5139 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.01384/0.6406, allocations: 6.439 MB / 0.6832 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.6407, allocations: 12.03 kB / 0.6833 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03445/0.6751, allocations: 5.271 MB / 0.6884 GB, free: 7.195 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.6867, allocations: 5.009 MB / 0.6933 GB, free: 2.105 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.687, allocations: 263.2 kB / 0.6935 GB, free: 1.848 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.6881, allocations: 375.8 kB / 0.6939 GB, free: 1.48 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.7081, allocations: 11.7 MB / 0.7053 GB, free: 5.062 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.7083, allocations: 55.5 kB / 0.7054 GB, free: 5.008 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006315/0.709, allocations: 167.9 kB / 0.7055 GB, free: 4.844 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/0.7124, allocations: 2.088 MB / 0.7076 GB, free: 2.742 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.7316, allocations: 10.43 MB / 0.7178 GB, free: 8.293 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5434/1.275, allocations: 43.42 MB / 0.7602 GB, free: 142 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.285, allocations: 4.749 MB / 0.7648 GB, free: 141.3 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/1.289, allocations: 2.906 MB / 0.7676 GB, free: 141.3 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01563/1.304, allocations: 10.29 MB / 0.7777 GB, free: 137.4 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.304, allocations: 54.78 kB / 0.7777 GB, free: 137.4 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 4.739e-06/1.304, allocations: 0 / 0.7777 GB, free: 137.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.05931/1.364, allocations: 28.21 MB / 0.8053 GB, free: 117.9 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/1.364, allocations: 311.6 kB / 0.8056 GB, free: 117.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00588/1.37, allocations: 4.84 MB / 0.8103 GB, free: 112.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005095/1.37, allocations: 57.7 kB / 0.8104 GB, free: 112.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.372, allocations: 3.324 MB / 0.8136 GB, free: 109.3 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009356/1.373, allocations: 0.8341 MB / 0.8144 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/1.375, allocations: 1.328 MB / 0.8157 GB, free: 107.1 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/1.375, allocations: 305.1 kB / 0.816 GB, free: 106.8 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.378, allocations: 2.999 MB / 0.8189 GB, free: 103.8 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/1.383, allocations: 6.532 MB / 0.8253 GB, free: 95.71 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009433/1.393, allocations: 10.1 MB / 0.8352 GB, free: 84.16 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.393, allocations: 36 kB / 0.8352 GB, free: 84.12 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01839/1.411, allocations: 11.77 MB / 0.8467 GB, free: 72.34 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/1.412, allocations: 60 kB / 0.8468 GB, free: 72.28 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001246/1.412, allocations: 120 kB / 0.8469 GB, free: 72.16 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/1.417, allocations: 2.661 MB / 0.8495 GB, free: 69.49 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.422, allocations: 1.54 MB / 0.851 GB, free: 67.95 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.436, allocations: 13.26 MB / 0.8639 GB, free: 54.55 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.441, allocations: 482.1 kB / 0.8644 GB, free: 54.08 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/1.442, allocations: 375.4 kB / 0.8648 GB, free: 53.71 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.004189/1.446, allocations: 2.607 MB / 0.8673 GB, free: 51.1 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009801/1.447, allocations: 418.7 kB / 0.8677 GB, free: 50.69 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/1.457, allocations: 6.627 MB / 0.8742 GB, free: 44.04 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/1.457, allocations: 24 kB / 0.8742 GB, free: 44.02 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.457, allocations: 8 kB / 0.8742 GB, free: 44.01 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/1.457, allocations: 15.95 kB / 0.8742 GB, free: 44 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/1.478, allocations: 13.25 MB / 0.8872 GB, free: 30.66 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.478, allocations: 7.984 kB / 0.8872 GB, free: 30.65 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.48, allocations: 399.3 kB / 0.8875 GB, free: 30.26 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005138/1.485, allocations: 2.46 MB / 0.8899 GB, free: 27.8 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.485, allocations: 39.98 kB / 0.89 GB, free: 27.76 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.498, allocations: 12.8 MB / 0.9025 GB, free: 14.82 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.498, allocations: 4 kB / 0.9025 GB, free: 14.82 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/1.511, allocations: 10.22 MB / 0.9125 GB, free: 4.535 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.512, allocations: 483.7 kB / 0.9129 GB, free: 4.039 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009011/1.513, allocations: 44 kB / 0.913 GB, free: 3.996 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.515, allocations: 255 kB / 0.9132 GB, free: 3.75 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005798/1.516, allocations: 137 kB / 0.9133 GB, free: 3.617 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.516, allocations: 52 kB / 0.9134 GB, free: 3.566 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.004204/1.52, allocations: 3.113 MB / 0.9164 GB, free: 464 kB / 0.5923 GB Notification: Performance of sort global known variables: time 3.21e-07/1.52, allocations: 2.906 kB / 0.9164 GB, free: 464 kB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005764/1.526, allocations: 1.302 MB / 0.9177 GB, free: 15.15 MB / 0.6079 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.0006139/1.527, allocations: 186.2 kB / 0.9179 GB, free: 14.96 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.538, allocations: 7.088 MB / 0.9248 GB, free: 7.891 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.538, allocations: 5.312 kB / 0.9248 GB, free: 7.887 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.542, allocations: 2.674 MB / 0.9274 GB, free: 5.199 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004465/1.547, allocations: 0.6021 MB / 0.928 GB, free: 4.598 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/1.569, allocations: 14.73 MB / 0.9424 GB, free: 5.816 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005551/1.575, allocations: 3.947 MB / 0.9463 GB, free: 1.84 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.005514/1.58, allocations: 2.183 MB / 0.9484 GB, free: 15.65 MB / 0.6392 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.581, allocations: 275.3 kB / 0.9487 GB, free: 15.38 MB / 0.6392 GB Notification: Performance of SimCode: time 7.31e-07/1.582, allocations: 0 / 0.9487 GB, free: 15.38 MB / 0.6392 GB Notification: Performance of Templates: time 0.09398/1.675, allocations: 56.12 MB / 1.003 GB, free: 7.543 MB / 0.686 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches