Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009314/0.0009315, allocations: 101.5 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000996/0.0009961, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 11.98 kB / 306.6 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 51.48 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.256/0.4014, allocations: 43.13 MB / 401.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0298/0.4313, allocations: 10.75 MB / 412 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01065/0.442, allocations: 221 kB / 412.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007888/0.4499, allocations: 2.134 MB / 414.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02133/0.4713, allocations: 6.287 MB / 420.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.4752, allocations: 0.7137 MB / 421.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.06963/0.5448, allocations: 48.32 MB / 469.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007663/0.5525, allocations: 4.588 MB / 474.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.5553, allocations: 1.133 MB / 475.3 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.5581, allocations: 1.495 MB / 476.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008886/0.559, allocations: 148 kB / 477 MB, free: 4.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.5614, allocations: 0.909 MB / 477.9 MB, free: 3.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.5637, allocations: 1.711 MB / 479.6 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.5651, allocations: 0.8856 MB / 480.5 MB, free: 1.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007323/0.5725, allocations: 6.219 MB / 486.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5725, allocations: 0 / 486.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5725, allocations: 0 / 486.7 MB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002377/0.5727, allocations: 0 / 486.7 MB, free: 10.78 MB / 398.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.01327/0.586, allocations: 4.733 MB / 491.4 MB, free: 5.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5861, allocations: 12.02 kB / 491.5 MB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1735/0.7596, allocations: 14.55 MB / 0.4942 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.7698, allocations: 3.631 MB / 0.4977 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.7701, allocations: 246.1 kB / 0.4979 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.7714, allocations: 323.8 kB / 0.4982 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/0.7927, allocations: 9.975 MB / 0.508 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002576/0.7931, allocations: 43.66 kB / 0.508 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008678/0.794, allocations: 155.8 kB / 0.5082 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003604/0.7976, allocations: 1.963 MB / 0.5101 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.8168, allocations: 8.406 MB / 0.5183 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/1.099, allocations: 38.45 MB / 0.5558 GB, free: 124.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008818/1.108, allocations: 3.88 MB / 0.5596 GB, free: 123.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/1.109, allocations: 0.6483 MB / 0.5603 GB, free: 122.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.109, allocations: 60.64 kB / 0.5603 GB, free: 122.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.729e-06/1.109, allocations: 0 / 0.5603 GB, free: 122.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05392/1.163, allocations: 21.68 MB / 0.5815 GB, free: 113.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/1.163, allocations: 255.1 kB / 0.5817 GB, free: 112.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/1.168, allocations: 4.411 MB / 0.586 GB, free: 108.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/1.168, allocations: 49.7 kB / 0.5861 GB, free: 108.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.169, allocations: 3.163 MB / 0.5892 GB, free: 105.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/1.17, allocations: 0.7677 MB / 0.5899 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.17, allocations: 116 kB / 0.59 GB, free: 104.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/1.17, allocations: 0.5571 MB / 0.5906 GB, free: 103.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002559/1.173, allocations: 2.248 MB / 0.5928 GB, free: 101.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/1.177, allocations: 5.692 MB / 0.5983 GB, free: 94.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/1.18, allocations: 3.518 MB / 0.6018 GB, free: 90.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-05/1.18, allocations: 36 kB / 0.6018 GB, free: 90.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01575/1.196, allocations: 9.509 MB / 0.6111 GB, free: 81.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/1.196, allocations: 56 kB / 0.6112 GB, free: 81.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/1.196, allocations: 128 kB / 0.6113 GB, free: 80.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005252/1.202, allocations: 2.085 MB / 0.6133 GB, free: 78.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.205, allocations: 1.255 MB / 0.6145 GB, free: 77.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/1.222, allocations: 16.45 MB / 0.6306 GB, free: 60.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/1.227, allocations: 344 kB / 0.6309 GB, free: 60.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006326/1.228, allocations: 356.7 kB / 0.6313 GB, free: 60.09 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.002816/1.231, allocations: 2.163 MB / 0.6334 GB, free: 57.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/1.231, allocations: 375.1 kB / 0.6337 GB, free: 57.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006711/1.238, allocations: 4.283 MB / 0.6379 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.238, allocations: 24 kB / 0.6379 GB, free: 53.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.238, allocations: 11.95 kB / 0.638 GB, free: 53.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.238, allocations: 7.969 kB / 0.638 GB, free: 53.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.254, allocations: 10.12 MB / 0.6478 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.254, allocations: 4 kB / 0.6479 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.255, allocations: 287.5 kB / 0.6481 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/1.259, allocations: 1.359 MB / 0.6495 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/1.259, allocations: 30.11 kB / 0.6495 GB, free: 41.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009994/1.269, allocations: 8.651 MB / 0.6579 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.269, allocations: 0 / 0.6579 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00951/1.278, allocations: 7.36 MB / 0.6651 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.279, allocations: 440 kB / 0.6655 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004613/1.28, allocations: 39.56 kB / 0.6656 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/1.282, allocations: 123.8 kB / 0.6657 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.282, allocations: 126.1 kB / 0.6658 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.282, allocations: 48 kB / 0.6659 GB, free: 24.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003382/1.286, allocations: 2.821 MB / 0.6686 GB, free: 21.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/1.286, allocations: 0 / 0.6686 GB, free: 21.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004691/1.29, allocations: 1.139 MB / 0.6697 GB, free: 20.41 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.0004586/1.291, allocations: 180.3 kB / 0.6699 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007607/1.298, allocations: 5.981 MB / 0.6757 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.298, allocations: 4 kB / 0.6757 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/1.302, allocations: 2.217 MB / 0.6779 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.304, allocations: 0.541 MB / 0.6784 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.319, allocations: 11.84 MB / 0.69 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003938/1.323, allocations: 3.535 MB / 0.6934 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004746/1.328, allocations: 1.89 MB / 0.6953 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/1.328, allocations: 255.4 kB / 0.6955 GB, free: 9.863 MB / 462.1 MB Notification: Performance of SimCode: time 4.61e-07/1.328, allocations: 0 / 0.6955 GB, free: 9.863 MB / 462.1 MB Notification: Performance of Templates: time 0.2651/1.593, allocations: 46.79 MB / 0.7412 GB, free: 133.3 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches