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.0008585/0.0008634, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001253/0.001254, allocations: 183.5 kB / 17.2 MB, free: 6.34 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.348/1.348, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8156/0.8156, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003133, allocations: 12 kB / 0.4942 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1621, allocations: 82.84 MB / 0.5751 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.5408/0.703, allocations: 49.48 MB / 0.6234 GB, free: 1.574 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.03324/0.7363, allocations: 12 MB / 0.6351 GB, free: 9.188 MB / 478.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01376/0.7501, allocations: 256.6 kB / 0.6354 GB, free: 9.141 MB / 478.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.7603, allocations: 2.469 MB / 0.6378 GB, free: 7.305 MB / 478.3 MB Notification: Performance of NFTyping.typeBindings: time 0.02716/0.7875, allocations: 7.251 MB / 0.6448 GB, free: 1.184 MB / 478.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.7919, allocations: 0.8347 MB / 0.6457 GB, free: 356 kB / 478.3 MB Notification: Performance of NFFlatten.flatten: time 0.09124/0.8832, allocations: 71.03 MB / 0.715 GB, free: 9.25 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00819/0.8914, allocations: 5.436 MB / 0.7203 GB, free: 3.75 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.8942, allocations: 1.363 MB / 0.7217 GB, free: 2.383 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.8972, allocations: 1.819 MB / 0.7234 GB, free: 0.5586 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.8979, allocations: 172 kB / 0.7236 GB, free: 400 kB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.9, allocations: 0.9519 MB / 0.7245 GB, free: 15.44 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.902, allocations: 2.022 MB / 0.7265 GB, free: 13.41 MB / 0.5608 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.9034, allocations: 0.9986 MB / 0.7275 GB, free: 12.4 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.9112, allocations: 7.393 MB / 0.7347 GB, free: 4.992 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9112, allocations: 0 / 0.7347 GB, free: 4.992 MB / 0.5608 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9112, allocations: 4 kB / 0.7347 GB, free: 4.988 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0002782/0.9115, allocations: 3.938 kB / 0.7347 GB, free: 4.984 MB / 0.5608 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.01614/0.9276, allocations: 6.065 MB / 0.7406 GB, free: 14.84 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9277, allocations: 11.97 kB / 0.7406 GB, free: 14.83 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2458/1.174, allocations: 31.98 MB / 0.7719 GB, free: 14.79 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/1.189, allocations: 5.116 MB / 0.7769 GB, free: 9.598 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002893/1.189, allocations: 262.8 kB / 0.7771 GB, free: 9.34 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/1.191, allocations: 367.7 kB / 0.7775 GB, free: 8.98 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/1.214, allocations: 11.59 MB / 0.7888 GB, free: 12.68 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.214, allocations: 63.45 kB / 0.7889 GB, free: 12.61 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/1.215, allocations: 171.8 kB / 0.789 GB, free: 12.45 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/1.218, allocations: 2.076 MB / 0.791 GB, free: 10.37 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/1.237, allocations: 10.11 MB / 0.8009 GB, free: 244 kB / 0.6233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6124/1.85, allocations: 42.97 MB / 0.8429 GB, free: 195.8 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/1.861, allocations: 4.686 MB / 0.8475 GB, free: 195.1 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0196/1.881, allocations: 9.877 MB / 0.8571 GB, free: 192.1 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/1.881, allocations: 58.36 kB / 0.8572 GB, free: 192 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=186): time 5.831e-06/1.881, allocations: 3.062 kB / 0.8572 GB, free: 192 MB / 0.6548 GB Notification: Performance of matching and sorting (n=218): time 0.0613/1.942, allocations: 26.77 MB / 0.8833 GB, free: 180.3 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/1.942, allocations: 313.6 kB / 0.8836 GB, free: 179.9 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/1.948, allocations: 5.209 MB / 0.8887 GB, free: 175.3 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0005546/1.949, allocations: 57.7 kB / 0.8887 GB, free: 175.2 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.951, allocations: 3.389 MB / 0.8921 GB, free: 171.8 MB / 0.6548 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008837/1.952, allocations: 0.8229 MB / 0.8929 GB, free: 171 MB / 0.6548 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.952, allocations: 116 kB / 0.893 GB, free: 170.9 MB / 0.6548 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.952, allocations: 0.5618 MB / 0.8935 GB, free: 170.3 MB / 0.6548 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/1.955, allocations: 2.682 MB / 0.8961 GB, free: 167.6 MB / 0.6548 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/1.959, allocations: 6.125 MB / 0.9021 GB, free: 159.9 MB / 0.6548 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/1.964, allocations: 4.015 MB / 0.906 GB, free: 156.1 MB / 0.6548 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-05/1.964, allocations: 39.98 kB / 0.9061 GB, free: 156.1 MB / 0.6548 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01597/1.98, allocations: 10.31 MB / 0.9162 GB, free: 145.8 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/1.98, allocations: 59.94 kB / 0.9162 GB, free: 145.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.98, allocations: 125 kB / 0.9163 GB, free: 145.6 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/1.985, allocations: 1.936 MB / 0.9182 GB, free: 143.7 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/1.989, allocations: 1.447 MB / 0.9196 GB, free: 142.2 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/2.003, allocations: 11.92 MB / 0.9313 GB, free: 130.2 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/2.008, allocations: 439.3 kB / 0.9317 GB, free: 129.7 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009342/2.009, allocations: 361.4 kB / 0.932 GB, free: 129.4 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (705): * Single equations (assignments): 701 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004431/2.013, allocations: 2.6 MB / 0.9346 GB, free: 126.8 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009751/2.014, allocations: 418.6 kB / 0.935 GB, free: 126.4 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008227/2.022, allocations: 5.628 MB / 0.9405 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.422e-05/2.022, allocations: 25.17 kB / 0.9405 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/2.022, allocations: 8 kB / 0.9405 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/2.022, allocations: 8.438 kB / 0.9405 GB, free: 120.7 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02144/2.044, allocations: 12.28 MB / 0.9525 GB, free: 108.3 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/2.044, allocations: 4 kB / 0.9525 GB, free: 108.3 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/2.045, allocations: 399.3 kB / 0.9529 GB, free: 107.9 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/2.049, allocations: 1.754 MB / 0.9546 GB, free: 106.2 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/2.05, allocations: 43.89 kB / 0.9546 GB, free: 106.1 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/2.062, allocations: 11.44 MB / 0.9658 GB, free: 94.54 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/2.062, allocations: 4 kB / 0.9658 GB, free: 94.54 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/2.074, allocations: 9.327 MB / 0.9749 GB, free: 85.06 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/2.075, allocations: 0.4995 MB / 0.9754 GB, free: 84.54 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/2.076, allocations: 46.38 kB / 0.9755 GB, free: 84.49 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/2.079, allocations: 231.6 kB / 0.9757 GB, free: 84.27 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004995/2.079, allocations: 125.1 kB / 0.9758 GB, free: 84.14 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/2.08, allocations: 60 kB / 0.9759 GB, free: 84.08 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.006115/2.086, allocations: 3.413 MB / 0.9792 GB, free: 80.67 MB / 0.6548 GB Notification: Performance of sort global known variables: time 3.91e-07/2.086, allocations: 0 / 0.9792 GB, free: 80.67 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.007618/2.093, allocations: 1.249 MB / 0.9804 GB, free: 79.43 MB / 0.6548 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006622/2.094, allocations: 201 kB / 0.9806 GB, free: 79.23 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.009528/2.104, allocations: 6.452 MB / 0.9869 GB, free: 72.8 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.104, allocations: 0 / 0.9869 GB, free: 72.8 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.004032/2.108, allocations: 2.54 MB / 0.9894 GB, free: 70.24 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005137/2.113, allocations: 0.621 MB / 0.99 GB, free: 69.62 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/2.138, allocations: 13.9 MB / 1.004 GB, free: 55.68 MB / 0.6548 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004879/2.143, allocations: 4.031 MB / 1.008 GB, free: 51.61 MB / 0.6548 GB Notification: Performance of simCode: alias equations: time 0.004687/2.148, allocations: 2.207 MB / 1.01 GB, free: 49.4 MB / 0.6548 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008003/2.149, allocations: 279.4 kB / 1.01 GB, free: 49.13 MB / 0.6548 GB Notification: Performance of SimCode: time 5.61e-07/2.149, allocations: 0 / 1.01 GB, free: 49.13 MB / 0.6548 GB Notification: Performance of Templates: time 0.07533/2.224, allocations: 52.74 MB / 1.061 GB, free: 12.7 MB / 0.6704 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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