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.001191/0.001194, allocations: 106 kB / 16.62 MB, free: 6.812 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: 197.9 kB / 17.55 MB, free: 5.949 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.249/1.249, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8403/0.8403, allocations: 119.3 MB / 410.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.09 kB / 0.4905 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.469, allocations: 80.67 MB / 0.5692 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.03817/0.5072, allocations: 57.79 MB / 0.6257 GB, free: 7.895 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.02488/0.5321, allocations: 12.01 MB / 0.6374 GB, free: 11.84 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/0.5434, allocations: 255.3 kB / 0.6376 GB, free: 11.59 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005625/0.5491, allocations: 2.957 MB / 0.6405 GB, free: 8.629 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.5544, allocations: 2.005 MB / 0.6425 GB, free: 6.617 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.5567, allocations: 0.9323 MB / 0.6434 GB, free: 5.684 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.009101/0.5658, allocations: 7.629 MB / 0.6509 GB, free: 14.04 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006272/0.5721, allocations: 5.113 MB / 0.6558 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.5754, allocations: 2.142 MB / 0.6579 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.5794, allocations: 3.101 MB / 0.661 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.5807, allocations: 428 kB / 0.6614 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.5834, allocations: 1.33 MB / 0.6627 GB, free: 1.848 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.5864, allocations: 2.556 MB / 0.6652 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.004243/0.5907, allocations: 2.785 MB / 0.6679 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.008933/0.5996, allocations: 8.736 MB / 0.6764 GB, free: 3.723 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5996, allocations: 4 kB / 0.6764 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.266e-06/0.5997, allocations: 0 / 0.6764 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001643/0.5998, allocations: 3.938 kB / 0.6764 GB, free: 3.715 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.01149/0.6113, allocations: 6.431 MB / 0.6827 GB, free: 13.2 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6114, allocations: 11.89 kB / 0.6827 GB, free: 13.19 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03471/0.6461, allocations: 5.282 MB / 0.6879 GB, free: 7.895 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.6567, allocations: 5.005 MB / 0.6928 GB, free: 2.809 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.6569, allocations: 267.2 kB / 0.693 GB, free: 2.547 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009669/0.6579, allocations: 367.8 kB / 0.6934 GB, free: 2.188 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.6753, allocations: 11.71 MB / 0.7048 GB, free: 5.766 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.6755, allocations: 55.5 kB / 0.7049 GB, free: 5.711 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004157/0.6759, allocations: 167.9 kB / 0.705 GB, free: 5.547 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003273/0.6792, allocations: 2.08 MB / 0.707 GB, free: 3.453 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.696, allocations: 10.44 MB / 0.7172 GB, free: 9 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4699/1.166, allocations: 43.4 MB / 0.7596 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009516/1.176, allocations: 4.756 MB / 0.7643 GB, free: 139.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/1.179, allocations: 2.897 MB / 0.7671 GB, free: 139.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/1.193, allocations: 10.29 MB / 0.7772 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.193, allocations: 58.72 kB / 0.7772 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 4.238e-06/1.193, allocations: 3.391 kB / 0.7772 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.05423/1.247, allocations: 28.21 MB / 0.8048 GB, free: 117 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.247, allocations: 312 kB / 0.8051 GB, free: 116.6 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/1.252, allocations: 4.837 MB / 0.8098 GB, free: 111.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.252, allocations: 57.7 kB / 0.8098 GB, free: 111.7 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/1.253, allocations: 3.33 MB / 0.8131 GB, free: 108.3 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/1.254, allocations: 0.8225 MB / 0.8139 GB, free: 107.5 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.255, allocations: 1.339 MB / 0.8152 GB, free: 106.2 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 3.475e-05/1.255, allocations: 301.1 kB / 0.8155 GB, free: 105.9 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.258, allocations: 3.001 MB / 0.8184 GB, free: 102.9 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/1.262, allocations: 6.535 MB / 0.8248 GB, free: 94.77 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00723/1.269, allocations: 10.1 MB / 0.8347 GB, free: 83.23 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/1.269, allocations: 32 kB / 0.8347 GB, free: 83.2 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01398/1.283, allocations: 11.78 MB / 0.8462 GB, free: 71.41 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/1.283, allocations: 56 kB / 0.8462 GB, free: 71.35 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.072e-05/1.283, allocations: 124 kB / 0.8464 GB, free: 71.23 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/1.288, allocations: 2.666 MB / 0.849 GB, free: 68.56 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.292, allocations: 1.544 MB / 0.8505 GB, free: 67.01 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.304, allocations: 14.13 MB / 0.8643 GB, free: 52.74 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/1.308, allocations: 486.4 kB / 0.8647 GB, free: 52.27 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/1.309, allocations: 368 kB / 0.8651 GB, free: 51.91 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.002996/1.312, allocations: 2.613 MB / 0.8676 GB, free: 49.29 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/1.312, allocations: 410.8 kB / 0.868 GB, free: 48.88 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/1.321, allocations: 6.631 MB / 0.8745 GB, free: 42.23 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/1.321, allocations: 24 kB / 0.8745 GB, free: 42.21 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.321, allocations: 8 kB / 0.8745 GB, free: 42.2 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.321, allocations: 7.969 kB / 0.8745 GB, free: 42.2 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.337, allocations: 13.25 MB / 0.8875 GB, free: 28.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.337, allocations: 0 / 0.8875 GB, free: 28.85 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.339, allocations: 399.6 kB / 0.8879 GB, free: 28.46 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/1.344, allocations: 2.46 MB / 0.8903 GB, free: 26 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.344, allocations: 47.97 kB / 0.8903 GB, free: 25.95 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/1.357, allocations: 13.66 MB / 0.9037 GB, free: 12.16 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.357, allocations: 7.938 kB / 0.9037 GB, free: 12.15 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.368, allocations: 10.22 MB / 0.9136 GB, free: 1.867 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000978/1.369, allocations: 484.2 kB / 0.9141 GB, free: 1.371 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/1.37, allocations: 40 kB / 0.9141 GB, free: 1.332 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.371, allocations: 259.6 kB / 0.9144 GB, free: 1.078 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/1.372, allocations: 133 kB / 0.9145 GB, free: 0.9492 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.372, allocations: 60 kB / 0.9146 GB, free: 0.8906 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.003587/1.375, allocations: 3.113 MB / 0.9176 GB, free: 13.78 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.91e-07/1.375, allocations: 0 / 0.9176 GB, free: 13.78 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005913/1.381, allocations: 1.306 MB / 0.9189 GB, free: 12.48 MB / 0.6079 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.0005402/1.382, allocations: 187.9 kB / 0.9191 GB, free: 12.29 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.394, allocations: 9.138 MB / 0.928 GB, free: 3.188 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.394, allocations: 4 kB / 0.928 GB, free: 3.184 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.003284/1.397, allocations: 2.674 MB / 0.9306 GB, free: 0.4961 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.401, allocations: 0.6414 MB / 0.9312 GB, free: 15.86 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/1.417, allocations: 14.73 MB / 0.9456 GB, free: 1.078 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/1.421, allocations: 3.945 MB / 0.9495 GB, free: 13.1 MB / 0.6392 GB Notification: Performance of simCode: alias equations: time 0.00433/1.425, allocations: 2.187 MB / 0.9516 GB, free: 10.91 MB / 0.6392 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.426, allocations: 279.3 kB / 0.9519 GB, free: 10.63 MB / 0.6392 GB Notification: Performance of SimCode: time 8.11e-07/1.426, allocations: 0 / 0.9519 GB, free: 10.63 MB / 0.6392 GB Notification: Performance of Templates: time 0.07884/1.505, allocations: 58.13 MB / 1.009 GB, free: 0.8203 MB / 0.686 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