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.001331/0.001331, allocations: 92.14 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.001452/0.001453, allocations: 184.4 kB / 17.2 MB, free: 5.914 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.427/1.427, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9145/0.9145, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8 kB / 0.4942 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 82.85 MB / 0.5751 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.6398/0.8226, allocations: 49.49 MB / 0.6234 GB, free: 1.781 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.03938/0.862, allocations: 12 MB / 0.6351 GB, free: 9.352 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02235/0.8844, allocations: 247.1 kB / 0.6353 GB, free: 9.312 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.8974, allocations: 2.469 MB / 0.6378 GB, free: 7.477 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.03371/0.9311, allocations: 7.256 MB / 0.6448 GB, free: 1.273 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.004648/0.9358, allocations: 0.8275 MB / 0.6457 GB, free: 456 kB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.1019/1.038, allocations: 71.58 MB / 0.7156 GB, free: 8.793 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008275/1.046, allocations: 5.44 MB / 0.7209 GB, free: 3.289 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/1.049, allocations: 1.374 MB / 0.7222 GB, free: 1.91 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/1.051, allocations: 1.815 MB / 0.724 GB, free: 92 kB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.0006232/1.052, allocations: 172 kB / 0.7241 GB, free: 15.92 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/1.054, allocations: 0.9519 MB / 0.7251 GB, free: 14.97 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.001993/1.056, allocations: 2.018 MB / 0.727 GB, free: 12.95 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.001195/1.057, allocations: 0.9986 MB / 0.728 GB, free: 11.94 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.007623/1.065, allocations: 7.404 MB / 0.7352 GB, free: 4.516 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/1.065, allocations: 0 / 0.7352 GB, free: 4.516 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.886e-06/1.065, allocations: 0 / 0.7352 GB, free: 4.516 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0002237/1.065, allocations: 4 kB / 0.7353 GB, free: 4.512 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.01729/1.083, allocations: 6.061 MB / 0.7412 GB, free: 14.37 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/1.083, allocations: 8.031 kB / 0.7412 GB, free: 14.36 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2427/1.326, allocations: 31.98 MB / 0.7724 GB, free: 14.32 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/1.34, allocations: 5.112 MB / 0.7774 GB, free: 9.133 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/1.34, allocations: 266.8 kB / 0.7777 GB, free: 8.871 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/1.342, allocations: 363.7 kB / 0.778 GB, free: 8.516 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/1.365, allocations: 11.6 MB / 0.7893 GB, free: 12.21 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/1.365, allocations: 63.45 kB / 0.7894 GB, free: 12.14 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/1.366, allocations: 159.9 kB / 0.7895 GB, free: 11.99 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/1.369, allocations: 2.084 MB / 0.7916 GB, free: 9.902 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/1.39, allocations: 10.1 MB / 0.8014 GB, free: 15.78 MB / 0.6389 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7233/2.113, allocations: 42.98 MB / 0.8434 GB, free: 196.3 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/2.125, allocations: 4.683 MB / 0.848 GB, free: 195.7 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02112/2.147, allocations: 9.889 MB / 0.8576 GB, free: 192.2 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/2.147, allocations: 57.73 kB / 0.8577 GB, free: 192.2 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=186): time 7.184e-06/2.147, allocations: 1.406 kB / 0.8577 GB, free: 192.2 MB / 0.6548 GB Notification: Performance of matching and sorting (n=218): time 0.06554/2.212, allocations: 26.77 MB / 0.8838 GB, free: 180.4 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/2.212, allocations: 309.3 kB / 0.8841 GB, free: 180.1 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007159/2.22, allocations: 5.221 MB / 0.8892 GB, free: 175.3 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0006882/2.22, allocations: 58.64 kB / 0.8893 GB, free: 175.2 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.002223/2.223, allocations: 3.385 MB / 0.8926 GB, free: 171.9 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/2.224, allocations: 0.8224 MB / 0.8934 GB, free: 171 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/2.224, allocations: 116 kB / 0.8935 GB, free: 170.9 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0002744/2.224, allocations: 0.5618 MB / 0.8941 GB, free: 170.4 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003259/2.228, allocations: 2.678 MB / 0.8967 GB, free: 167.7 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/2.232, allocations: 6.124 MB / 0.9027 GB, free: 160 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004376/2.236, allocations: 4.022 MB / 0.9066 GB, free: 156.2 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.742e-05/2.237, allocations: 36 kB / 0.9066 GB, free: 156.1 MB / 0.6548 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01561/2.252, allocations: 10.32 MB / 0.9167 GB, free: 145.8 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/2.252, allocations: 56 kB / 0.9167 GB, free: 145.8 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/2.252, allocations: 120 kB / 0.9169 GB, free: 145.6 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004218/2.257, allocations: 1.937 MB / 0.9188 GB, free: 143.7 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004626/2.261, allocations: 1.454 MB / 0.9202 GB, free: 142.2 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/2.274, allocations: 11.93 MB / 0.9318 GB, free: 130.2 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005648/2.28, allocations: 440.4 kB / 0.9322 GB, free: 129.7 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/2.281, allocations: 356 kB / 0.9326 GB, free: 129.4 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.004656/2.286, allocations: 2.599 MB / 0.9351 GB, free: 126.8 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/2.287, allocations: 418.6 kB / 0.9355 GB, free: 126.4 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008254/2.295, allocations: 5.625 MB / 0.941 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/2.295, allocations: 28 kB / 0.941 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/2.295, allocations: 8 kB / 0.941 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/2.295, allocations: 11.97 kB / 0.9411 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/2.316, allocations: 12.28 MB / 0.953 GB, free: 108.3 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/2.316, allocations: 3.953 kB / 0.9531 GB, free: 108.3 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.317, allocations: 395.7 kB / 0.9534 GB, free: 107.9 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/2.321, allocations: 1.746 MB / 0.9551 GB, free: 106.2 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/2.322, allocations: 45.62 kB / 0.9552 GB, free: 106.1 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/2.334, allocations: 11.44 MB / 0.9664 GB, free: 94.57 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/2.334, allocations: 3.938 kB / 0.9664 GB, free: 94.57 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/2.345, allocations: 9.338 MB / 0.9755 GB, free: 85.08 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/2.347, allocations: 0.4956 MB / 0.976 GB, free: 84.56 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006565/2.348, allocations: 38.5 kB / 0.976 GB, free: 84.52 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/2.35, allocations: 231.6 kB / 0.9762 GB, free: 84.3 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/2.35, allocations: 133.1 kB / 0.9763 GB, free: 84.16 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/2.35, allocations: 59.98 kB / 0.9764 GB, free: 84.11 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.004518/2.355, allocations: 3.409 MB / 0.9797 GB, free: 80.7 MB / 0.6548 GB Notification: Performance of sort global known variables: time 1.3e-07/2.355, allocations: 0 / 0.9797 GB, free: 80.7 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.006171/2.361, allocations: 1.246 MB / 0.9809 GB, free: 79.46 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.0006074/2.362, allocations: 202.2 kB / 0.9811 GB, free: 79.26 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.008574/2.37, allocations: 6.449 MB / 0.9874 GB, free: 72.83 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/2.37, allocations: 8 kB / 0.9874 GB, free: 72.82 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/2.374, allocations: 2.543 MB / 0.9899 GB, free: 70.26 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/2.377, allocations: 0.6191 MB / 0.9905 GB, free: 69.65 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/2.399, allocations: 13.88 MB / 1.004 GB, free: 55.71 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/2.404, allocations: 4.041 MB / 1.008 GB, free: 51.64 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.005185/2.409, allocations: 2.211 MB / 1.01 GB, free: 49.43 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/2.411, allocations: 275.4 kB / 1.01 GB, free: 49.16 MB / 0.6548 GB Notification: Performance of SimCode: time 1.873e-06/2.411, allocations: 0 / 1.01 GB, free: 49.16 MB / 0.6548 GB Notification: Performance of Templates: time 0.0885/2.499, allocations: 52.75 MB / 1.062 GB, free: 12.73 MB / 0.6704 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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