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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009754/0.0009751, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 226.5 MB / 245.4 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008719/0.000872, allocations: 96.66 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002313, allocations: 4 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2195, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.3363, allocations: 99.27 MB / 0.4967 GB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.3366, allocations: 93.45 kB / 0.4968 GB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4006/0.7372, allocations: 93.39 MB / 0.588 GB, free: 23.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7373, allocations: 0 / 0.588 GB, free: 23.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002866/0.7376, allocations: 103.9 kB / 0.5881 GB, free: 23.5 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01409/0.7517, allocations: 4.672 MB / 0.5927 GB, free: 18.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7517, allocations: 15.97 kB / 0.5927 GB, free: 18.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.026/0.7777, allocations: 5.056 MB / 0.5976 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009871/0.7876, allocations: 4.49 MB / 0.602 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.7879, allocations: 324.7 kB / 0.6023 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.7899, allocations: 436.1 kB / 0.6028 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.8102, allocations: 10.16 MB / 0.6127 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/0.8105, allocations: 59.64 kB / 0.6127 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001422/0.812, allocations: 211.8 kB / 0.6129 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.8134, allocations: 0.9718 MB / 0.6139 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.8303, allocations: 8.312 MB / 0.622 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/0.8875, allocations: 45.09 MB / 0.666 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.896, allocations: 3.821 MB / 0.6698 GB, free: 1.199 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2195/1.116, allocations: 1.98 MB / 0.6717 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007653/1.116, allocations: 0.6516 MB / 0.6723 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.116, allocations: 55.88 kB / 0.6724 GB, free: 100.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 4.929e-06/1.116, allocations: 0 / 0.6724 GB, free: 100.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.05027/1.167, allocations: 20.17 MB / 0.6921 GB, free: 97.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/1.167, allocations: 253.7 kB / 0.6923 GB, free: 97.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007783/1.175, allocations: 4.124 MB / 0.6963 GB, free: 97.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000423/1.175, allocations: 56.88 kB / 0.6964 GB, free: 97.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.177, allocations: 3.174 MB / 0.6995 GB, free: 95.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.178, allocations: 0.7599 MB / 0.7002 GB, free: 95.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005701/1.179, allocations: 117.1 kB / 0.7004 GB, free: 95.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004407/1.179, allocations: 0.555 MB / 0.7009 GB, free: 94.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/1.183, allocations: 2.196 MB / 0.703 GB, free: 94.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/1.187, allocations: 5.683 MB / 0.7086 GB, free: 90.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007752/1.195, allocations: 8.553 MB / 0.7169 GB, free: 84.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.195, allocations: 38.03 kB / 0.717 GB, free: 84.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01539/1.211, allocations: 9.342 MB / 0.7261 GB, free: 80.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.211, allocations: 58.12 kB / 0.7262 GB, free: 80.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/1.211, allocations: 121.3 kB / 0.7263 GB, free: 80.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/1.216, allocations: 1.966 MB / 0.7282 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/1.22, allocations: 1.26 MB / 0.7294 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/1.236, allocations: 15.02 MB / 0.7441 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/1.241, allocations: 332.2 kB / 0.7444 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.242, allocations: 351.8 kB / 0.7447 GB, free: 69.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * 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 (675): * Single equations (assignments): 669 * 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.005086/1.247, allocations: 2.17 MB / 0.7469 GB, free: 67.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009068/1.248, allocations: 378.4 kB / 0.7472 GB, free: 67.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/1.255, allocations: 4.071 MB / 0.7512 GB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.255, allocations: 24 kB / 0.7512 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.255, allocations: 8 kB / 0.7512 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.255, allocations: 9.938 kB / 0.7512 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/1.271, allocations: 9.736 MB / 0.7608 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.271, allocations: 0 / 0.7608 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.273, allocations: 286.2 kB / 0.761 GB, free: 55.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/1.276, allocations: 1.209 MB / 0.7622 GB, free: 54.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.276, allocations: 36.86 kB / 0.7622 GB, free: 54.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008598/1.285, allocations: 7.572 MB / 0.7696 GB, free: 48.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.285, allocations: 4 kB / 0.7696 GB, free: 48.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009269/1.294, allocations: 6.92 MB / 0.7764 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.295, allocations: 429.1 kB / 0.7768 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006418/1.296, allocations: 32 kB / 0.7768 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.297, allocations: 127.8 kB / 0.777 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.298, allocations: 113.4 kB / 0.7771 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.298, allocations: 48.41 kB / 0.7771 GB, free: 41.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004124/1.302, allocations: 2.588 MB / 0.7796 GB, free: 39.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.302, allocations: 0 / 0.7796 GB, free: 39.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00576/1.308, allocations: 1.112 MB / 0.7807 GB, free: 38.43 MB / 442.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 (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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005331/1.308, allocations: 188 kB / 0.7809 GB, free: 38.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007851/1.316, allocations: 5.878 MB / 0.7866 GB, free: 33.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.316, allocations: 4 kB / 0.7866 GB, free: 33.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/1.319, allocations: 2.045 MB / 0.7886 GB, free: 31.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004256/1.323, allocations: 0.5492 MB / 0.7892 GB, free: 30.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.339, allocations: 11.82 MB / 0.8007 GB, free: 19.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/1.343, allocations: 3.437 MB / 0.8041 GB, free: 16.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004621/1.348, allocations: 1.892 MB / 0.8059 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/1.349, allocations: 247.4 kB / 0.8062 GB, free: 14.37 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/1.349, allocations: 0 / 0.8062 GB, free: 14.37 MB / 442.7 MB Notification: Performance of Templates: time 0.3081/1.657, allocations: 45.13 MB / 0.8502 GB, free: 102.5 MB / 458.7 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/jenkins1/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