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.001628/0.001628, allocations: 112.5 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002059, allocations: 203.9 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2605, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0123/0.2729, allocations: 11.78 MB / 421.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00824/0.2812, allocations: 4.339 MB / 426 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.2832, allocations: 79.75 kB / 426.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005109/0.2883, allocations: 2.869 MB / 429 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.2932, allocations: 1.926 MB / 430.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.2954, allocations: 1.045 MB / 432 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007378/0.3028, allocations: 5.597 MB / 437.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.3074, allocations: 3.977 MB / 441.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.3101, allocations: 1.702 MB / 443.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003557/0.3137, allocations: 2.294 MB / 445.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008827/0.3146, allocations: 360 kB / 445.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.3169, allocations: 1.233 MB / 447.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.319, allocations: 2.1 MB / 449.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00266/0.3216, allocations: 2.338 MB / 451.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008182/0.3298, allocations: 7.557 MB / 459.1 MB, free: 160 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.3299, allocations: 4 kB / 459.1 MB, free: 156 kB / 366.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.3299, allocations: 0 / 459.1 MB, free: 156 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002403/0.3302, allocations: 0 / 459.1 MB, free: 156 kB / 366.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.01202/0.3422, allocations: 5.185 MB / 464.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.3423, allocations: 8.031 kB / 464.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/0.3698, allocations: 3.154 MB / 467.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/0.3791, allocations: 3.528 MB / 471 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.3793, allocations: 246 kB / 471.2 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.3805, allocations: 323.7 kB / 471.6 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.3963, allocations: 9.843 MB / 481.4 MB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.3964, allocations: 51.58 kB / 481.4 MB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004372/0.3969, allocations: 151.8 kB / 481.6 MB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003328/0.4002, allocations: 1.896 MB / 483.5 MB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.4161, allocations: 8.495 MB / 492 MB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04907/0.4652, allocations: 38.22 MB / 0.5178 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/0.4737, allocations: 3.946 MB / 0.5216 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.4767, allocations: 2.194 MB / 0.5238 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.4774, allocations: 0.64 MB / 0.5244 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.4775, allocations: 55.5 kB / 0.5244 GB, free: 40 kB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.987e-06/0.4775, allocations: 0 / 0.5244 GB, free: 40 kB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2673/0.7448, allocations: 22.54 MB / 0.5465 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.745, allocations: 256.1 kB / 0.5467 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/0.7501, allocations: 4.156 MB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.7505, allocations: 52.98 kB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.7519, allocations: 3.082 MB / 0.5538 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006235/0.7526, allocations: 0.7737 MB / 0.5546 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.7539, allocations: 1.248 MB / 0.5558 GB, free: 116 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.7539, allocations: 301.1 kB / 0.5561 GB, free: 115.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.7567, allocations: 2.488 MB / 0.5585 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/0.7606, allocations: 5.977 MB / 0.5644 GB, free: 109.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/0.768, allocations: 9.075 MB / 0.5732 GB, free: 100.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.947e-05/0.7681, allocations: 32 kB / 0.5732 GB, free: 100.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01644/0.7845, allocations: 10.56 MB / 0.5836 GB, free: 89.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/0.7846, allocations: 56.94 kB / 0.5836 GB, free: 89.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.667e-05/0.7847, allocations: 124 kB / 0.5837 GB, free: 89.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00646/0.7912, allocations: 2.586 MB / 0.5863 GB, free: 86.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003996/0.7952, allocations: 1.306 MB / 0.5875 GB, free: 85.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.8151, allocations: 18.63 MB / 0.6057 GB, free: 66.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/0.8212, allocations: 364 kB / 0.6061 GB, free: 66.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/0.8224, allocations: 370.6 kB / 0.6064 GB, free: 65.85 MB / 462.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.004513/0.8269, allocations: 2.137 MB / 0.6085 GB, free: 63.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.828, allocations: 367.2 kB / 0.6089 GB, free: 63.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008356/0.8364, allocations: 5.026 MB / 0.6138 GB, free: 58.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.8365, allocations: 24 kB / 0.6138 GB, free: 58.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.8365, allocations: 8 kB / 0.6138 GB, free: 58.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.8366, allocations: 15.91 kB / 0.6138 GB, free: 58.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.8544, allocations: 10.71 MB / 0.6243 GB, free: 47.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.8544, allocations: 0 / 0.6243 GB, free: 47.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.8557, allocations: 283.6 kB / 0.6245 GB, free: 47.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004644/0.8604, allocations: 1.846 MB / 0.6263 GB, free: 45.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003165/0.8607, allocations: 32 kB / 0.6264 GB, free: 45.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.8734, allocations: 10.41 MB / 0.6365 GB, free: 34.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.8735, allocations: 4.031 kB / 0.6365 GB, free: 34.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.888, allocations: 8.151 MB / 0.6445 GB, free: 26.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.8893, allocations: 420.3 kB / 0.6449 GB, free: 26.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/0.8899, allocations: 39.94 kB / 0.6449 GB, free: 26.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/0.892, allocations: 131.8 kB / 0.6451 GB, free: 25.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004299/0.8924, allocations: 125.1 kB / 0.6452 GB, free: 25.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/0.8926, allocations: 52.94 kB / 0.6452 GB, free: 25.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004013/0.8967, allocations: 2.619 MB / 0.6478 GB, free: 23.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8967, allocations: 0 / 0.6478 GB, free: 23.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006436/0.9031, allocations: 1.158 MB / 0.6489 GB, free: 22.04 MB / 462.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.0005071/0.9036, allocations: 169.1 kB / 0.6491 GB, free: 21.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/0.9143, allocations: 6.516 MB / 0.6555 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.9144, allocations: 0.75 kB / 0.6555 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.9176, allocations: 2.155 MB / 0.6576 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.9215, allocations: 0.5667 MB / 0.6581 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.9394, allocations: 10.67 MB / 0.6685 GB, free: 1.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/0.9439, allocations: 3.374 MB / 0.6718 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.9453, allocations: 291.4 kB / 0.6721 GB, free: 14.22 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.9453, allocations: 0 / 0.6721 GB, free: 14.22 MB / 478.1 MB Notification: Performance of Templates: time 0.3428/1.288, allocations: 101.6 MB / 0.7713 GB, free: 144.2 MB / 0.5137 GB 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