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.0009741/0.0009742, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001402, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 8 kB / 307.1 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 51.54 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2196/0.3269, allocations: 42.07 MB / 400.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02549/0.3524, allocations: 9.536 MB / 410.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.3631, allocations: 209.2 kB / 410.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007106/0.3702, allocations: 2.2 MB / 412.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02002/0.3903, allocations: 6.454 MB / 419.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.394, allocations: 0.6865 MB / 419.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.09327/0.4873, allocations: 61.24 MB / 481 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007763/0.4951, allocations: 4.608 MB / 485.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.4983, allocations: 1.362 MB / 487 MB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.5018, allocations: 2.115 MB / 489.1 MB, free: 8.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.5029, allocations: 144 kB / 489.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.5054, allocations: 0.9245 MB / 490.2 MB, free: 7.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.5081, allocations: 1.819 MB / 492 MB, free: 5.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.5097, allocations: 0.8544 MB / 492.9 MB, free: 4.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006666/0.5164, allocations: 5.787 MB / 498.7 MB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5164, allocations: 0 / 498.7 MB, free: 14.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5164, allocations: 0 / 498.7 MB, free: 14.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.5167, allocations: 4 kB / 498.7 MB, free: 14.92 MB / 414.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.009567/0.5262, allocations: 4.327 MB / 0.4912 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5263, allocations: 16.03 kB / 0.4912 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/0.5488, allocations: 3.239 MB / 0.4944 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008597/0.5575, allocations: 3.387 MB / 0.4977 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.5578, allocations: 234.1 kB / 0.4979 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.559, allocations: 327.6 kB / 0.4982 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.5784, allocations: 9.843 MB / 0.5078 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002184/0.5787, allocations: 51.48 kB / 0.5079 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/0.5798, allocations: 159.8 kB / 0.508 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.5835, allocations: 1.9 MB / 0.5099 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.6011, allocations: 8.46 MB / 0.5181 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.232/0.8332, allocations: 38.39 MB / 0.5556 GB, free: 125.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/0.8422, allocations: 3.938 MB / 0.5595 GB, free: 124.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/0.8454, allocations: 2.187 MB / 0.5616 GB, free: 123.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.8464, allocations: 0.6405 MB / 0.5622 GB, free: 122.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.8465, allocations: 54.41 kB / 0.5623 GB, free: 122.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 7.334e-06/0.8465, allocations: 2.516 kB / 0.5623 GB, free: 122.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05781/0.9043, allocations: 22.51 MB / 0.5843 GB, free: 110.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.9045, allocations: 261.3 kB / 0.5845 GB, free: 110.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005618/0.9101, allocations: 4.132 MB / 0.5886 GB, free: 106.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004668/0.9106, allocations: 56.67 kB / 0.5886 GB, free: 106.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.9122, allocations: 3.076 MB / 0.5916 GB, free: 103.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009254/0.9131, allocations: 0.7684 MB / 0.5924 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.9134, allocations: 122 kB / 0.5925 GB, free: 102.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.9137, allocations: 0.5623 MB / 0.593 GB, free: 101.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003192/0.9169, allocations: 2.46 MB / 0.5954 GB, free: 99.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/0.9214, allocations: 5.969 MB / 0.6013 GB, free: 91.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/0.9263, allocations: 3.751 MB / 0.6049 GB, free: 87.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.34e-05/0.9264, allocations: 36 kB / 0.605 GB, free: 87.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01864/0.9451, allocations: 10.5 MB / 0.6152 GB, free: 77.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.9452, allocations: 56 kB / 0.6153 GB, free: 77.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/0.9454, allocations: 120 kB / 0.6154 GB, free: 77.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006613/0.9521, allocations: 2.621 MB / 0.6179 GB, free: 74.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/0.9562, allocations: 1.306 MB / 0.6192 GB, free: 73.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.9763, allocations: 17.22 MB / 0.636 GB, free: 55.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.981, allocations: 367.3 kB / 0.6364 GB, free: 55.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008802/0.9819, allocations: 365.4 kB / 0.6367 GB, free: 54.89 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 (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,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003498/0.9854, allocations: 2.143 MB / 0.6388 GB, free: 52.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007875/0.9862, allocations: 367.3 kB / 0.6392 GB, free: 52.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008648/0.9949, allocations: 5.022 MB / 0.6441 GB, free: 47.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.365e-05/0.9949, allocations: 20 kB / 0.6441 GB, free: 47.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.995, allocations: 11.94 kB / 0.6441 GB, free: 47.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.995, allocations: 7.969 kB / 0.6441 GB, free: 47.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.014, allocations: 10.74 MB / 0.6546 GB, free: 36.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.014, allocations: 0 / 0.6546 GB, free: 36.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.015, allocations: 291.5 kB / 0.6549 GB, free: 36.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004717/1.02, allocations: 1.85 MB / 0.6567 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/1.02, allocations: 35.94 kB / 0.6567 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.032, allocations: 9.699 MB / 0.6662 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.032, allocations: 3.938 kB / 0.6662 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.043, allocations: 8.143 MB / 0.6742 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.045, allocations: 432.2 kB / 0.6746 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.046, allocations: 37.16 kB / 0.6746 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.048, allocations: 143.8 kB / 0.6747 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/1.048, allocations: 121.1 kB / 0.6749 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.048, allocations: 57.22 kB / 0.6749 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004078/1.052, allocations: 2.588 MB / 0.6774 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.052, allocations: 0 / 0.6774 GB, free: 12.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006632/1.059, allocations: 1.16 MB / 0.6786 GB, free: 11.77 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 (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 {(2,100.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006704/1.06, allocations: 173.1 kB / 0.6787 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00985/1.07, allocations: 6.413 MB / 0.685 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.07, allocations: 0 / 0.685 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.073, allocations: 2.152 MB / 0.6871 GB, free: 3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/1.077, allocations: 0.5206 MB / 0.6876 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.097, allocations: 12.01 MB / 0.6993 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004516/1.102, allocations: 3.393 MB / 0.7027 GB, free: 3.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004745/1.107, allocations: 1.872 MB / 0.7045 GB, free: 1.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/1.107, allocations: 247.4 kB / 0.7047 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/1.107, allocations: 0 / 0.7047 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of Templates: time 0.2549/1.362, allocations: 47.51 MB / 0.7511 GB, free: 125.6 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