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.001261/0.001266, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.001319/0.001319, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9253/0.9253, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 66.28 kB / 0.571 GB, free: 39.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 80.69 MB / 0.6498 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.01455/0.1588, allocations: 12.34 MB / 0.6618 GB, free: 0.707 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.1694, allocations: 4.431 MB / 0.6662 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1722, allocations: 79.75 kB / 0.6662 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.1789, allocations: 3.095 MB / 0.6693 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.186, allocations: 2.144 MB / 0.6714 GB, free: 6.93 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.1888, allocations: 0.9749 MB / 0.6723 GB, free: 5.953 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.1997, allocations: 7.076 MB / 0.6792 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007439/0.2072, allocations: 4.899 MB / 0.684 GB, free: 9.887 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.2118, allocations: 2.107 MB / 0.6861 GB, free: 7.773 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.2166, allocations: 2.804 MB / 0.6888 GB, free: 4.961 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.2183, allocations: 428 kB / 0.6892 GB, free: 4.543 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.2221, allocations: 1.319 MB / 0.6905 GB, free: 3.223 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.004018/0.2261, allocations: 2.541 MB / 0.693 GB, free: 0.6758 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.005885/0.232, allocations: 2.762 MB / 0.6957 GB, free: 13.89 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.2447, allocations: 8.924 MB / 0.7044 GB, free: 4.945 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.2448, allocations: 0 / 0.7044 GB, free: 4.945 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2448, allocations: 0 / 0.7044 GB, free: 4.945 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0003703/0.2452, allocations: 0 / 0.7044 GB, free: 4.945 MB / 0.5452 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.01921/0.2644, allocations: 6.427 MB / 0.7107 GB, free: 14.44 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.2645, allocations: 11.89 kB / 0.7107 GB, free: 14.43 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03952/0.304, allocations: 5.282 MB / 0.7158 GB, free: 9.129 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.3165, allocations: 5.094 MB / 0.7208 GB, free: 3.953 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.3168, allocations: 271.2 kB / 0.7211 GB, free: 3.688 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/0.3183, allocations: 375.7 kB / 0.7214 GB, free: 3.32 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02/0.3383, allocations: 11.7 MB / 0.7329 GB, free: 6.906 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.3385, allocations: 55.5 kB / 0.7329 GB, free: 6.852 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004584/0.3389, allocations: 167.9 kB / 0.7331 GB, free: 6.688 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/0.3423, allocations: 2.084 MB / 0.7351 GB, free: 4.602 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.3612, allocations: 10.43 MB / 0.7453 GB, free: 10.14 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7204/1.082, allocations: 43.19 MB / 0.7875 GB, free: 80.17 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/1.093, allocations: 4.761 MB / 0.7921 GB, free: 79.19 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/1.097, allocations: 2.9 MB / 0.795 GB, free: 78.14 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.112, allocations: 10.28 MB / 0.805 GB, free: 74.14 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.112, allocations: 62.47 kB / 0.8051 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=186): time 6.282e-06/1.112, allocations: 0 / 0.8051 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of matching and sorting (n=218): time 0.05795/1.17, allocations: 28.21 MB / 0.8326 GB, free: 55.38 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/1.17, allocations: 304 kB / 0.8329 GB, free: 55.02 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004917/1.175, allocations: 4.842 MB / 0.8376 GB, free: 50.15 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003491/1.176, allocations: 57.7 kB / 0.8377 GB, free: 50.09 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/1.177, allocations: 3.33 MB / 0.8409 GB, free: 46.76 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/1.178, allocations: 0.83 MB / 0.8417 GB, free: 45.94 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/1.179, allocations: 1.336 MB / 0.843 GB, free: 44.6 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/1.179, allocations: 309.1 kB / 0.8433 GB, free: 44.29 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/1.182, allocations: 3.003 MB / 0.8463 GB, free: 41.29 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/1.186, allocations: 6.531 MB / 0.8526 GB, free: 33.1 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007895/1.194, allocations: 10.09 MB / 0.8625 GB, free: 21.34 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/1.194, allocations: 40 kB / 0.8625 GB, free: 21.3 MB / 0.6079 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0169/1.211, allocations: 11.77 MB / 0.874 GB, free: 9.508 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/1.211, allocations: 58.34 kB / 0.8741 GB, free: 9.453 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-05/1.212, allocations: 123.9 kB / 0.8742 GB, free: 9.332 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005442/1.217, allocations: 2.67 MB / 0.8768 GB, free: 6.656 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.222, allocations: 1.534 MB / 0.8783 GB, free: 5.121 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/1.239, allocations: 14.12 MB / 0.8921 GB, free: 6.852 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/1.245, allocations: 482.3 kB / 0.8926 GB, free: 6.383 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.246, allocations: 368 kB / 0.8929 GB, free: 6.023 MB / 0.6235 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.004336/1.25, allocations: 2.619 MB / 0.8955 GB, free: 3.402 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009313/1.251, allocations: 406.8 kB / 0.8959 GB, free: 3 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.263, allocations: 6.632 MB / 0.9023 GB, free: 12.35 MB / 0.6392 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/1.263, allocations: 26.12 kB / 0.9024 GB, free: 12.33 MB / 0.6392 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.263, allocations: 8 kB / 0.9024 GB, free: 12.32 MB / 0.6392 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-05/1.263, allocations: 15.95 kB / 0.9024 GB, free: 12.3 MB / 0.6392 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/1.287, allocations: 13.2 MB / 0.9153 GB, free: 15.03 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.287, allocations: 4.281 kB / 0.9153 GB, free: 15.02 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.289, allocations: 399.4 kB / 0.9157 GB, free: 14.63 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005854/1.294, allocations: 2.459 MB / 0.9181 GB, free: 12.17 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/1.295, allocations: 36 kB / 0.9181 GB, free: 12.13 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/1.312, allocations: 13.66 MB / 0.9314 GB, free: 14.34 MB / 0.6704 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.312, allocations: 0 / 0.9314 GB, free: 14.34 MB / 0.6704 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.327, allocations: 10.22 MB / 0.9414 GB, free: 4.055 MB / 0.6704 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.328, allocations: 483.7 kB / 0.9419 GB, free: 3.555 MB / 0.6704 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/1.329, allocations: 40 kB / 0.9419 GB, free: 3.516 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.331, allocations: 255.4 kB / 0.9422 GB, free: 3.27 MB / 0.6704 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004405/1.331, allocations: 141 kB / 0.9423 GB, free: 3.129 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/1.331, allocations: 56 kB / 0.9423 GB, free: 3.074 MB / 0.6704 GB Notification: Performance of sorting global known variables: time 0.005095/1.336, allocations: 3.106 MB / 0.9454 GB, free: 15.97 MB / 0.686 GB Notification: Performance of sort global known variables: time 2.1e-07/1.336, allocations: 0 / 0.9454 GB, free: 15.97 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.005759/1.342, allocations: 1.299 MB / 0.9466 GB, free: 14.67 MB / 0.686 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.0005704/1.343, allocations: 188.6 kB / 0.9468 GB, free: 14.49 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.354, allocations: 7.133 MB / 0.9538 GB, free: 7.375 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.354, allocations: 192 / 0.9538 GB, free: 7.375 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.003923/1.358, allocations: 2.671 MB / 0.9564 GB, free: 4.688 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.361, allocations: 0.6419 MB / 0.957 GB, free: 4.066 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.38, allocations: 12.34 MB / 0.9691 GB, free: 7.676 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00435/1.385, allocations: 3.937 MB / 0.9729 GB, free: 3.707 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.004492/1.389, allocations: 2.195 MB / 0.9751 GB, free: 1.504 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/1.39, allocations: 271.4 kB / 0.9753 GB, free: 1.238 MB / 0.7017 GB Notification: Performance of SimCode: time 9.02e-07/1.39, allocations: 0 / 0.9753 GB, free: 1.238 MB / 0.7017 GB Notification: Performance of Templates: time 0.0861/1.476, allocations: 55.06 MB / 1.029 GB, free: 10.51 MB / 0.7642 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat","/var/lib/jenkins/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