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.0009794/0.0009793, allocations: 95 kB / 16.3 MB, free: 5.996 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.001016/0.001016, allocations: 188.2 kB / 17.2 MB, free: 5.91 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.346/1.346, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7667/0.7667, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12 kB / 0.4942 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1821, allocations: 82.84 MB / 0.5751 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.5436/0.7258, allocations: 49.48 MB / 0.6234 GB, free: 1.555 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.7564, allocations: 12.02 MB / 0.6351 GB, free: 9.145 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01249/0.7689, allocations: 252.7 kB / 0.6354 GB, free: 9.102 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00927/0.7782, allocations: 2.467 MB / 0.6378 GB, free: 7.27 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.02445/0.8027, allocations: 7.255 MB / 0.6449 GB, free: 1.129 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.8068, allocations: 0.8238 MB / 0.6457 GB, free: 312 kB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.09667/0.9035, allocations: 71.58 MB / 0.7156 GB, free: 8.648 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00835/0.9119, allocations: 5.44 MB / 0.7209 GB, free: 3.145 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.9151, allocations: 1.367 MB / 0.7222 GB, free: 1.773 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.918, allocations: 1.811 MB / 0.724 GB, free: 15.95 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.0007243/0.9187, allocations: 176 kB / 0.7241 GB, free: 15.78 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.9208, allocations: 0.948 MB / 0.7251 GB, free: 14.84 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.9229, allocations: 2.03 MB / 0.7271 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.924, allocations: 0.9946 MB / 0.728 GB, free: 11.8 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.007368/0.9314, allocations: 7.396 MB / 0.7353 GB, free: 4.383 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9314, allocations: 0 / 0.7353 GB, free: 4.383 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9315, allocations: 0 / 0.7353 GB, free: 4.383 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0002594/0.9317, allocations: 3.938 kB / 0.7353 GB, free: 4.379 MB / 0.5608 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.01769/0.9494, allocations: 6.069 MB / 0.7412 GB, free: 14.23 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9495, allocations: 8.031 kB / 0.7412 GB, free: 14.22 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2442/1.194, allocations: 31.98 MB / 0.7724 GB, free: 14.19 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/1.208, allocations: 5.112 MB / 0.7774 GB, free: 9 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/1.208, allocations: 266.8 kB / 0.7777 GB, free: 8.738 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/1.21, allocations: 371.7 kB / 0.778 GB, free: 8.375 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.236, allocations: 11.59 MB / 0.7893 GB, free: 12.07 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/1.237, allocations: 63.44 kB / 0.7894 GB, free: 12.01 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/1.238, allocations: 163.9 kB / 0.7896 GB, free: 11.85 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/1.242, allocations: 2.077 MB / 0.7916 GB, free: 9.773 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.262, allocations: 10.12 MB / 0.8015 GB, free: 15.64 MB / 0.6389 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6288/1.891, allocations: 42.97 MB / 0.8434 GB, free: 195.9 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.902, allocations: 4.689 MB / 0.848 GB, free: 195.2 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.019/1.921, allocations: 9.88 MB / 0.8577 GB, free: 192.1 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/1.921, allocations: 55.47 kB / 0.8577 GB, free: 192 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=186): time 5.921e-06/1.921, allocations: 2.281 kB / 0.8577 GB, free: 192 MB / 0.6548 GB Notification: Performance of matching and sorting (n=218): time 0.05966/1.981, allocations: 26.77 MB / 0.8838 GB, free: 180.3 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/1.981, allocations: 314.4 kB / 0.8841 GB, free: 179.9 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005799/1.987, allocations: 5.217 MB / 0.8892 GB, free: 175.1 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0004412/1.987, allocations: 61.7 kB / 0.8893 GB, free: 175.1 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.989, allocations: 3.38 MB / 0.8926 GB, free: 171.7 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/1.99, allocations: 0.8224 MB / 0.8934 GB, free: 170.9 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.99, allocations: 121.3 kB / 0.8935 GB, free: 170.7 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.99, allocations: 0.554 MB / 0.8941 GB, free: 170.2 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/1.993, allocations: 2.678 MB / 0.8967 GB, free: 167.5 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/1.997, allocations: 6.124 MB / 0.9027 GB, free: 159.8 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004168/2.001, allocations: 4.021 MB / 0.9066 GB, free: 156 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.687e-05/2.001, allocations: 32 kB / 0.9066 GB, free: 156 MB / 0.6548 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0137/2.015, allocations: 10.32 MB / 0.9167 GB, free: 145.6 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/2.015, allocations: 60.03 kB / 0.9167 GB, free: 145.6 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.514e-05/2.015, allocations: 123 kB / 0.9169 GB, free: 145.5 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/2.019, allocations: 1.944 MB / 0.9188 GB, free: 143.5 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/2.023, allocations: 1.45 MB / 0.9202 GB, free: 142.1 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/2.035, allocations: 11.92 MB / 0.9318 GB, free: 130 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/2.04, allocations: 444.9 kB / 0.9322 GB, free: 129.6 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00085/2.041, allocations: 352 kB / 0.9326 GB, free: 129.2 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (705): * Single equations (assignments): 701 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003975/2.045, allocations: 2.597 MB / 0.9351 GB, free: 126.6 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/2.046, allocations: 418.6 kB / 0.9355 GB, free: 126.2 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/2.054, allocations: 5.621 MB / 0.941 GB, free: 120.6 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.93e-05/2.054, allocations: 24.47 kB / 0.941 GB, free: 120.6 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/2.054, allocations: 8 kB / 0.941 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/2.054, allocations: 11.95 kB / 0.941 GB, free: 120.5 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/2.074, allocations: 12.3 MB / 0.9531 GB, free: 108.2 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/2.074, allocations: 4 kB / 0.9531 GB, free: 108.2 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/2.076, allocations: 395.3 kB / 0.9534 GB, free: 107.8 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/2.079, allocations: 1.746 MB / 0.9551 GB, free: 106 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/2.08, allocations: 39.98 kB / 0.9552 GB, free: 106 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/2.092, allocations: 11.45 MB / 0.9664 GB, free: 94.39 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.092, allocations: 7.953 kB / 0.9664 GB, free: 94.39 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/2.103, allocations: 9.32 MB / 0.9755 GB, free: 84.91 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/2.104, allocations: 0.4917 MB / 0.976 GB, free: 84.4 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/2.105, allocations: 44.86 kB / 0.976 GB, free: 84.36 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/2.108, allocations: 232.9 kB / 0.9762 GB, free: 84.13 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/2.108, allocations: 133 kB / 0.9763 GB, free: 84 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/2.108, allocations: 56 kB / 0.9764 GB, free: 83.94 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.004523/2.113, allocations: 3.413 MB / 0.9797 GB, free: 80.53 MB / 0.6548 GB Notification: Performance of sort global known variables: time 5.11e-07/2.113, allocations: 0 / 0.9797 GB, free: 80.53 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.00575/2.119, allocations: 1.253 MB / 0.981 GB, free: 79.29 MB / 0.6548 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000573/2.119, allocations: 191.4 kB / 0.9811 GB, free: 79.1 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.007891/2.127, allocations: 6.459 MB / 0.9874 GB, free: 72.66 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/2.127, allocations: 0 / 0.9874 GB, free: 72.66 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/2.13, allocations: 2.54 MB / 0.9899 GB, free: 70.1 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/2.134, allocations: 0.6341 MB / 0.9905 GB, free: 69.48 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/2.153, allocations: 13.89 MB / 1.004 GB, free: 55.54 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/2.156, allocations: 4.035 MB / 1.008 GB, free: 51.47 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.004696/2.161, allocations: 2.211 MB / 1.01 GB, free: 49.25 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008759/2.162, allocations: 283.4 kB / 1.01 GB, free: 48.98 MB / 0.6548 GB Notification: Performance of SimCode: time 1.373e-06/2.162, allocations: 0 / 1.01 GB, free: 48.98 MB / 0.6548 GB Notification: Performance of Templates: time 0.07801/2.24, allocations: 52.73 MB / 1.062 GB, free: 12.55 MB / 0.6704 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches