Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.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.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 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_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 235.5 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 91.98 kB / 286.5 MB, free: 208 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8414/0.8414, allocations: 120.5 MB / 457.9 MB, free: 7.027 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.461e-05, allocations: 4 kB / 0.5357 GB, free: 12.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4972, allocations: 82.83 MB / 0.6166 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.218, allocations: 146.7 MB / 0.7598 GB, free: 42.29 MB / 0.5421 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001518/1.219, allocations: 75.67 kB / 0.7599 GB, free: 42.29 MB / 0.5421 GB Notification: Performance of FrontEnd - DAE generated: time 0.329/1.548, allocations: 146.8 MB / 0.9033 GB, free: 13.49 MB / 0.6046 GB Notification: Performance of FrontEnd: time 1.313e-06/1.548, allocations: 0 / 0.9033 GB, free: 13.49 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0003745/1.548, allocations: 143.9 kB / 0.9034 GB, free: 13.36 MB / 0.6046 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2204 * Number of variables: 2204 Notification: Performance of Generate backend data structure: time 0.01967/1.568, allocations: 8.263 MB / 0.9115 GB, free: 5.57 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.568, allocations: 8.031 kB / 0.9115 GB, free: 5.562 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05353/1.621, allocations: 14.59 MB / 0.9257 GB, free: 8.543 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.647, allocations: 11.88 MB / 0.9373 GB, free: 15.06 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/1.647, allocations: 494.5 kB / 0.9378 GB, free: 14.75 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/1.65, allocations: 0.6633 MB / 0.9385 GB, free: 14.27 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/1.684, allocations: 16.99 MB / 0.9551 GB, free: 160 kB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003898/1.684, allocations: 107 kB / 0.9552 GB, free: 56 kB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/1.686, allocations: 308.2 kB / 0.9555 GB, free: 15.93 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/1.688, allocations: 1.427 MB / 0.9568 GB, free: 14.72 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/1.716, allocations: 14.68 MB / 0.9712 GB, free: 3.57 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3933/2.109, allocations: 68.31 MB / 1.038 GB, free: 124.7 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/2.126, allocations: 8.477 MB / 1.046 GB, free: 124 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004712/2.131, allocations: 5.113 MB / 1.051 GB, free: 124 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02398/2.155, allocations: 17.71 MB / 1.068 GB, free: 122.6 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/2.155, allocations: 69.86 kB / 1.069 GB, free: 122.6 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=318): time 5.26e-06/2.155, allocations: 2.734 kB / 1.069 GB, free: 122.6 MB / 0.6828 GB Notification: Performance of matching and sorting (n=395): time 0.1181/2.273, allocations: 52.95 MB / 1.12 GB, free: 115.3 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/2.273, allocations: 430.7 kB / 1.121 GB, free: 114.9 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00776/2.281, allocations: 5.926 MB / 1.126 GB, free: 113 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.000856/2.282, allocations: 83.88 kB / 1.127 GB, free: 112.9 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002327/2.284, allocations: 4.603 MB / 1.131 GB, free: 109.8 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/2.286, allocations: 1.439 MB / 1.132 GB, free: 108.8 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004628/2.286, allocations: 158.8 kB / 1.133 GB, free: 108.6 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0003301/2.286, allocations: 0.6602 MB / 1.133 GB, free: 108.2 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005516/2.292, allocations: 4.809 MB / 1.138 GB, free: 104.7 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006904/2.299, allocations: 8.975 MB / 1.147 GB, free: 94.76 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007589/2.306, allocations: 6.666 MB / 1.153 GB, free: 89.64 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.307e-05/2.307, allocations: 40 kB / 1.153 GB, free: 89.61 MB / 0.6828 GB Notification: Performance of matching and sorting (n=1050) (initialization): time 0.0283/2.335, allocations: 18.45 MB / 1.171 GB, free: 75.65 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/2.335, allocations: 67.84 kB / 1.171 GB, free: 75.59 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/2.335, allocations: 140 kB / 1.171 GB, free: 75.45 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/2.347, allocations: 5.311 MB / 1.177 GB, free: 71.84 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/2.353, allocations: 1.869 MB / 1.178 GB, free: 70.28 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03345/2.387, allocations: 28.57 MB / 1.206 GB, free: 43.58 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007285/2.394, allocations: 0.7332 MB / 1.207 GB, free: 42.85 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/2.395, allocations: 455.9 kB / 1.208 GB, free: 42.4 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 59 (force.arrow.arrowLine.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[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[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (924): * Single equations (assignments): 920 * 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 {(7,81.6%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002251/2.398, allocations: 0.7079 MB / 1.208 GB, free: 41.69 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/2.399, allocations: 0.594 MB / 1.209 GB, free: 41.09 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/2.421, allocations: 13.37 MB / 1.222 GB, free: 27.69 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.383e-05/2.421, allocations: 40 kB / 1.222 GB, free: 27.65 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/2.421, allocations: 19.88 kB / 1.222 GB, free: 27.64 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.1e-05/2.421, allocations: 19.92 kB / 1.222 GB, free: 27.62 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04234/2.464, allocations: 25.82 MB / 1.247 GB, free: 1.66 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/2.464, allocations: 4 kB / 1.247 GB, free: 1.656 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/2.467, allocations: 0.6382 MB / 1.248 GB, free: 1.02 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01237/2.479, allocations: 5.051 MB / 1.253 GB, free: 11.98 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007259/2.48, allocations: 75.92 kB / 1.253 GB, free: 11.91 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3646/2.844, allocations: 28.21 MB / 1.28 GB, free: 179.9 MB / 0.714 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/2.844, allocations: 4.641 kB / 1.28 GB, free: 179.9 MB / 0.714 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02984/2.874, allocations: 20.27 MB / 1.3 GB, free: 178.5 MB / 0.714 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/2.876, allocations: 0.6517 MB / 1.301 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008835/2.877, allocations: 78.95 kB / 1.301 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/2.88, allocations: 496.9 kB / 1.301 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007579/2.881, allocations: 261.2 kB / 1.302 GB, free: 178.4 MB / 0.714 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002971/2.881, allocations: 98.27 kB / 1.302 GB, free: 178.4 MB / 0.714 GB Notification: Performance of sorting global known variables: time 0.005198/2.886, allocations: 4.324 MB / 1.306 GB, free: 178.2 MB / 0.714 GB Notification: Performance of sort global known variables: time 1.8e-07/2.886, allocations: 0 / 1.306 GB, free: 178.2 MB / 0.714 GB Notification: Performance of remove unused functions: time 0.0062/2.893, allocations: 2.02 MB / 1.308 GB, free: 178.2 MB / 0.714 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 276 * 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 {(9,75.3%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006133/2.893, allocations: 232.1 kB / 1.308 GB, free: 178.1 MB / 0.714 GB Notification: Performance of simCode: created initialization part: time 0.01367/2.907, allocations: 11.82 MB / 1.32 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.907, allocations: 0 / 1.32 GB, free: 177.8 MB / 0.714 GB Notification: Performance of simCode: created simulation system equations: time 0.006982/2.914, allocations: 5.527 MB / 1.325 GB, free: 177.6 MB / 0.714 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004158/2.918, allocations: 0.9853 MB / 1.326 GB, free: 177.5 MB / 0.714 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/2.94, allocations: 17.14 MB / 1.343 GB, free: 175 MB / 0.714 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005329/2.946, allocations: 5.762 MB / 1.348 GB, free: 174.1 MB / 0.714 GB Notification: Performance of simCode: alias equations: time 0.006976/2.953, allocations: 3.537 MB / 1.352 GB, free: 174.1 MB / 0.714 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/2.954, allocations: 400.5 kB / 1.352 GB, free: 174.1 MB / 0.714 GB Notification: Performance of SimCode: time 8.31e-07/2.954, allocations: 0 / 1.352 GB, free: 174.1 MB / 0.714 GB Notification: Performance of Templates: time 0.1216/3.075, allocations: 96.87 MB / 1.447 GB, free: 111.8 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches