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.001044/0.001044, allocations: 94.23 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 201.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.0002288, allocations: 4 kB / 307.8 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09301, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2296/0.3227, allocations: 45.21 MB / 404.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0236/0.3463, allocations: 10.01 MB / 414.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/0.3595, allocations: 210.1 kB / 414.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.3615, allocations: 472.1 kB / 415.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006931/0.3685, allocations: 1.823 MB / 417 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3713, allocations: 0.7394 MB / 417.7 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.3816, allocations: 7.853 MB / 425.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008245/0.3899, allocations: 5.331 MB / 430.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.3926, allocations: 1.249 MB / 432.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.3963, allocations: 2.133 MB / 434.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00094/0.3972, allocations: 144 kB / 434.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.4001, allocations: 1.084 MB / 435.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.4025, allocations: 1.85 MB / 437.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00309/0.4056, allocations: 2.074 MB / 439.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.4141, allocations: 7.007 MB / 446.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4142, allocations: 0 / 446.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4142, allocations: 3.938 kB / 446.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002642/0.4145, allocations: 7.938 kB / 446.5 MB, free: 3.508 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.01214/0.4266, allocations: 4.265 MB / 450.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4267, allocations: 12.03 kB / 450.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02982/0.4565, allocations: 3.24 MB / 454 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009974/0.4665, allocations: 3.446 MB / 457.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.4668, allocations: 246 kB / 457.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.4683, allocations: 335.7 kB / 458 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.4876, allocations: 9.859 MB / 467.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.4878, allocations: 55.5 kB / 467.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005058/0.4883, allocations: 151.9 kB / 468 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00352/0.4918, allocations: 1.893 MB / 469.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01727/0.5091, allocations: 8.519 MB / 478.5 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.5582, allocations: 38.4 MB / 0.5048 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00859/0.5669, allocations: 3.95 MB / 0.5086 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00286/0.5698, allocations: 2.18 MB / 0.5107 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000729/0.5705, allocations: 0.6477 MB / 0.5114 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.5706, allocations: 59.5 kB / 0.5114 GB, free: 4.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 4.839e-06/0.5706, allocations: 3.938 kB / 0.5114 GB, free: 4.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.2731/0.8437, allocations: 22.52 MB / 0.5334 GB, free: 145.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.8438, allocations: 257 kB / 0.5337 GB, free: 144.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007136/0.8509, allocations: 4.16 MB / 0.5377 GB, free: 144 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004489/0.8514, allocations: 52.73 kB / 0.5378 GB, free: 144 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.8533, allocations: 3.075 MB / 0.5408 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008617/0.8542, allocations: 0.7731 MB / 0.5415 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008048/0.855, allocations: 0.5289 MB / 0.5421 GB, free: 141.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.8551, allocations: 305.6 kB / 0.5423 GB, free: 141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.8592, allocations: 2.488 MB / 0.5448 GB, free: 140.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.8653, allocations: 5.982 MB / 0.5506 GB, free: 134.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/0.8741, allocations: 9.058 MB / 0.5595 GB, free: 127.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.8743, allocations: 39.69 kB / 0.5595 GB, free: 127.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01734/0.8916, allocations: 10.55 MB / 0.5698 GB, free: 123.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.8917, allocations: 62.31 kB / 0.5699 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.8919, allocations: 119.5 kB / 0.57 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006416/0.8983, allocations: 2.596 MB / 0.5725 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.9024, allocations: 1.31 MB / 0.5738 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.9205, allocations: 17.25 MB / 0.5906 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/0.925, allocations: 372.3 kB / 0.591 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005595/0.9256, allocations: 356 kB / 0.5913 GB, free: 102.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.002798/0.9284, allocations: 2.14 MB / 0.5934 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.929, allocations: 367.2 kB / 0.5938 GB, free: 99.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008446/0.9374, allocations: 5.026 MB / 0.5987 GB, free: 94.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.425e-05/0.9375, allocations: 24 kB / 0.5987 GB, free: 94.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.9375, allocations: 7.938 kB / 0.5987 GB, free: 94.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.9376, allocations: 11.97 kB / 0.5987 GB, free: 94.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.9548, allocations: 10.77 MB / 0.6092 GB, free: 83.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.9548, allocations: 0.75 kB / 0.6092 GB, free: 83.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9562, allocations: 283.6 kB / 0.6095 GB, free: 83.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004677/0.9608, allocations: 1.842 MB / 0.6113 GB, free: 81.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/0.9612, allocations: 39.98 kB / 0.6114 GB, free: 81.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.9717, allocations: 9.719 MB / 0.6208 GB, free: 71.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9718, allocations: 0.875 kB / 0.6208 GB, free: 71.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.9832, allocations: 8.156 MB / 0.6288 GB, free: 63.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.9847, allocations: 432.2 kB / 0.6292 GB, free: 63.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005336/0.9853, allocations: 32.7 kB / 0.6293 GB, free: 63.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.9869, allocations: 139.8 kB / 0.6294 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.9873, allocations: 125.6 kB / 0.6295 GB, free: 62.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.9874, allocations: 54.09 kB / 0.6296 GB, free: 62.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003174/0.9906, allocations: 2.611 MB / 0.6321 GB, free: 60.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9906, allocations: 4 kB / 0.6321 GB, free: 60.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004746/0.9954, allocations: 1.159 MB / 0.6332 GB, free: 58.94 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.0004092/0.9958, allocations: 171.7 kB / 0.6334 GB, free: 58.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008404/1.004, allocations: 6.491 MB / 0.6397 GB, free: 52.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.004, allocations: 0 / 0.6397 GB, free: 52.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/1.007, allocations: 2.15 MB / 0.6418 GB, free: 50.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/1.011, allocations: 0.5259 MB / 0.6424 GB, free: 49.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.026, allocations: 12.49 MB / 0.6546 GB, free: 37.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/1.029, allocations: 3.405 MB / 0.6579 GB, free: 33.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004266/1.033, allocations: 1.872 MB / 0.6597 GB, free: 31.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/1.034, allocations: 243.4 kB / 0.6599 GB, free: 31.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/1.034, allocations: 0 / 0.6599 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Templates: time 0.2678/1.302, allocations: 48.55 MB / 0.7074 GB, free: 137.7 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","/var/lib/jenkins/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