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.001082/0.001083, allocations: 114.6 kB / 17.7 MB, free: 5.309 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.001081/0.001081, allocations: 191 kB / 18.63 MB, free: 4.379 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.304/1.304, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9235/0.9235, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4842, allocations: 80.67 MB / 0.5712 GB, free: 43.61 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01014/0.4944, allocations: 12.34 MB / 0.5832 GB, free: 33.91 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.008283/0.5027, allocations: 4.441 MB / 0.5875 GB, free: 30.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.505, allocations: 85.34 kB / 0.5876 GB, free: 30.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.5101, allocations: 3.096 MB / 0.5906 GB, free: 28.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.5158, allocations: 2.142 MB / 0.5927 GB, free: 26.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.518, allocations: 0.9763 MB / 0.5937 GB, free: 26.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007671/0.5256, allocations: 7.064 MB / 0.6006 GB, free: 19.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/0.5305, allocations: 4.901 MB / 0.6054 GB, free: 14.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.5337, allocations: 2.095 MB / 0.6074 GB, free: 12.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.5373, allocations: 2.792 MB / 0.6101 GB, free: 9.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.5387, allocations: 428 kB / 0.6106 GB, free: 9.062 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.5416, allocations: 1.319 MB / 0.6118 GB, free: 7.742 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.5442, allocations: 2.513 MB / 0.6143 GB, free: 5.223 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004158/0.5484, allocations: 2.754 MB / 0.617 GB, free: 2.453 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.5598, allocations: 8.921 MB / 0.6257 GB, free: 9.504 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.5598, allocations: 0 / 0.6257 GB, free: 9.504 MB / 478.3 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5599, allocations: 0 / 0.6257 GB, free: 9.504 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.0004011/0.5603, allocations: 0 / 0.6257 GB, free: 9.504 MB / 478.3 MB 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.0161/0.5764, allocations: 6.427 MB / 0.632 GB, free: 2.996 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5764, allocations: 15.89 kB / 0.632 GB, free: 2.98 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0341/0.6105, allocations: 5.275 MB / 0.6371 GB, free: 13.69 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.6238, allocations: 5.098 MB / 0.6421 GB, free: 8.508 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.6242, allocations: 263.2 kB / 0.6424 GB, free: 8.25 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001641/0.6258, allocations: 371.8 kB / 0.6427 GB, free: 7.887 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/0.6488, allocations: 11.71 MB / 0.6542 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/0.6491, allocations: 59.48 kB / 0.6542 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.6502, allocations: 163.9 kB / 0.6544 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003638/0.6539, allocations: 2.084 MB / 0.6564 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.674, allocations: 10.43 MB / 0.6666 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05801/0.732, allocations: 43.23 MB / 0.7088 GB, free: 2.207 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.7434, allocations: 4.752 MB / 0.7134 GB, free: 13.31 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004185/0.7476, allocations: 2.899 MB / 0.7163 GB, free: 10.4 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01993/0.7676, allocations: 10.27 MB / 0.7263 GB, free: 12 kB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.689e-05/0.7677, allocations: 55.86 kB / 0.7264 GB, free: 15.95 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=186): time 5.79e-06/0.7677, allocations: 0 / 0.7264 GB, free: 15.95 MB / 0.5764 GB Notification: Performance of matching and sorting (n=218): time 0.0727/0.8404, allocations: 28.21 MB / 0.7539 GB, free: 3.625 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.8406, allocations: 312 kB / 0.7542 GB, free: 3.25 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4517/1.292, allocations: 4.838 MB / 0.7589 GB, free: 163 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/1.293, allocations: 60.61 kB / 0.759 GB, free: 163 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/1.295, allocations: 3.327 MB / 0.7622 GB, free: 161.1 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/1.296, allocations: 0.827 MB / 0.763 GB, free: 160.5 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002087/1.298, allocations: 1.335 MB / 0.7643 GB, free: 159.9 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/1.298, allocations: 301.7 kB / 0.7646 GB, free: 159.6 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.302, allocations: 3.001 MB / 0.7676 GB, free: 158.7 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.308, allocations: 6.533 MB / 0.7739 GB, free: 153.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.318, allocations: 10.1 MB / 0.7838 GB, free: 145.9 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001835/1.318, allocations: 33.09 kB / 0.7838 GB, free: 145.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01778/1.336, allocations: 11.77 MB / 0.7953 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/1.336, allocations: 55.41 kB / 0.7954 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.336, allocations: 119.4 kB / 0.7955 GB, free: 141.2 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005442/1.342, allocations: 2.667 MB / 0.7981 GB, free: 139.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/1.346, allocations: 1.537 MB / 0.7996 GB, free: 137.6 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/1.362, allocations: 14.12 MB / 0.8134 GB, free: 123.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.368, allocations: 490.2 kB / 0.8139 GB, free: 122.9 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.369, allocations: 371.4 kB / 0.8142 GB, free: 122.5 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.004643/1.374, allocations: 2.603 MB / 0.8168 GB, free: 119.9 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.375, allocations: 407.7 kB / 0.8172 GB, free: 119.5 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.385, allocations: 6.627 MB / 0.8236 GB, free: 112.9 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.385, allocations: 24 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/1.385, allocations: 8 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/1.385, allocations: 11.95 kB / 0.8237 GB, free: 112.8 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/1.406, allocations: 13.22 MB / 0.8366 GB, free: 99.51 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.406, allocations: 5.219 kB / 0.8366 GB, free: 99.51 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.408, allocations: 395.4 kB / 0.837 GB, free: 99.12 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/1.413, allocations: 2.456 MB / 0.8394 GB, free: 96.66 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/1.413, allocations: 43.06 kB / 0.8394 GB, free: 96.62 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.426, allocations: 13.65 MB / 0.8527 GB, free: 82.84 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.426, allocations: 4 kB / 0.8527 GB, free: 82.83 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.44, allocations: 10.22 MB / 0.8627 GB, free: 72.55 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.441, allocations: 487.7 kB / 0.8632 GB, free: 72.05 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.443, allocations: 36 kB / 0.8632 GB, free: 72.01 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.445, allocations: 259.5 kB / 0.8635 GB, free: 71.76 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005534/1.446, allocations: 137 kB / 0.8636 GB, free: 71.63 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.446, allocations: 52 kB / 0.8636 GB, free: 71.58 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.004798/1.451, allocations: 3.109 MB / 0.8667 GB, free: 68.47 MB / 0.5923 GB Notification: Performance of sort global known variables: time 1.8e-07/1.451, allocations: 1.5 kB / 0.8667 GB, free: 68.47 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006396/1.457, allocations: 1.307 MB / 0.868 GB, free: 67.16 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.0007687/1.458, allocations: 188.3 kB / 0.8681 GB, free: 66.98 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.468, allocations: 7.126 MB / 0.8751 GB, free: 59.87 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.468, allocations: 0 / 0.8751 GB, free: 59.87 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/1.472, allocations: 2.676 MB / 0.8777 GB, free: 57.18 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005572/1.478, allocations: 0.6345 MB / 0.8783 GB, free: 56.55 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.499, allocations: 12.35 MB / 0.8904 GB, free: 44.15 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005735/1.505, allocations: 3.926 MB / 0.8942 GB, free: 40.19 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.005013/1.51, allocations: 2.202 MB / 0.8964 GB, free: 37.98 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.511, allocations: 275.4 kB / 0.8966 GB, free: 37.71 MB / 0.5923 GB Notification: Performance of SimCode: time 1.503e-06/1.511, allocations: 0 / 0.8966 GB, free: 37.71 MB / 0.5923 GB Notification: Performance of Templates: time 0.08124/1.592, allocations: 52.72 MB / 0.9481 GB, free: 1.375 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches