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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009776/0.0009777, allocations: 190.9 kB / 16.62 MB, free: 5.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3421/0.3421, allocations: 225.7 MB / 243.1 MB, free: 4.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 107.5 kB / 293.3 MB, free: 11.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.4134/0.4134, allocations: 119.5 MB / 462.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008655/0.0008655, allocations: 55.91 kB / 0.5414 GB, free: 10.64 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1034, allocations: 80.7 MB / 0.6202 GB, free: 9.824 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.4327/0.5361, allocations: 57.79 MB / 0.6766 GB, free: 15.5 MB / 474.9 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.5568, allocations: 12.09 MB / 0.6884 GB, free: 7.441 MB / 474.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007406/0.5643, allocations: 262.2 kB / 0.6887 GB, free: 7.395 MB / 474.9 MB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.5688, allocations: 3.123 MB / 0.6917 GB, free: 5.508 MB / 474.9 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.5723, allocations: 2.006 MB / 0.6937 GB, free: 4.113 MB / 474.9 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.5737, allocations: 0.9196 MB / 0.6946 GB, free: 3.527 MB / 474.9 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.58, allocations: 7.62 MB / 0.702 GB, free: 15.39 MB / 490.9 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.584, allocations: 5.128 MB / 0.707 GB, free: 10.22 MB / 490.9 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.5858, allocations: 2.138 MB / 0.7091 GB, free: 8.074 MB / 490.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002428/0.5883, allocations: 3.108 MB / 0.7121 GB, free: 4.957 MB / 490.9 MB Notification: Performance of NFPackage.collectConstants: time 0.0004543/0.5887, allocations: 432 kB / 0.7126 GB, free: 4.535 MB / 490.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.5902, allocations: 1.327 MB / 0.7138 GB, free: 3.207 MB / 490.9 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.5918, allocations: 2.556 MB / 0.7163 GB, free: 0.6445 MB / 490.9 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.5935, allocations: 2.782 MB / 0.7191 GB, free: 13.84 MB / 0.495 GB Notification: Performance of NFConvertDAE.convert: time 0.005293/0.5988, allocations: 8.739 MB / 0.7276 GB, free: 5.082 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5988, allocations: 4 kB / 0.7276 GB, free: 5.078 MB / 0.495 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5988, allocations: 0 / 0.7276 GB, free: 5.078 MB / 0.495 GB Notification: Performance of Transformations before backend: time 4.811e-05/0.5989, allocations: 0 / 0.7276 GB, free: 5.078 MB / 0.495 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.008342/0.6072, allocations: 6.435 MB / 0.7339 GB, free: 14.56 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.6073, allocations: 11.97 kB / 0.7339 GB, free: 14.55 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02851/0.6358, allocations: 5.279 MB / 0.7391 GB, free: 9.254 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007411/0.6432, allocations: 5.001 MB / 0.7439 GB, free: 4.172 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.6434, allocations: 275.5 kB / 0.7442 GB, free: 3.902 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/0.6439, allocations: 363.7 kB / 0.7445 GB, free: 3.547 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.6563, allocations: 11.7 MB / 0.756 GB, free: 7.129 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.6564, allocations: 59.48 kB / 0.756 GB, free: 7.07 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.6568, allocations: 167.9 kB / 0.7562 GB, free: 6.906 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002717/0.6595, allocations: 2.076 MB / 0.7582 GB, free: 4.816 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.6728, allocations: 10.44 MB / 0.7684 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/0.7073, allocations: 43.42 MB / 0.8108 GB, free: 13.68 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/0.7151, allocations: 4.752 MB / 0.8155 GB, free: 8.773 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.7178, allocations: 2.903 MB / 0.8183 GB, free: 5.863 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.7291, allocations: 10.28 MB / 0.8283 GB, free: 11.47 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.7292, allocations: 55.88 kB / 0.8284 GB, free: 11.41 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=186): time 3.326e-06/0.7292, allocations: 0 / 0.8284 GB, free: 11.41 MB / 0.6044 GB Notification: Performance of matching and sorting (n=218): time 0.05354/0.7827, allocations: 28.2 MB / 0.8559 GB, free: 15.09 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.7828, allocations: 308.3 kB / 0.8562 GB, free: 14.71 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/0.7875, allocations: 4.84 MB / 0.861 GB, free: 9.859 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.7877, allocations: 57.7 kB / 0.861 GB, free: 9.797 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.7894, allocations: 3.337 MB / 0.8643 GB, free: 6.414 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.79, allocations: 0.8175 MB / 0.8651 GB, free: 5.586 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/0.7914, allocations: 1.34 MB / 0.8664 GB, free: 4.234 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.7915, allocations: 305.1 kB / 0.8667 GB, free: 3.934 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00332/0.7948, allocations: 3.002 MB / 0.8696 GB, free: 0.9258 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00492/0.7997, allocations: 6.528 MB / 0.876 GB, free: 8.668 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008904/0.8087, allocations: 10.1 MB / 0.8858 GB, free: 12.87 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/0.8087, allocations: 36 kB / 0.8859 GB, free: 12.83 MB / 0.6669 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01541/0.8241, allocations: 11.77 MB / 0.8974 GB, free: 1.043 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.8242, allocations: 62.03 kB / 0.8974 GB, free: 0.9844 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.893e-05/0.8243, allocations: 120 kB / 0.8975 GB, free: 0.8672 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4023/1.227, allocations: 2.661 MB / 0.9001 GB, free: 226.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.231, allocations: 1.538 MB / 0.9016 GB, free: 226.8 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.245, allocations: 13.27 MB / 0.9146 GB, free: 222.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/1.249, allocations: 475.8 kB / 0.9151 GB, free: 222.4 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/1.25, allocations: 370.5 kB / 0.9154 GB, free: 222.4 MB / 0.6671 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.002632/1.252, allocations: 2.604 MB / 0.9179 GB, free: 221.4 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.253, allocations: 415.9 kB / 0.9183 GB, free: 221.4 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008699/1.262, allocations: 6.625 MB / 0.9248 GB, free: 219.6 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/1.262, allocations: 27.16 kB / 0.9248 GB, free: 219.6 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.262, allocations: 11.66 kB / 0.9249 GB, free: 219.6 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.262, allocations: 11.39 kB / 0.9249 GB, free: 219.6 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.276, allocations: 13.26 MB / 0.9378 GB, free: 213.8 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.276, allocations: 0 / 0.9378 GB, free: 213.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.278, allocations: 397.1 kB / 0.9382 GB, free: 213.7 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/1.282, allocations: 2.473 MB / 0.9406 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/1.282, allocations: 35.88 kB / 0.9406 GB, free: 212.5 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/1.293, allocations: 12.78 MB / 0.9531 GB, free: 200.9 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.293, allocations: 12.89 kB / 0.9531 GB, free: 200.9 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.304, allocations: 10.22 MB / 0.9631 GB, free: 190.9 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/1.304, allocations: 486.5 kB / 0.9636 GB, free: 190.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/1.304, allocations: 40 kB / 0.9636 GB, free: 190.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.306, allocations: 258.9 kB / 0.9639 GB, free: 190.2 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.306, allocations: 133 kB / 0.964 GB, free: 190.1 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.306, allocations: 59.94 kB / 0.964 GB, free: 190 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.002606/1.309, allocations: 3.109 MB / 0.9671 GB, free: 186.9 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.2e-07/1.309, allocations: 0 / 0.9671 GB, free: 186.9 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.003289/1.312, allocations: 1.3 MB / 0.9684 GB, free: 185.6 MB / 0.6671 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.0003091/1.313, allocations: 188.3 kB / 0.9685 GB, free: 185.4 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.00619/1.319, allocations: 7.095 MB / 0.9755 GB, free: 178.4 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.319, allocations: 9.125 kB / 0.9755 GB, free: 178.4 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.002447/1.321, allocations: 2.672 MB / 0.9781 GB, free: 175.7 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/1.323, allocations: 0.6012 MB / 0.9787 GB, free: 175.1 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.335, allocations: 14.72 MB / 0.993 GB, free: 160.4 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/1.338, allocations: 3.941 MB / 0.9969 GB, free: 156.5 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.003495/1.341, allocations: 2.191 MB / 0.999 GB, free: 154.3 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/1.342, allocations: 282.9 kB / 0.9993 GB, free: 154 MB / 0.6671 GB Notification: Performance of SimCode: time 2.5e-07/1.342, allocations: 0 / 0.9993 GB, free: 154 MB / 0.6671 GB Notification: Performance of Templates: time 0.02858/1.37, allocations: 58.37 MB / 1.056 GB, free: 95.97 MB / 0.6671 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches