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.00137/0.00137, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 62.73 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09314, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2062/0.2994, allocations: 46.47 MB / 403.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02467/0.3241, allocations: 10.07 MB / 414 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.3355, allocations: 211.3 kB / 414.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.3415, allocations: 2.861 MB / 417 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005607/0.3471, allocations: 1.806 MB / 418.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.3498, allocations: 0.9835 MB / 419.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009574/0.3594, allocations: 7.848 MB / 427.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005446/0.3648, allocations: 3.899 MB / 431.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.368, allocations: 1.506 MB / 433.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.3716, allocations: 2.446 MB / 435.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.3727, allocations: 248 kB / 435.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.3757, allocations: 1.174 MB / 436.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002716/0.3784, allocations: 2.002 MB / 438.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003604/0.382, allocations: 2.229 MB / 441.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.3885, allocations: 5.929 MB / 447.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3885, allocations: 0 / 447.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3885, allocations: 0 / 447.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002742/0.3888, allocations: 4 kB / 447.1 MB, free: 1.809 MB / 350.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.0134/0.4022, allocations: 5.177 MB / 452.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4023, allocations: 8.031 kB / 452.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/0.4266, allocations: 3.162 MB / 455.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008144/0.4348, allocations: 3.454 MB / 458.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.435, allocations: 234.1 kB / 459.1 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.4363, allocations: 327.6 kB / 459.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.4541, allocations: 9.851 MB / 469.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.4543, allocations: 47.58 kB / 469.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009856/0.4553, allocations: 151.9 kB / 469.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003397/0.4587, allocations: 1.9 MB / 471.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.4753, allocations: 8.492 MB / 479.9 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.5279, allocations: 38.4 MB / 0.5061 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008999/0.537, allocations: 3.942 MB / 0.51 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.54, allocations: 2.182 MB / 0.5121 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007567/0.5407, allocations: 0.6478 MB / 0.5128 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.5408, allocations: 59.44 kB / 0.5128 GB, free: 1.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 4.729e-06/0.5408, allocations: 0 / 0.5128 GB, free: 1.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.2516/0.7924, allocations: 22.52 MB / 0.5348 GB, free: 145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.7926, allocations: 255.8 kB / 0.535 GB, free: 144.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006795/0.7994, allocations: 4.151 MB / 0.5391 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004873/0.7999, allocations: 56.27 kB / 0.5391 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.8021, allocations: 3.074 MB / 0.5422 GB, free: 140.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.8031, allocations: 0.7755 MB / 0.5429 GB, free: 140.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/0.805, allocations: 1.248 MB / 0.5441 GB, free: 139.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.8051, allocations: 301.1 kB / 0.5444 GB, free: 139.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00385/0.809, allocations: 2.489 MB / 0.5468 GB, free: 138.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/0.8141, allocations: 5.986 MB / 0.5527 GB, free: 133.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009301/0.8234, allocations: 9.062 MB / 0.5615 GB, free: 126 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/0.8236, allocations: 35.56 kB / 0.5616 GB, free: 126 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01774/0.8413, allocations: 10.55 MB / 0.5719 GB, free: 122.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.8414, allocations: 67.56 kB / 0.5719 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-05/0.8415, allocations: 122.4 kB / 0.5721 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006635/0.8482, allocations: 2.597 MB / 0.5746 GB, free: 119.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.8522, allocations: 1.306 MB / 0.5759 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.8714, allocations: 17.24 MB / 0.5927 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/0.8765, allocations: 367.3 kB / 0.593 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/0.8777, allocations: 369.3 kB / 0.5934 GB, free: 99.82 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.003902/0.8816, allocations: 2.134 MB / 0.5955 GB, free: 97.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.8826, allocations: 367.2 kB / 0.5958 GB, free: 97.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00863/0.8913, allocations: 5.026 MB / 0.6007 GB, free: 92.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/0.8914, allocations: 24 kB / 0.6008 GB, free: 92.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.8914, allocations: 7.938 kB / 0.6008 GB, free: 92.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.8914, allocations: 11.97 kB / 0.6008 GB, free: 92.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/0.9103, allocations: 10.77 MB / 0.6113 GB, free: 81.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.9104, allocations: 3.625 kB / 0.6113 GB, free: 81.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.9117, allocations: 291.5 kB / 0.6116 GB, free: 81.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/0.9166, allocations: 1.85 MB / 0.6134 GB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/0.9169, allocations: 28 kB / 0.6134 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.9277, allocations: 9.713 MB / 0.6229 GB, free: 69.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9277, allocations: 4.031 kB / 0.6229 GB, free: 69.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/0.9395, allocations: 8.155 MB / 0.6309 GB, free: 61.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.9408, allocations: 436.1 kB / 0.6313 GB, free: 60.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/0.942, allocations: 31.98 kB / 0.6313 GB, free: 60.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/0.9443, allocations: 139.8 kB / 0.6314 GB, free: 60.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/0.9449, allocations: 117.1 kB / 0.6316 GB, free: 60.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/0.9451, allocations: 51.98 kB / 0.6316 GB, free: 60.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004267/0.9494, allocations: 2.615 MB / 0.6342 GB, free: 57.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.9494, allocations: 0 / 0.6342 GB, free: 57.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006291/0.9557, allocations: 1.155 MB / 0.6353 GB, free: 56.66 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.0007452/0.9565, allocations: 176.5 kB / 0.6355 GB, free: 56.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009035/0.9655, allocations: 6.484 MB / 0.6418 GB, free: 49.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.9656, allocations: 0 / 0.6418 GB, free: 49.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.9684, allocations: 2.171 MB / 0.6439 GB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/0.9727, allocations: 0.5165 MB / 0.6444 GB, free: 47.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.9903, allocations: 12.78 MB / 0.6569 GB, free: 34.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/0.994, allocations: 3.366 MB / 0.6602 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.9951, allocations: 295.3 kB / 0.6605 GB, free: 30.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9952, allocations: 0 / 0.6605 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Templates: time 0.2865/1.282, allocations: 100.2 MB / 0.7584 GB, free: 100.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches