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.001129/0.001129, allocations: 111.5 kB / 16.51 MB, free: 6.707 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.001203/0.001204, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9416/0.9416, allocations: 119.3 MB / 410.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 0.4903 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5146, allocations: 80.67 MB / 0.569 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.04386/0.5585, allocations: 57.81 MB / 0.6255 GB, free: 7.91 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.03296/0.5915, allocations: 12.09 MB / 0.6373 GB, free: 11.78 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01533/0.6069, allocations: 255.3 kB / 0.6375 GB, free: 11.53 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.007493/0.6145, allocations: 3.082 MB / 0.6405 GB, free: 8.441 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00689/0.6214, allocations: 2.021 MB / 0.6425 GB, free: 6.414 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.6241, allocations: 0.9011 MB / 0.6434 GB, free: 5.512 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.6371, allocations: 9.86 MB / 0.653 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007322/0.6444, allocations: 4.666 MB / 0.6576 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004769/0.6493, allocations: 1.818 MB / 0.6594 GB, free: 5.074 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00616/0.6555, allocations: 2.94 MB / 0.6622 GB, free: 2.125 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.6574, allocations: 288 kB / 0.6625 GB, free: 1.844 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.6612, allocations: 1.237 MB / 0.6637 GB, free: 0.6055 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.003829/0.6651, allocations: 2.388 MB / 0.666 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.006163/0.6713, allocations: 2.602 MB / 0.6686 GB, free: 11.59 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.6833, allocations: 8.564 MB / 0.6769 GB, free: 3.004 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.6833, allocations: 0 / 0.6769 GB, free: 3.004 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.516e-06/0.6833, allocations: 0 / 0.6769 GB, free: 3.004 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003487/0.6837, allocations: 3.938 kB / 0.6769 GB, free: 3 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.01858/0.7023, allocations: 6.432 MB / 0.6832 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7024, allocations: 8.031 kB / 0.6832 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0346/0.737, allocations: 5.275 MB / 0.6884 GB, free: 7.191 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.7493, allocations: 5.012 MB / 0.6933 GB, free: 2.098 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.7497, allocations: 267.2 kB / 0.6935 GB, free: 1.836 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.7514, allocations: 371.8 kB / 0.6939 GB, free: 1.473 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.7759, allocations: 11.7 MB / 0.7053 GB, free: 5.055 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003682/0.7763, allocations: 59.48 kB / 0.7054 GB, free: 4.996 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/0.7781, allocations: 167.9 kB / 0.7055 GB, free: 4.832 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003847/0.782, allocations: 2.077 MB / 0.7076 GB, free: 2.742 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02183/0.8038, allocations: 10.44 MB / 0.7178 GB, free: 8.285 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6109/1.415, allocations: 43.41 MB / 0.7602 GB, free: 141 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.426, allocations: 4.756 MB / 0.7648 GB, free: 140.3 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/1.43, allocations: 2.904 MB / 0.7676 GB, free: 140.3 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/1.448, allocations: 10.28 MB / 0.7777 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/1.448, allocations: 60.67 kB / 0.7777 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 6.953e-06/1.448, allocations: 0 / 0.7777 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.06907/1.517, allocations: 28.2 MB / 0.8053 GB, free: 116.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.517, allocations: 308 kB / 0.8056 GB, free: 116.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008931/1.526, allocations: 4.84 MB / 0.8103 GB, free: 111.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006253/1.527, allocations: 61.64 kB / 0.8104 GB, free: 111.3 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.529, allocations: 3.333 MB / 0.8136 GB, free: 108 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.53, allocations: 0.8238 MB / 0.8144 GB, free: 107.2 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003546/1.534, allocations: 1.336 MB / 0.8157 GB, free: 105.8 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/1.534, allocations: 301.1 kB / 0.816 GB, free: 105.6 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/1.538, allocations: 2.999 MB / 0.8189 GB, free: 102.5 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005751/1.544, allocations: 6.531 MB / 0.8253 GB, free: 94.44 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.555, allocations: 10.11 MB / 0.8352 GB, free: 82.9 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/1.555, allocations: 36 kB / 0.8352 GB, free: 82.86 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02269/1.578, allocations: 11.77 MB / 0.8467 GB, free: 71.08 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/1.578, allocations: 60 kB / 0.8468 GB, free: 71.02 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/1.578, allocations: 120 kB / 0.8469 GB, free: 70.9 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/1.584, allocations: 2.666 MB / 0.8495 GB, free: 68.23 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/1.589, allocations: 1.536 MB / 0.851 GB, free: 66.69 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.604, allocations: 13.27 MB / 0.8639 GB, free: 53.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.609, allocations: 477.9 kB / 0.8644 GB, free: 52.82 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/1.61, allocations: 364 kB / 0.8647 GB, free: 52.46 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.00453/1.615, allocations: 2.608 MB / 0.8673 GB, free: 49.85 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.616, allocations: 410.7 kB / 0.8677 GB, free: 49.45 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/1.627, allocations: 6.638 MB / 0.8742 GB, free: 42.79 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.405e-05/1.627, allocations: 24 kB / 0.8742 GB, free: 42.77 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.909e-05/1.627, allocations: 8 kB / 0.8742 GB, free: 42.76 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/1.627, allocations: 7.969 kB / 0.8742 GB, free: 42.75 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/1.652, allocations: 13.26 MB / 0.8871 GB, free: 29.4 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/1.652, allocations: 4 kB / 0.8872 GB, free: 29.4 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.653, allocations: 395.4 kB / 0.8875 GB, free: 29.01 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005968/1.659, allocations: 2.46 MB / 0.8899 GB, free: 26.55 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005436/1.66, allocations: 39.98 kB / 0.89 GB, free: 26.51 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/1.677, allocations: 12.8 MB / 0.9025 GB, free: 13.57 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.677, allocations: 4 kB / 0.9025 GB, free: 13.57 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.692, allocations: 10.22 MB / 0.9125 GB, free: 3.289 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.693, allocations: 483.7 kB / 0.9129 GB, free: 2.793 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.695, allocations: 43.98 kB / 0.913 GB, free: 2.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.698, allocations: 255.6 kB / 0.9132 GB, free: 2.5 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/1.699, allocations: 129.1 kB / 0.9133 GB, free: 2.375 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004003/1.699, allocations: 63.66 kB / 0.9134 GB, free: 2.316 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.006201/1.706, allocations: 3.109 MB / 0.9164 GB, free: 15.21 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.51e-07/1.706, allocations: 6.906 kB / 0.9164 GB, free: 15.2 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.009333/1.715, allocations: 1.302 MB / 0.9177 GB, free: 13.91 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.001042/1.716, allocations: 177.1 kB / 0.9179 GB, free: 13.73 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.73, allocations: 7.087 MB / 0.9248 GB, free: 6.652 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.73, allocations: 4 kB / 0.9248 GB, free: 6.648 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.00512/1.735, allocations: 2.675 MB / 0.9274 GB, free: 3.961 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/1.741, allocations: 0.6065 MB / 0.928 GB, free: 3.355 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/1.768, allocations: 14.75 MB / 0.9424 GB, free: 4.559 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00647/1.775, allocations: 3.934 MB / 0.9462 GB, free: 0.5938 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.005902/1.781, allocations: 2.193 MB / 0.9484 GB, free: 14.39 MB / 0.6392 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.782, allocations: 275.3 kB / 0.9486 GB, free: 14.12 MB / 0.6392 GB Notification: Performance of SimCode: time 8.51e-07/1.782, allocations: 0 / 0.9486 GB, free: 14.12 MB / 0.6392 GB Notification: Performance of Templates: time 0.09521/1.877, allocations: 56.11 MB / 1.003 GB, free: 6.297 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/jenkins/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