Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.000889, allocations: 92.78 kB / 16.3 MB, free: 5.656 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.000927/0.0009271, allocations: 183.8 kB / 17.19 MB, free: 5.59 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.317/1.317, allocations: 223.2 MB / 241.1 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002453, allocations: 12.56 kB / 300.7 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.1001, allocations: 50.41 MB / 351.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2088/0.3089, allocations: 43.11 MB / 394.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02927/0.3382, allocations: 10.71 MB / 405 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.351, allocations: 226.2 kB / 405.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007809/0.3588, allocations: 2.138 MB / 407.3 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02335/0.3822, allocations: 6.303 MB / 413.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004522/0.3868, allocations: 0.7133 MB / 414.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.07054/0.4574, allocations: 48.25 MB / 462.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008893/0.4663, allocations: 4.607 MB / 467.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4692, allocations: 1.125 MB / 468.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.4724, allocations: 1.499 MB / 469.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.4735, allocations: 144 kB / 470 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.4761, allocations: 0.9246 MB / 470.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002501/0.4787, allocations: 1.718 MB / 472.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.4804, allocations: 0.8856 MB / 473.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007337/0.4877, allocations: 6.219 MB / 479.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4878, allocations: 0 / 479.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4878, allocations: 0 / 479.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.4881, allocations: 0 / 479.7 MB, free: 3.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.0136/0.5017, allocations: 4.714 MB / 484.4 MB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5017, allocations: 8.031 kB / 484.4 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1726/0.6744, allocations: 14.56 MB / 499 MB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008474/0.6829, allocations: 3.627 MB / 0.4908 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.6831, allocations: 242.2 kB / 0.4911 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000795/0.6839, allocations: 327.8 kB / 0.4914 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.7017, allocations: 9.982 MB / 0.5011 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.7019, allocations: 39.66 kB / 0.5012 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004453/0.7023, allocations: 155.8 kB / 0.5013 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0034/0.7058, allocations: 1.955 MB / 0.5032 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.722, allocations: 8.414 MB / 0.5114 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/0.9235, allocations: 38.44 MB / 0.549 GB, free: 130 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/0.9317, allocations: 3.886 MB / 0.5528 GB, free: 129.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.9323, allocations: 0.6563 MB / 0.5534 GB, free: 128.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.9324, allocations: 50.81 kB / 0.5535 GB, free: 128.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.538e-06/0.9324, allocations: 3.844 kB / 0.5535 GB, free: 128.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05196/0.9844, allocations: 21.68 MB / 0.5746 GB, free: 120.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.9845, allocations: 257.6 kB / 0.5749 GB, free: 120.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004786/0.9893, allocations: 4.408 MB / 0.5792 GB, free: 117.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003399/0.9896, allocations: 49.7 kB / 0.5792 GB, free: 117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.991, allocations: 3.172 MB / 0.5823 GB, free: 113.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/0.9916, allocations: 0.7598 MB / 0.5831 GB, free: 113.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.9918, allocations: 118.3 kB / 0.5832 GB, free: 113 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.9921, allocations: 0.5537 MB / 0.5837 GB, free: 112.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.9946, allocations: 2.248 MB / 0.5859 GB, free: 110.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.9984, allocations: 5.69 MB / 0.5915 GB, free: 102.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/1.002, allocations: 3.516 MB / 0.5949 GB, free: 99.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/1.002, allocations: 36 kB / 0.5949 GB, free: 99.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01504/1.017, allocations: 9.511 MB / 0.6042 GB, free: 89.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/1.017, allocations: 56 kB / 0.6043 GB, free: 89.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-05/1.018, allocations: 124 kB / 0.6044 GB, free: 89.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005278/1.023, allocations: 2.1 MB / 0.6065 GB, free: 87.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.026, allocations: 1.252 MB / 0.6077 GB, free: 86.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.043, allocations: 16.45 MB / 0.6237 GB, free: 69.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.048, allocations: 347.4 kB / 0.6241 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005049/1.048, allocations: 353.3 kB / 0.6244 GB, free: 68.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (671): * Single equations (assignments): 665 * 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 {(2,100.0%) 36,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002668/1.051, allocations: 2.164 MB / 0.6265 GB, free: 66.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/1.052, allocations: 379.1 kB / 0.6269 GB, free: 66.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006742/1.058, allocations: 4.278 MB / 0.6311 GB, free: 61.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/1.058, allocations: 27.94 kB / 0.6311 GB, free: 61.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.058, allocations: 12 kB / 0.6311 GB, free: 61.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.058, allocations: 7.969 kB / 0.6311 GB, free: 61.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/1.075, allocations: 10.13 MB / 0.641 GB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.075, allocations: 4 kB / 0.641 GB, free: 51.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.076, allocations: 283.7 kB / 0.6413 GB, free: 51.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/1.08, allocations: 1.352 MB / 0.6426 GB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/1.08, allocations: 40.8 kB / 0.6426 GB, free: 50.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.09, allocations: 8.644 MB / 0.6511 GB, free: 41.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.09, allocations: 4 kB / 0.6511 GB, free: 41.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009587/1.1, allocations: 7.368 MB / 0.6583 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.101, allocations: 440 kB / 0.6587 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/1.101, allocations: 36 kB / 0.6587 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.103, allocations: 129.5 kB / 0.6588 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/1.103, allocations: 109.2 kB / 0.659 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.103, allocations: 58.48 kB / 0.659 GB, free: 33.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003287/1.107, allocations: 2.824 MB / 0.6618 GB, free: 30.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.107, allocations: 0 / 0.6618 GB, free: 30.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004602/1.111, allocations: 1.143 MB / 0.6629 GB, free: 29.14 MB / 446.1 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 (147): * Single equations (assignments): 143 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004277/1.112, allocations: 198.9 kB / 0.6631 GB, free: 28.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007316/1.119, allocations: 5.98 MB / 0.6689 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.119, allocations: 0 / 0.6689 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003165/1.122, allocations: 2.21 MB / 0.6711 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.125, allocations: 0.5344 MB / 0.6716 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.138, allocations: 11.83 MB / 0.6831 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/1.141, allocations: 3.531 MB / 0.6866 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003866/1.145, allocations: 1.896 MB / 0.6884 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.145, allocations: 247.4 kB / 0.6887 GB, free: 2.609 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/1.145, allocations: 0 / 0.6887 GB, free: 2.609 MB / 446.1 MB Notification: Performance of Templates: time 0.238/1.383, allocations: 46.9 MB / 0.7345 GB, free: 146.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches