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.001627/0.001626, allocations: 193.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008455/0.0008456, allocations: 96.66 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.5e-05/1.498e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 51.47 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4532, allocations: 98.5 MB / 493.7 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.4535, allocations: 85.08 kB / 493.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2471/0.7007, allocations: 94.28 MB / 0.5742 GB, free: 1.254 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.868e-06/0.7007, allocations: 0 / 0.5742 GB, free: 1.254 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003149/0.7011, allocations: 88 kB / 0.5743 GB, free: 1.168 MB / 442.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.2371/0.9382, allocations: 4.437 MB / 0.5787 GB, free: 75.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.9382, allocations: 9.469 kB / 0.5787 GB, free: 75.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02467/0.9629, allocations: 6.708 MB / 0.5852 GB, free: 75.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.9754, allocations: 5.166 MB / 0.5903 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.9757, allocations: 135.2 kB / 0.5904 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.9776, allocations: 251.4 kB / 0.5906 GB, free: 75.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009037/0.9866, allocations: 5.981 MB / 0.5965 GB, free: 74.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.9987, allocations: 9.174 MB / 0.6054 GB, free: 72.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/0.9989, allocations: 59.91 kB / 0.6055 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.9993, allocations: 32.66 kB / 0.6055 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001264/1.001, allocations: 0.9754 MB / 0.6065 GB, free: 72.51 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04033/1.041, allocations: 43.32 MB / 0.6488 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/1.045, allocations: 3.086 MB / 0.6518 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.046, allocations: 1.929 MB / 0.6537 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005174/1.047, allocations: 0.6467 MB / 0.6543 GB, free: 41.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.047, allocations: 56.34 kB / 0.6544 GB, free: 41.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 4.018e-06/1.047, allocations: 0 / 0.6544 GB, free: 41.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.03396/1.081, allocations: 17.95 MB / 0.6719 GB, free: 34.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/1.081, allocations: 253.5 kB / 0.6721 GB, free: 34.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/1.086, allocations: 3.183 MB / 0.6752 GB, free: 32.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/1.086, allocations: 26.36 kB / 0.6753 GB, free: 32.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.088, allocations: 3.222 MB / 0.6784 GB, free: 30.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/1.089, allocations: 0.7397 MB / 0.6791 GB, free: 29.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/1.089, allocations: 2.531 kB / 0.6791 GB, free: 29.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/1.089, allocations: 0.563 MB / 0.6797 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/1.092, allocations: 2.079 MB / 0.6817 GB, free: 28.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/1.096, allocations: 5.656 MB / 0.6872 GB, free: 23.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/1.1, allocations: 3.404 MB / 0.6906 GB, free: 21.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.214e-05/1.1, allocations: 35.62 kB / 0.6906 GB, free: 21.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01579/1.115, allocations: 8.571 MB / 0.699 GB, free: 18.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/1.116, allocations: 57.62 kB / 0.699 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-05/1.116, allocations: 127.6 kB / 0.6991 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00502/1.121, allocations: 1.951 MB / 0.7011 GB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.125, allocations: 1.303 MB / 0.7023 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.142, allocations: 14.12 MB / 0.7161 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/1.148, allocations: 222.1 kB / 0.7163 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/1.15, allocations: 375 kB / 0.7167 GB, free: 5.906 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (699): * Single equations (assignments): 693 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002613/1.153, allocations: 435 kB / 0.7171 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.154, allocations: 358.2 kB / 0.7174 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007803/1.162, allocations: 3.884 MB / 0.7212 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/1.162, allocations: 24 kB / 0.7213 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.162, allocations: 8 kB / 0.7213 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/1.162, allocations: 6.844 kB / 0.7213 GB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.179, allocations: 8.778 MB / 0.7298 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.179, allocations: 4 kB / 0.7299 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.18, allocations: 280.1 kB / 0.7301 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.184, allocations: 1.204 MB / 0.7313 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.184, allocations: 4 kB / 0.7313 GB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009753/1.194, allocations: 7.031 MB / 0.7382 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.194, allocations: 0 / 0.7382 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2787/1.472, allocations: 6.827 MB / 0.7448 GB, free: 80.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.474, allocations: 394.1 kB / 0.7452 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004906/1.474, allocations: 0 / 0.7452 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.475, allocations: 89.11 kB / 0.7453 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.476, allocations: 112.7 kB / 0.7454 GB, free: 80.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.476, allocations: 58.48 kB / 0.7455 GB, free: 80.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003343/1.479, allocations: 2.149 MB / 0.7476 GB, free: 80.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.479, allocations: 0 / 0.7476 GB, free: 80.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005296/1.485, allocations: 0.9594 MB / 0.7485 GB, free: 80.69 MB / 458.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 () * 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.0004264/1.485, allocations: 152.6 kB / 0.7486 GB, free: 80.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007758/1.493, allocations: 5.643 MB / 0.7541 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.493, allocations: 0 / 0.7541 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.495, allocations: 1.96 MB / 0.7561 GB, free: 80.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.498, allocations: 461 kB / 0.7565 GB, free: 80.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.514, allocations: 8.226 MB / 0.7645 GB, free: 78.53 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003903/1.517, allocations: 3.535 MB / 0.768 GB, free: 77.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004982/1.522, allocations: 1.92 MB / 0.7699 GB, free: 77.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008667/1.523, allocations: 237.9 kB / 0.7701 GB, free: 77.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/1.523, allocations: 1.094 kB / 0.7701 GB, free: 77.68 MB / 458.7 MB Notification: Performance of Templates: time 0.07675/1.6, allocations: 40.58 MB / 0.8097 GB, free: 75.95 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/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