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.000859/0.0008591, allocations: 92.48 kB / 16.65 MB, free: 6.59 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.0009193/0.0009193, allocations: 186.8 kB / 17.57 MB, free: 6.199 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9581/0.9581, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5579, allocations: 82.83 MB / 0.5758 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.04338/0.6014, allocations: 56.35 MB / 0.6308 GB, free: 5.742 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.03034/0.6318, allocations: 12.03 MB / 0.6426 GB, free: 9.664 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.644, allocations: 255.3 kB / 0.6428 GB, free: 9.414 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.646, allocations: 453.8 kB / 0.6433 GB, free: 8.969 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.6521, allocations: 2.021 MB / 0.6452 GB, free: 6.941 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.6546, allocations: 0.8972 MB / 0.6461 GB, free: 6.043 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.01247/0.6671, allocations: 9.856 MB / 0.6557 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/0.6779, allocations: 6.318 MB / 0.6619 GB, free: 5.758 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6818, allocations: 1.521 MB / 0.6634 GB, free: 4.23 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0049/0.6867, allocations: 2.577 MB / 0.6659 GB, free: 1.645 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.6881, allocations: 172 kB / 0.6661 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.6916, allocations: 1.123 MB / 0.6672 GB, free: 360 kB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.003734/0.6954, allocations: 2.228 MB / 0.6693 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.005078/0.7005, allocations: 2.408 MB / 0.6717 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.7122, allocations: 8.324 MB / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7122, allocations: 0 / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7123, allocations: 0 / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003592/0.7126, allocations: 0 / 0.6798 GB, free: 3.336 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.01525/0.7279, allocations: 5.375 MB / 0.6851 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.728, allocations: 12.03 kB / 0.6851 GB, free: 13.87 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03942/0.7674, allocations: 5.376 MB / 0.6903 GB, free: 8.48 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.7805, allocations: 5.016 MB / 0.6952 GB, free: 3.383 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.7808, allocations: 263.2 kB / 0.6955 GB, free: 3.125 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.7825, allocations: 371.8 kB / 0.6958 GB, free: 2.762 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.8093, allocations: 11.73 MB / 0.7073 GB, free: 6.316 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003224/0.8097, allocations: 59.48 kB / 0.7073 GB, free: 6.258 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/0.8112, allocations: 167.9 kB / 0.7075 GB, free: 6.094 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/0.8152, allocations: 2.077 MB / 0.7095 GB, free: 4.012 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.8364, allocations: 10.47 MB / 0.7198 GB, free: 9.523 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6058/1.442, allocations: 43.46 MB / 0.7622 GB, free: 154.4 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/1.453, allocations: 4.764 MB / 0.7668 GB, free: 153.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004233/1.457, allocations: 2.903 MB / 0.7697 GB, free: 153.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.474, allocations: 10.28 MB / 0.7797 GB, free: 149.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/1.474, allocations: 57.53 kB / 0.7798 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 7.404e-06/1.474, allocations: 0 / 0.7798 GB, free: 149.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.06336/1.538, allocations: 28.22 MB / 0.8073 GB, free: 129.4 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/1.538, allocations: 307.2 kB / 0.8076 GB, free: 129 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007811/1.546, allocations: 4.84 MB / 0.8124 GB, free: 124.2 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.000761/1.547, allocations: 57.7 kB / 0.8124 GB, free: 124.1 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.549, allocations: 3.332 MB / 0.8157 GB, free: 120.8 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.55, allocations: 0.824 MB / 0.8165 GB, free: 120 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.552, allocations: 0.5665 MB / 0.817 GB, free: 119.4 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/1.552, allocations: 308.9 kB / 0.8173 GB, free: 119.1 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006425/1.558, allocations: 3.003 MB / 0.8203 GB, free: 116.1 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008792/1.567, allocations: 6.537 MB / 0.8266 GB, free: 108 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01496/1.582, allocations: 10.09 MB / 0.8365 GB, free: 96.3 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.582, allocations: 36 kB / 0.8365 GB, free: 96.27 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0295/1.612, allocations: 11.78 MB / 0.848 GB, free: 84.46 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.612, allocations: 56 kB / 0.8481 GB, free: 84.41 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/1.612, allocations: 124 kB / 0.8482 GB, free: 84.29 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006198/1.619, allocations: 2.663 MB / 0.8508 GB, free: 81.62 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.623, allocations: 1.54 MB / 0.8523 GB, free: 80.08 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/1.639, allocations: 13.27 MB / 0.8653 GB, free: 66.66 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/1.645, allocations: 479.2 kB / 0.8657 GB, free: 66.2 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.646, allocations: 377.1 kB / 0.8661 GB, free: 65.83 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.004773/1.651, allocations: 2.6 MB / 0.8686 GB, free: 63.22 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.652, allocations: 410.7 kB / 0.869 GB, free: 62.82 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.663, allocations: 6.634 MB / 0.8755 GB, free: 56.16 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/1.664, allocations: 24 kB / 0.8755 GB, free: 56.14 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.664, allocations: 15.94 kB / 0.8755 GB, free: 56.12 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/1.664, allocations: 16.42 kB / 0.8755 GB, free: 56.11 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02369/1.687, allocations: 13.26 MB / 0.8885 GB, free: 42.76 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/1.687, allocations: 4 kB / 0.8885 GB, free: 42.76 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.689, allocations: 387.7 kB / 0.8889 GB, free: 42.38 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005562/1.695, allocations: 2.468 MB / 0.8913 GB, free: 39.91 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000417/1.695, allocations: 47.94 kB / 0.8913 GB, free: 39.86 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/1.71, allocations: 12.8 MB / 0.9038 GB, free: 26.92 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.71, allocations: 11.88 kB / 0.9038 GB, free: 26.91 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/1.725, allocations: 10.21 MB / 0.9138 GB, free: 16.64 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/1.727, allocations: 491.6 kB / 0.9143 GB, free: 16.14 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.728, allocations: 45.94 kB / 0.9143 GB, free: 16.09 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.731, allocations: 259.6 kB / 0.9146 GB, free: 15.84 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006632/1.732, allocations: 129.1 kB / 0.9147 GB, free: 15.71 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.732, allocations: 59.94 kB / 0.9147 GB, free: 15.66 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005284/1.737, allocations: 3.102 MB / 0.9178 GB, free: 12.55 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.4e-07/1.737, allocations: 0 / 0.9178 GB, free: 12.55 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006768/1.744, allocations: 1.314 MB / 0.9191 GB, free: 11.25 MB / 0.5923 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.0008255/1.745, allocations: 176.5 kB / 0.9192 GB, free: 11.07 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.755, allocations: 7.097 MB / 0.9262 GB, free: 3.984 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.755, allocations: 0 / 0.9262 GB, free: 3.984 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003799/1.759, allocations: 2.677 MB / 0.9288 GB, free: 1.297 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006529/1.765, allocations: 0.604 MB / 0.9294 GB, free: 0.6953 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.792, allocations: 14.85 MB / 0.9439 GB, free: 1.797 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007029/1.799, allocations: 3.937 MB / 0.9477 GB, free: 13.83 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.006528/1.806, allocations: 2.191 MB / 0.9498 GB, free: 11.63 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.808, allocations: 275.4 kB / 0.9501 GB, free: 11.36 MB / 0.6235 GB Notification: Performance of SimCode: time 1.943e-06/1.808, allocations: 0 / 0.9501 GB, free: 11.36 MB / 0.6235 GB Notification: Performance of Templates: time 0.1055/1.913, allocations: 54.87 MB / 1.004 GB, free: 4.781 MB / 0.6704 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