Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.0009244/0.0009245, allocations: 110.5 kB / 17.01 MB, free: 6.086 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.000853/0.000853, allocations: 196.5 kB / 17.95 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4453/0.4453, allocations: 225.7 MB / 244.4 MB, free: 6.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5938/0.5938, allocations: 119.5 MB / 414 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009974/0.0009974, allocations: 63.89 kB / 0.4945 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4247, allocations: 80.69 MB / 0.5733 GB, free: 56.49 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.009189/0.4339, allocations: 12.33 MB / 0.5854 GB, free: 47.75 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.4405, allocations: 4.444 MB / 0.5897 GB, free: 44.8 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.4418, allocations: 90.09 kB / 0.5898 GB, free: 44.78 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.4459, allocations: 3.09 MB / 0.5928 GB, free: 43.34 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.4493, allocations: 2.14 MB / 0.5949 GB, free: 41.99 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4506, allocations: 0.9804 MB / 0.5959 GB, free: 41.34 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.00547/0.4561, allocations: 7.057 MB / 0.6028 GB, free: 37.5 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.4591, allocations: 4.903 MB / 0.6076 GB, free: 33.34 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.4606, allocations: 2.099 MB / 0.6096 GB, free: 31.23 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.4623, allocations: 2.792 MB / 0.6123 GB, free: 28.43 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0004008/0.4627, allocations: 428 kB / 0.6127 GB, free: 28.02 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.464, allocations: 1.307 MB / 0.614 GB, free: 26.71 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.4651, allocations: 2.521 MB / 0.6165 GB, free: 24.18 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.4665, allocations: 2.75 MB / 0.6192 GB, free: 21.41 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.4705, allocations: 8.923 MB / 0.6279 GB, free: 12.46 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4705, allocations: 0 / 0.6279 GB, free: 12.46 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4705, allocations: 0 / 0.6279 GB, free: 12.46 MB / 478.2 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.4705, allocations: 3.938 kB / 0.6279 GB, free: 12.46 MB / 478.2 MB 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.007297/0.4778, allocations: 6.427 MB / 0.6342 GB, free: 5.953 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.4779, allocations: 8.031 kB / 0.6342 GB, free: 5.945 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.028/0.5059, allocations: 5.275 MB / 0.6393 GB, free: 0.6562 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.5138, allocations: 5.102 MB / 0.6443 GB, free: 11.47 MB / 494.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.5139, allocations: 267.4 kB / 0.6446 GB, free: 11.21 MB / 494.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005198/0.5145, allocations: 371.6 kB / 0.6449 GB, free: 10.85 MB / 494.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.5278, allocations: 11.7 MB / 0.6563 GB, free: 14.43 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.5279, allocations: 55.5 kB / 0.6564 GB, free: 14.38 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.5283, allocations: 171.8 kB / 0.6566 GB, free: 14.21 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.5311, allocations: 2.077 MB / 0.6586 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.5448, allocations: 10.44 MB / 0.6688 GB, free: 1.668 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.5816, allocations: 43.23 MB / 0.711 GB, free: 5.164 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008163/0.5898, allocations: 4.756 MB / 0.7156 GB, free: 268 kB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.5926, allocations: 2.899 MB / 0.7185 GB, free: 13.35 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.6045, allocations: 10.27 MB / 0.7285 GB, free: 2.953 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.6046, allocations: 55.81 kB / 0.7285 GB, free: 2.891 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=186): time 3.086e-06/0.6046, allocations: 0 / 0.7285 GB, free: 2.891 MB / 0.5608 GB Notification: Performance of matching and sorting (n=218): time 0.05426/0.6589, allocations: 28.2 MB / 0.7561 GB, free: 6.578 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.659, allocations: 316 kB / 0.7564 GB, free: 6.199 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.6638, allocations: 4.84 MB / 0.7611 GB, free: 1.344 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.6639, allocations: 57.7 kB / 0.7612 GB, free: 1.281 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.6657, allocations: 3.333 MB / 0.7644 GB, free: 13.9 MB / 0.6077 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.6663, allocations: 0.8253 MB / 0.7652 GB, free: 13.07 MB / 0.6077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.6677, allocations: 1.332 MB / 0.7665 GB, free: 11.72 MB / 0.6077 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.6678, allocations: 301.1 kB / 0.7668 GB, free: 11.43 MB / 0.6077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/0.6711, allocations: 3.002 MB / 0.7697 GB, free: 8.418 MB / 0.6077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005209/0.6764, allocations: 6.532 MB / 0.7761 GB, free: 156 kB / 0.6077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009046/0.6854, allocations: 10.09 MB / 0.786 GB, free: 4.359 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.6855, allocations: 36 kB / 0.786 GB, free: 4.324 MB / 0.6233 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.3819/1.067, allocations: 11.78 MB / 0.7975 GB, free: 183.2 MB / 0.6235 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/1.067, allocations: 57.31 kB / 0.7976 GB, free: 183.2 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.068, allocations: 121.1 kB / 0.7977 GB, free: 183.2 MB / 0.6235 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005115/1.073, allocations: 2.655 MB / 0.8003 GB, free: 182.8 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/1.076, allocations: 1.537 MB / 0.8018 GB, free: 182.7 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.09, allocations: 14.12 MB / 0.8156 GB, free: 177.4 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.094, allocations: 475.9 kB / 0.816 GB, free: 177.3 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.094, allocations: 368.4 kB / 0.8164 GB, free: 177.3 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.002376/1.096, allocations: 2.614 MB / 0.8189 GB, free: 176.2 MB / 0.6235 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/1.097, allocations: 410.7 kB / 0.8193 GB, free: 176.2 MB / 0.6235 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008192/1.105, allocations: 6.633 MB / 0.8258 GB, free: 173.3 MB / 0.6235 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.105, allocations: 26.56 kB / 0.8258 GB, free: 173.3 MB / 0.6235 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.105, allocations: 10.97 kB / 0.8258 GB, free: 173.3 MB / 0.6235 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.105, allocations: 11.69 kB / 0.8258 GB, free: 173.2 MB / 0.6235 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.119, allocations: 13.22 MB / 0.8388 GB, free: 162.2 MB / 0.6235 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.119, allocations: 7.938 kB / 0.8388 GB, free: 162.2 MB / 0.6235 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.121, allocations: 395.4 kB / 0.8391 GB, free: 161.8 MB / 0.6235 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004278/1.125, allocations: 2.459 MB / 0.8415 GB, free: 159.4 MB / 0.6235 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.125, allocations: 36 kB / 0.8416 GB, free: 159.3 MB / 0.6235 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.136, allocations: 13.64 MB / 0.8549 GB, free: 145.7 MB / 0.6235 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.136, allocations: 11.97 kB / 0.8549 GB, free: 145.6 MB / 0.6235 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.146, allocations: 10.23 MB / 0.8649 GB, free: 135.5 MB / 0.6235 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/1.147, allocations: 481.8 kB / 0.8654 GB, free: 135 MB / 0.6235 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/1.147, allocations: 42.58 kB / 0.8654 GB, free: 134.9 MB / 0.6235 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.149, allocations: 251.6 kB / 0.8656 GB, free: 134.7 MB / 0.6235 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.149, allocations: 144.3 kB / 0.8658 GB, free: 134.6 MB / 0.6235 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.149, allocations: 59.58 kB / 0.8658 GB, free: 134.5 MB / 0.6235 GB Notification: Performance of sorting global known variables: time 0.002603/1.152, allocations: 3.106 MB / 0.8689 GB, free: 131.4 MB / 0.6235 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 0.8689 GB, free: 131.4 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.003762/1.156, allocations: 1.303 MB / 0.8701 GB, free: 130.1 MB / 0.6235 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.0003114/1.156, allocations: 176.6 kB / 0.8703 GB, free: 129.9 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00619/1.162, allocations: 7.135 MB / 0.8773 GB, free: 122.8 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.162, allocations: 4.062 kB / 0.8773 GB, free: 122.8 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/1.164, allocations: 2.674 MB / 0.8799 GB, free: 120.1 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.167, allocations: 0.639 MB / 0.8805 GB, free: 119.5 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.177, allocations: 12.34 MB / 0.8926 GB, free: 107.1 MB / 0.6235 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.18, allocations: 3.934 MB / 0.8964 GB, free: 103.2 MB / 0.6235 GB Notification: Performance of simCode: alias equations: time 0.002941/1.183, allocations: 2.192 MB / 0.8986 GB, free: 101 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/1.183, allocations: 279.4 kB / 0.8988 GB, free: 100.7 MB / 0.6235 GB Notification: Performance of SimCode: time 4.2e-07/1.184, allocations: 0 / 0.8988 GB, free: 100.7 MB / 0.6235 GB Notification: Performance of Templates: time 0.0377/1.221, allocations: 52.96 MB / 0.9505 GB, free: 48.25 MB / 0.6235 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches