Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 227.7 MB / 247.7 MB, free: 10.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001964, allocations: 69.38 kB / 307.9 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1132, allocations: 50.52 MB / 358.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01415/0.1274, allocations: 11.79 MB / 370.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1906/0.3181, allocations: 4.337 MB / 374.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.3205, allocations: 80.03 kB / 374.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005652/0.3262, allocations: 2.876 MB / 377.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.332, allocations: 1.927 MB / 379.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3348, allocations: 1.039 MB / 380.5 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009065/0.3439, allocations: 5.603 MB / 386.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.3494, allocations: 3.98 MB / 390 MB, free: 5.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.3533, allocations: 1.688 MB / 391.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.3572, allocations: 2.289 MB / 394 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.3587, allocations: 365.2 kB / 394.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.3618, allocations: 1.226 MB / 395.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002422/0.3643, allocations: 2.078 MB / 397.7 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003755/0.3681, allocations: 2.341 MB / 400 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.3786, allocations: 7.326 MB / 407.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.3787, allocations: 4 kB / 407.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3787, allocations: 0 / 407.4 MB, free: 8.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002584/0.379, allocations: 0 / 407.4 MB, free: 8.402 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01369/0.3927, allocations: 5.176 MB / 412.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3927, allocations: 8.031 kB / 412.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02728/0.42, allocations: 3.161 MB / 415.7 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.4301, allocations: 3.453 MB / 419.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.4304, allocations: 235.5 kB / 419.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.4318, allocations: 332.1 kB / 419.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4505, allocations: 9.847 MB / 429.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.4507, allocations: 47.59 kB / 429.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000515/0.4512, allocations: 150.4 kB / 429.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003491/0.4547, allocations: 1.903 MB / 431.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.4716, allocations: 8.49 MB / 440.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/0.523, allocations: 38.39 MB / 478.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009041/0.5321, allocations: 3.942 MB / 482.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.5352, allocations: 2.191 MB / 484.7 MB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000773/0.536, allocations: 0.6405 MB / 485.3 MB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.5361, allocations: 67.42 kB / 485.4 MB, free: 8.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 4.889e-06/0.5361, allocations: 0 / 485.4 MB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.06336/0.5994, allocations: 22.52 MB / 0.496 GB, free: 2.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.5996, allocations: 252.6 kB / 0.4962 GB, free: 1.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006685/0.6063, allocations: 4.153 MB / 0.5003 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005033/0.6069, allocations: 59.97 kB / 0.5003 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002747/0.6096, allocations: 3.084 MB / 0.5033 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.6108, allocations: 0.7591 MB / 0.5041 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/0.6126, allocations: 1.252 MB / 0.5053 GB, free: 8.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6127, allocations: 305.1 kB / 0.5056 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.6165, allocations: 2.495 MB / 0.508 GB, free: 5.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/0.6234, allocations: 5.985 MB / 0.5139 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.636, allocations: 9.063 MB / 0.5227 GB, free: 3.207 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.6362, allocations: 36 kB / 0.5228 GB, free: 3.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.2028/0.839, allocations: 10.54 MB / 0.5331 GB, free: 135.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.8391, allocations: 60.56 kB / 0.5331 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.8393, allocations: 121.9 kB / 0.5332 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007946/0.8473, allocations: 2.601 MB / 0.5358 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/0.8515, allocations: 1.312 MB / 0.5371 GB, free: 134.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.8716, allocations: 18.66 MB / 0.5553 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/0.8758, allocations: 363.4 kB / 0.5556 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/0.8764, allocations: 363.6 kB / 0.556 GB, free: 125.1 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.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 (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002601/0.879, allocations: 2.135 MB / 0.5581 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/0.8795, allocations: 367.4 kB / 0.5584 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00809/0.8876, allocations: 5.035 MB / 0.5633 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.8877, allocations: 22.53 kB / 0.5633 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.8877, allocations: 7.5 kB / 0.5633 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.8878, allocations: 11.95 kB / 0.5634 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.9034, allocations: 10.77 MB / 0.5739 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.9035, allocations: 0 / 0.5739 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.9048, allocations: 295.2 kB / 0.5742 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004611/0.9094, allocations: 1.846 MB / 0.576 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/0.9098, allocations: 31.98 kB / 0.576 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.9205, allocations: 10.41 MB / 0.5862 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9206, allocations: 4.031 kB / 0.5862 GB, free: 99.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.9311, allocations: 8.151 MB / 0.5941 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009641/0.9321, allocations: 428.1 kB / 0.5945 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.9326, allocations: 36 kB / 0.5946 GB, free: 91.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.9342, allocations: 147.2 kB / 0.5947 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.9346, allocations: 113.1 kB / 0.5948 GB, free: 90.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.9347, allocations: 55.44 kB / 0.5949 GB, free: 90.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002805/0.9375, allocations: 2.615 MB / 0.5974 GB, free: 88.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.102e-06/0.9375, allocations: 0 / 0.5974 GB, free: 88.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004237/0.9418, allocations: 1.158 MB / 0.5985 GB, free: 87.09 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003775/0.9421, allocations: 184.1 kB / 0.5987 GB, free: 86.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009608/0.9518, allocations: 7.71 MB / 0.6063 GB, free: 79.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.9518, allocations: 4.75 kB / 0.6063 GB, free: 79.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.9542, allocations: 2.151 MB / 0.6084 GB, free: 77.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.9571, allocations: 0.5519 MB / 0.6089 GB, free: 76.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.9709, allocations: 10.8 MB / 0.6194 GB, free: 65.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/0.9737, allocations: 3.366 MB / 0.6227 GB, free: 62.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009515/0.9747, allocations: 295.4 kB / 0.623 GB, free: 61.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.9747, allocations: 0 / 0.623 GB, free: 61.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2686/1.243, allocations: 100.2 MB / 0.7209 GB, free: 135.7 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches