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.001218/0.001218, allocations: 111.4 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.001122/0.001122, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.284/1.284, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 119.3 MB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.4903 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6114, allocations: 80.67 MB / 0.569 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.04234/0.6538, allocations: 57.8 MB / 0.6255 GB, free: 7.922 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.03078/0.6847, allocations: 12.1 MB / 0.6373 GB, free: 11.79 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01636/0.7011, allocations: 255.3 kB / 0.6375 GB, free: 11.54 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0065/0.7076, allocations: 3.078 MB / 0.6405 GB, free: 8.449 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.7138, allocations: 2.017 MB / 0.6425 GB, free: 6.426 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.7161, allocations: 0.8932 MB / 0.6434 GB, free: 5.531 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.7279, allocations: 9.867 MB / 0.653 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/0.7341, allocations: 4.674 MB / 0.6576 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.7379, allocations: 1.814 MB / 0.6594 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.7427, allocations: 2.937 MB / 0.6622 GB, free: 2.137 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.744, allocations: 287.9 kB / 0.6625 GB, free: 1.855 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.747, allocations: 1.24 MB / 0.6637 GB, free: 0.6133 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002704/0.7497, allocations: 2.388 MB / 0.666 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003147/0.7529, allocations: 2.602 MB / 0.6686 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.7611, allocations: 8.564 MB / 0.677 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.7612, allocations: 3.984 kB / 0.677 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7612, allocations: 0 / 0.677 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.000244/0.7614, allocations: 4 kB / 0.677 GB, free: 3.004 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.01397/0.7754, allocations: 6.431 MB / 0.6832 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7755, allocations: 8.031 kB / 0.6832 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03377/0.8093, allocations: 5.271 MB / 0.6884 GB, free: 7.199 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.8211, allocations: 5.013 MB / 0.6933 GB, free: 2.105 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.8214, allocations: 267.2 kB / 0.6935 GB, free: 1.844 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.8229, allocations: 371.8 kB / 0.6939 GB, free: 1.48 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.8445, allocations: 11.7 MB / 0.7053 GB, free: 5.062 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.8447, allocations: 63.48 kB / 0.7054 GB, free: 5 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/0.8452, allocations: 167.9 kB / 0.7056 GB, free: 4.836 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003318/0.8485, allocations: 2.077 MB / 0.7076 GB, free: 2.746 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.8679, allocations: 10.44 MB / 0.7178 GB, free: 8.293 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6216/1.49, allocations: 43.41 MB / 0.7602 GB, free: 141 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/1.501, allocations: 4.756 MB / 0.7648 GB, free: 140.3 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/1.504, allocations: 2.904 MB / 0.7676 GB, free: 140.3 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/1.521, allocations: 10.28 MB / 0.7777 GB, free: 136.4 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.521, allocations: 55.78 kB / 0.7777 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 5.46e-06/1.521, allocations: 0 / 0.7777 GB, free: 136.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.06314/1.584, allocations: 28.2 MB / 0.8053 GB, free: 116.7 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.584, allocations: 304 kB / 0.8056 GB, free: 116.3 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/1.591, allocations: 4.844 MB / 0.8103 GB, free: 111.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006522/1.592, allocations: 61.64 kB / 0.8104 GB, free: 111.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.002039/1.594, allocations: 3.334 MB / 0.8136 GB, free: 108 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008764/1.594, allocations: 0.8242 MB / 0.8144 GB, free: 107.2 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/1.596, allocations: 1.332 MB / 0.8157 GB, free: 105.9 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/1.596, allocations: 301.1 kB / 0.816 GB, free: 105.6 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/1.599, allocations: 2.999 MB / 0.8189 GB, free: 102.6 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/1.604, allocations: 6.53 MB / 0.8253 GB, free: 94.48 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/1.613, allocations: 10.11 MB / 0.8352 GB, free: 82.93 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.547e-05/1.613, allocations: 36 kB / 0.8352 GB, free: 82.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01716/1.631, allocations: 11.77 MB / 0.8467 GB, free: 71.11 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/1.631, allocations: 63.94 kB / 0.8468 GB, free: 71.05 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.631, allocations: 120 kB / 0.8469 GB, free: 70.93 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005525/1.636, allocations: 2.666 MB / 0.8495 GB, free: 68.26 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.641, allocations: 1.54 MB / 0.851 GB, free: 66.72 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.655, allocations: 13.26 MB / 0.864 GB, free: 53.32 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005643/1.661, allocations: 475.2 kB / 0.8644 GB, free: 52.85 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.662, allocations: 364 kB / 0.8648 GB, free: 52.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.004735/1.667, allocations: 2.608 MB / 0.8673 GB, free: 49.88 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.668, allocations: 406.8 kB / 0.8677 GB, free: 49.48 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.678, allocations: 6.647 MB / 0.8742 GB, free: 42.82 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/1.678, allocations: 24 kB / 0.8742 GB, free: 42.79 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.678, allocations: 10.44 kB / 0.8742 GB, free: 42.79 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/1.678, allocations: 7.969 kB / 0.8742 GB, free: 42.78 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.7, allocations: 13.25 MB / 0.8872 GB, free: 29.44 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/1.7, allocations: 4 kB / 0.8872 GB, free: 29.43 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.702, allocations: 399.3 kB / 0.8875 GB, free: 29.04 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00521/1.707, allocations: 2.464 MB / 0.89 GB, free: 26.57 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003609/1.707, allocations: 39.98 kB / 0.89 GB, free: 26.54 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.721, allocations: 12.79 MB / 0.9025 GB, free: 13.61 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.721, allocations: 7.281 kB / 0.9025 GB, free: 13.61 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.736, allocations: 10.21 MB / 0.9125 GB, free: 3.328 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.737, allocations: 487.7 kB / 0.9129 GB, free: 2.828 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.739, allocations: 43.98 kB / 0.913 GB, free: 2.785 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/1.742, allocations: 259.2 kB / 0.9132 GB, free: 2.535 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006352/1.742, allocations: 129 kB / 0.9133 GB, free: 2.41 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.742, allocations: 63.98 kB / 0.9134 GB, free: 2.348 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005199/1.748, allocations: 3.106 MB / 0.9164 GB, free: 15.24 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.11e-07/1.748, allocations: 4 kB / 0.9164 GB, free: 15.24 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006712/1.754, allocations: 1.302 MB / 0.9177 GB, free: 13.94 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.0005761/1.755, allocations: 177.1 kB / 0.9179 GB, free: 13.76 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.766, allocations: 7.088 MB / 0.9248 GB, free: 6.688 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.766, allocations: 4 kB / 0.9248 GB, free: 6.684 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/1.77, allocations: 2.675 MB / 0.9274 GB, free: 3.996 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.775, allocations: 0.6011 MB / 0.928 GB, free: 3.398 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.798, allocations: 14.75 MB / 0.9424 GB, free: 4.598 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004859/1.803, allocations: 3.934 MB / 0.9462 GB, free: 0.6328 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.0054/1.808, allocations: 2.195 MB / 0.9484 GB, free: 14.43 MB / 0.6392 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.809, allocations: 271.4 kB / 0.9487 GB, free: 14.16 MB / 0.6392 GB Notification: Performance of SimCode: time 7.71e-07/1.809, allocations: 0 / 0.9487 GB, free: 14.16 MB / 0.6392 GB Notification: Performance of Templates: time 0.1017/1.911, allocations: 56.12 MB / 1.003 GB, free: 6.34 MB / 0.686 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches