Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 88.14 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.4811, allocations: 97.69 MB / 472.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4815, allocations: 99.94 kB / 472.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6438/1.125, allocations: 94.85 MB / 0.5539 GB, free: 61.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.125, allocations: 0 / 0.5539 GB, free: 61.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003204/1.126, allocations: 84 kB / 0.554 GB, free: 61.76 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01938/1.145, allocations: 4.906 MB / 0.5588 GB, free: 56.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.145, allocations: 8.031 kB / 0.5588 GB, free: 56.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04753/1.193, allocations: 6.729 MB / 0.5653 GB, free: 50.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/1.214, allocations: 6.208 MB / 0.5714 GB, free: 43.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/1.215, allocations: 328.6 kB / 0.5717 GB, free: 43.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/1.217, allocations: 451.6 kB / 0.5721 GB, free: 42.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/1.247, allocations: 10.5 MB / 0.5824 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003252/1.248, allocations: 63.45 kB / 0.5825 GB, free: 31.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/1.249, allocations: 211.9 kB / 0.5827 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/1.251, allocations: 1.011 MB / 0.5836 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02563/1.277, allocations: 8.691 MB / 0.5921 GB, free: 21.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06946/1.347, allocations: 46.16 MB / 0.6372 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/1.362, allocations: 4.002 MB / 0.6411 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/1.363, allocations: 0.6483 MB / 0.6417 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/1.363, allocations: 63.48 kB / 0.6418 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.511e-06/1.364, allocations: 0 / 0.6418 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.3794/1.743, allocations: 21.28 MB / 0.6626 GB, free: 91.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.743, allocations: 257.7 kB / 0.6628 GB, free: 91.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/1.751, allocations: 3.751 MB / 0.6665 GB, free: 91.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005286/1.752, allocations: 57.58 kB / 0.6666 GB, free: 91.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002442/1.754, allocations: 3.147 MB / 0.6696 GB, free: 89.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.756, allocations: 0.7987 MB / 0.6704 GB, free: 88.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/1.756, allocations: 118.2 kB / 0.6705 GB, free: 88.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003404/1.756, allocations: 0.5588 MB / 0.6711 GB, free: 88.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/1.762, allocations: 2.26 MB / 0.6733 GB, free: 88.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006989/1.769, allocations: 5.806 MB / 0.6789 GB, free: 83.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007863/1.776, allocations: 3.558 MB / 0.6824 GB, free: 82.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-05/1.777, allocations: 40.67 kB / 0.6825 GB, free: 82.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02734/1.804, allocations: 9.39 MB / 0.6916 GB, free: 79.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.804, allocations: 60.44 kB / 0.6917 GB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/1.804, allocations: 128.5 kB / 0.6918 GB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.814, allocations: 1.986 MB / 0.6937 GB, free: 78.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007609/1.822, allocations: 1.297 MB / 0.695 GB, free: 78.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/1.852, allocations: 15.53 MB / 0.7102 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007083/1.86, allocations: 348.6 kB / 0.7105 GB, free: 66.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.861, allocations: 367 kB / 0.7109 GB, free: 66.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 691 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.005886/1.867, allocations: 2.229 MB / 0.713 GB, free: 64.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.868, allocations: 387 kB / 0.7134 GB, free: 63.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.881, allocations: 4.199 MB / 0.7175 GB, free: 60.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/1.881, allocations: 24 kB / 0.7175 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.882, allocations: 4 kB / 0.7175 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-05/1.882, allocations: 15.92 kB / 0.7176 GB, free: 60.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/1.909, allocations: 10.01 MB / 0.7273 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/1.909, allocations: 0 / 0.7273 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.912, allocations: 299.5 kB / 0.7276 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/1.918, allocations: 1.222 MB / 0.7288 GB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004706/1.919, allocations: 39.89 kB / 0.7288 GB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/1.935, allocations: 7.858 MB / 0.7365 GB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.935, allocations: 6.297 kB / 0.7365 GB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01801/1.953, allocations: 7.23 MB / 0.7436 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.956, allocations: 0.7227 MB / 0.7443 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.957, allocations: 36 kB / 0.7443 GB, free: 37.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.96, allocations: 127.6 kB / 0.7444 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/1.961, allocations: 123.1 kB / 0.7446 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/1.961, allocations: 55.8 kB / 0.7446 GB, free: 37.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006627/1.968, allocations: 2.65 MB / 0.7472 GB, free: 34.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.968, allocations: 0 / 0.7472 GB, free: 34.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008073/1.976, allocations: 1.14 MB / 0.7483 GB, free: 33.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (157): * Single equations (assignments): 153 * 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%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009035/1.977, allocations: 187.3 kB / 0.7485 GB, free: 33.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01367/1.991, allocations: 6.037 MB / 0.7544 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.991, allocations: 0 / 0.7544 GB, free: 27.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005409/1.996, allocations: 2.096 MB / 0.7564 GB, free: 25.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/2.001, allocations: 0.5138 MB / 0.7569 GB, free: 24.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/2.029, allocations: 12.69 MB / 0.7693 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007048/2.037, allocations: 3.624 MB / 0.7729 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/2.038, allocations: 303.4 kB / 0.7732 GB, free: 7.969 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/2.038, allocations: 0.5625 kB / 0.7732 GB, free: 7.969 MB / 410.7 MB Notification: Performance of Templates: time 0.4906/2.529, allocations: 99.37 MB / 0.8702 GB, free: 76.76 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches