Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 188.5 kB / 22.93 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 54.73 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2605, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01179/0.2723, allocations: 12.42 MB / 406.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2829, allocations: 4.486 MB / 411.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/0.2859, allocations: 83.12 kB / 411.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006461/0.2924, allocations: 2.949 MB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0059/0.2983, allocations: 2.089 MB / 416.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.3009, allocations: 1.063 MB / 417.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00844/0.3094, allocations: 5.32 MB / 422.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.3137, allocations: 2.893 MB / 425.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/0.3169, allocations: 1.779 MB / 427.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.3209, allocations: 2.586 MB / 430.2 MB, free: 80 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009978/0.3219, allocations: 384 kB / 430.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.3245, allocations: 1.299 MB / 431.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00247/0.327, allocations: 2.248 MB / 434.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00308/0.3301, allocations: 2.47 MB / 436.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009916/0.34, allocations: 8.031 MB / 444.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.34, allocations: 0 / 444.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.34, allocations: 0 / 444.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001823/0.3402, allocations: 0 / 444.6 MB, free: 1.605 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01301/0.3532, allocations: 5.529 MB / 450.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3532, allocations: 8.031 kB / 450.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/0.3789, allocations: 3.216 MB / 453.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/0.3889, allocations: 3.763 MB / 457.1 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.3891, allocations: 242.3 kB / 457.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009601/0.39, allocations: 335.8 kB / 457.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.4074, allocations: 10.35 MB / 468 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.4076, allocations: 51.62 kB / 468.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.408, allocations: 151.9 kB / 468.2 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003566/0.4116, allocations: 2.029 MB / 470.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.429, allocations: 8.9 MB / 479.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05209/0.4811, allocations: 39.71 MB / 0.5067 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008889/0.49, allocations: 3.935 MB / 0.5106 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.493, allocations: 2.084 MB / 0.5126 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/0.4937, allocations: 0.6593 MB / 0.5132 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.4938, allocations: 51.56 kB / 0.5133 GB, free: 14.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.418e-06/0.4938, allocations: 0 / 0.5133 GB, free: 14.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.0618/0.5556, allocations: 23.18 MB / 0.5359 GB, free: 7.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.5558, allocations: 256.6 kB / 0.5362 GB, free: 6.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/0.5622, allocations: 4.276 MB / 0.5403 GB, free: 2.445 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.5625, allocations: 53.7 kB / 0.5404 GB, free: 2.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002542/0.5651, allocations: 3.329 MB / 0.5436 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009315/0.566, allocations: 0.8333 MB / 0.5445 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/0.5678, allocations: 1.29 MB / 0.5457 GB, free: 12.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.568, allocations: 305.1 kB / 0.546 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.5719, allocations: 2.554 MB / 0.5485 GB, free: 10.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006865/0.5788, allocations: 6.123 MB / 0.5545 GB, free: 2.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2039/0.7827, allocations: 9.292 MB / 0.5636 GB, free: 133.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.907e-05/0.7827, allocations: 39.25 kB / 0.5636 GB, free: 133.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02041/0.8032, allocations: 10.74 MB / 0.5741 GB, free: 129.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.8033, allocations: 59.44 kB / 0.5741 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/0.8034, allocations: 123.4 kB / 0.5743 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007359/0.8108, allocations: 2.606 MB / 0.5768 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.8149, allocations: 1.361 MB / 0.5781 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/0.8345, allocations: 18.58 MB / 0.5963 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/0.8392, allocations: 377.8 kB / 0.5966 GB, free: 119.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/0.8397, allocations: 367.6 kB / 0.597 GB, free: 119.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002554/0.8423, allocations: 2.231 MB / 0.5992 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/0.8429, allocations: 401.3 kB / 0.5996 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008212/0.8511, allocations: 5.129 MB / 0.6046 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.59e-05/0.8512, allocations: 25.08 kB / 0.6046 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.8512, allocations: 13.64 kB / 0.6046 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.8512, allocations: 7.969 kB / 0.6046 GB, free: 111.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.8687, allocations: 11.05 MB / 0.6154 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.8687, allocations: 4 kB / 0.6154 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.8702, allocations: 307.5 kB / 0.6157 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00457/0.8748, allocations: 1.858 MB / 0.6175 GB, free: 98.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/0.8751, allocations: 32 kB / 0.6175 GB, free: 98.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.8861, allocations: 10.39 MB / 0.6277 GB, free: 87.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8861, allocations: 4 kB / 0.6277 GB, free: 87.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.897, allocations: 8.338 MB / 0.6358 GB, free: 79.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/0.8987, allocations: 0.7886 MB / 0.6366 GB, free: 78.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.8991, allocations: 32 kB / 0.6366 GB, free: 78.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.9006, allocations: 147.8 kB / 0.6368 GB, free: 78.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/0.901, allocations: 121.1 kB / 0.6369 GB, free: 78.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.9012, allocations: 55.28 kB / 0.6369 GB, free: 78.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002814/0.904, allocations: 2.684 MB / 0.6396 GB, free: 75.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.904, allocations: 0 / 0.6396 GB, free: 75.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004065/0.908, allocations: 1.208 MB / 0.6407 GB, free: 74.52 MB / 478.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003284/0.9084, allocations: 181.5 kB / 0.6409 GB, free: 74.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007287/0.9157, allocations: 6.397 MB / 0.6472 GB, free: 67.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9157, allocations: 8.188 kB / 0.6472 GB, free: 67.92 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.918, allocations: 2.069 MB / 0.6492 GB, free: 65.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.9205, allocations: 0.5572 MB / 0.6497 GB, free: 65.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.9342, allocations: 10.98 MB / 0.6605 GB, free: 54.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/0.9369, allocations: 3.527 MB / 0.6639 GB, free: 50.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003709/0.9406, allocations: 1.918 MB / 0.6658 GB, free: 48.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/0.9413, allocations: 263.4 kB / 0.666 GB, free: 48.55 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9413, allocations: 0 / 0.666 GB, free: 48.55 MB / 478.1 MB Notification: Performance of Templates: time 0.07597/1.017, allocations: 52.14 MB / 0.717 GB, free: 12.43 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.810696226544678]