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.0007495/0.0007496, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.000873/0.0008731, allocations: 186 kB / 17.57 MB, free: 6.199 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.268/1.268, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9349/0.9349, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002851, allocations: 8 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4956, allocations: 82.84 MB / 0.5758 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.03745/0.5331, allocations: 56.34 MB / 0.6308 GB, free: 5.742 MB / 478.3 MB Notification: Performance of NFInst.instExpressions: time 0.03178/0.565, allocations: 12.03 MB / 0.6426 GB, free: 9.668 MB / 494.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01326/0.5783, allocations: 255.3 kB / 0.6428 GB, free: 9.418 MB / 494.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.5803, allocations: 445.7 kB / 0.6432 GB, free: 8.98 MB / 494.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005837/0.5862, allocations: 2.028 MB / 0.6452 GB, free: 6.945 MB / 494.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.5884, allocations: 0.8972 MB / 0.6461 GB, free: 6.047 MB / 494.3 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.5996, allocations: 9.863 MB / 0.6557 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008863/0.6085, allocations: 6.306 MB / 0.6619 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.6118, allocations: 1.521 MB / 0.6634 GB, free: 4.238 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004169/0.616, allocations: 2.585 MB / 0.6659 GB, free: 1.645 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.6171, allocations: 172 kB / 0.6661 GB, free: 1.477 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.6198, allocations: 1.131 MB / 0.6672 GB, free: 352 kB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.6226, allocations: 2.22 MB / 0.6693 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003958/0.6266, allocations: 2.412 MB / 0.6717 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.008997/0.6356, allocations: 8.32 MB / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6356, allocations: 0 / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6356, allocations: 0 / 0.6798 GB, free: 3.336 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0003081/0.6359, allocations: 0 / 0.6798 GB, free: 3.336 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.01217/0.6481, allocations: 5.375 MB / 0.6851 GB, free: 13.88 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6482, allocations: 12.03 kB / 0.6851 GB, free: 13.87 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/0.6874, allocations: 5.365 MB / 0.6903 GB, free: 8.492 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/0.6989, allocations: 5.012 MB / 0.6952 GB, free: 3.398 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.6992, allocations: 267.2 kB / 0.6955 GB, free: 3.137 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.7007, allocations: 375.8 kB / 0.6958 GB, free: 2.77 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.724, allocations: 11.73 MB / 0.7073 GB, free: 6.324 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/0.7243, allocations: 59.5 kB / 0.7073 GB, free: 6.266 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/0.7258, allocations: 167.9 kB / 0.7075 GB, free: 6.102 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003784/0.7296, allocations: 2.076 MB / 0.7095 GB, free: 4.02 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02187/0.7515, allocations: 10.46 MB / 0.7197 GB, free: 9.531 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6189/1.37, allocations: 43.46 MB / 0.7622 GB, free: 153.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/1.381, allocations: 4.763 MB / 0.7668 GB, free: 153.2 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003769/1.385, allocations: 2.905 MB / 0.7697 GB, free: 153.2 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.399, allocations: 10.28 MB / 0.7797 GB, free: 149.3 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.399, allocations: 58.11 kB / 0.7798 GB, free: 149.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=186): time 5.23e-06/1.4, allocations: 3.484 kB / 0.7798 GB, free: 149.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=218): time 0.06122/1.461, allocations: 28.22 MB / 0.8073 GB, free: 129.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/1.461, allocations: 307.6 kB / 0.8076 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006459/1.467, allocations: 4.844 MB / 0.8124 GB, free: 124.3 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0006223/1.468, allocations: 57.7 kB / 0.8124 GB, free: 124.2 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.47, allocations: 3.328 MB / 0.8157 GB, free: 120.9 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008488/1.471, allocations: 0.8237 MB / 0.8165 GB, free: 120.1 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005952/1.471, allocations: 0.5665 MB / 0.817 GB, free: 119.5 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.968e-05/1.471, allocations: 305.1 kB / 0.8173 GB, free: 119.2 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/1.474, allocations: 2.999 MB / 0.8202 GB, free: 116.2 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/1.479, allocations: 6.535 MB / 0.8266 GB, free: 108.1 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008836/1.488, allocations: 10.1 MB / 0.8365 GB, free: 96.42 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.003e-05/1.488, allocations: 35.94 kB / 0.8365 GB, free: 96.38 MB / 0.5923 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01933/1.507, allocations: 11.78 MB / 0.848 GB, free: 84.59 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/1.507, allocations: 60.92 kB / 0.8481 GB, free: 84.53 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002773/1.508, allocations: 125.6 kB / 0.8482 GB, free: 84.41 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006239/1.514, allocations: 2.661 MB / 0.8508 GB, free: 81.73 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/1.519, allocations: 1.536 MB / 0.8523 GB, free: 80.19 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.533, allocations: 13.28 MB / 0.8653 GB, free: 66.77 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/1.539, allocations: 479.2 kB / 0.8657 GB, free: 66.3 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.54, allocations: 369.6 kB / 0.8661 GB, free: 65.94 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.00486/1.545, allocations: 2.6 MB / 0.8686 GB, free: 63.33 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.546, allocations: 418.7 kB / 0.869 GB, free: 62.92 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.557, allocations: 6.631 MB / 0.8755 GB, free: 56.27 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-05/1.557, allocations: 24 kB / 0.8755 GB, free: 56.25 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/1.557, allocations: 11.94 kB / 0.8755 GB, free: 56.23 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/1.557, allocations: 16.03 kB / 0.8755 GB, free: 56.22 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/1.581, allocations: 13.26 MB / 0.8885 GB, free: 42.87 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.581, allocations: 4.281 kB / 0.8885 GB, free: 42.87 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/1.583, allocations: 395.4 kB / 0.8889 GB, free: 42.48 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/1.589, allocations: 2.464 MB / 0.8913 GB, free: 40.01 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003809/1.589, allocations: 36 kB / 0.8913 GB, free: 39.98 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/1.603, allocations: 12.81 MB / 0.9038 GB, free: 27.04 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.603, allocations: 11.88 kB / 0.9038 GB, free: 27.02 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.618, allocations: 10.21 MB / 0.9138 GB, free: 16.75 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.619, allocations: 499.6 kB / 0.9143 GB, free: 16.24 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.62, allocations: 45.45 kB / 0.9143 GB, free: 16.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/1.623, allocations: 259.5 kB / 0.9146 GB, free: 15.95 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005624/1.624, allocations: 129.1 kB / 0.9147 GB, free: 15.82 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.624, allocations: 64.47 kB / 0.9147 GB, free: 15.76 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.005855/1.63, allocations: 3.109 MB / 0.9178 GB, free: 12.65 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.51e-07/1.63, allocations: 0 / 0.9178 GB, free: 12.65 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007281/1.637, allocations: 1.304 MB / 0.919 GB, free: 11.35 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.0008797/1.638, allocations: 181.4 kB / 0.9192 GB, free: 11.17 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.649, allocations: 7.091 MB / 0.9261 GB, free: 4.094 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.649, allocations: 5.312 kB / 0.9261 GB, free: 4.09 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/1.652, allocations: 2.676 MB / 0.9288 GB, free: 1.402 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00631/1.659, allocations: 0.5975 MB / 0.9293 GB, free: 0.8047 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.682, allocations: 14.85 MB / 0.9438 GB, free: 1.895 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006773/1.689, allocations: 3.934 MB / 0.9477 GB, free: 13.93 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.006325/1.696, allocations: 2.187 MB / 0.9498 GB, free: 11.73 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.697, allocations: 271.4 kB / 0.9501 GB, free: 11.47 MB / 0.6235 GB Notification: Performance of SimCode: time 1.122e-06/1.697, allocations: 4 kB / 0.9501 GB, free: 11.46 MB / 0.6235 GB Notification: Performance of Templates: time 0.1041/1.801, allocations: 54.88 MB / 1.004 GB, free: 4.887 MB / 0.6704 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