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.001883/0.001883, allocations: 106 kB / 21.18 MB, free: 0.707 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.002179/0.002179, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.471/1.471, allocations: 207.6 MB / 235.2 MB, free: 10.04 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.002859/0.002859, allocations: 55.92 kB / 347.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2742, allocations: 49.16 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01123/0.2854, allocations: 12.41 MB / 409.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00924/0.2946, allocations: 4.491 MB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.2963, allocations: 102 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005853/0.3022, allocations: 2.954 MB / 416.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.3072, allocations: 2.09 MB / 418.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.3095, allocations: 1.064 MB / 419.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006736/0.3162, allocations: 5.335 MB / 425.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.3205, allocations: 2.895 MB / 428.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.3235, allocations: 1.803 MB / 430 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.3272, allocations: 2.593 MB / 432.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009092/0.3281, allocations: 388 kB / 432.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.3306, allocations: 1.291 MB / 434.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002431/0.3331, allocations: 2.244 MB / 436.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.3364, allocations: 2.482 MB / 438.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009572/0.3459, allocations: 8.027 MB / 447 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3459, allocations: 0 / 447 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3459, allocations: 0 / 447 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001666/0.3461, allocations: 0 / 447 MB, free: 1.094 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.01082/0.3569, allocations: 5.446 MB / 452.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.357, allocations: 19.98 kB / 452.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02832/0.3853, allocations: 3.22 MB / 455.7 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009174/0.3945, allocations: 3.672 MB / 459.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.3947, allocations: 246.3 kB / 459.6 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009074/0.3956, allocations: 335.8 kB / 459.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.414, allocations: 10.35 MB / 470.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.4141, allocations: 43.69 kB / 470.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.4146, allocations: 159.8 kB / 470.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003762/0.4183, allocations: 2.029 MB / 472.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.4362, allocations: 8.899 MB / 481.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05327/0.4895, allocations: 39.58 MB / 0.5087 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009556/0.4991, allocations: 3.472 MB / 0.5121 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.502, allocations: 2.091 MB / 0.5142 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/0.5026, allocations: 208.6 kB / 0.5144 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.5026, allocations: 59.55 kB / 0.5144 GB, free: 15.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 3.867e-06/0.5026, allocations: 0 / 0.5144 GB, free: 15.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.06978/0.5724, allocations: 22.9 MB / 0.5368 GB, free: 8.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.5726, allocations: 260.6 kB / 0.537 GB, free: 8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00837/0.581, allocations: 4.272 MB / 0.5412 GB, free: 3.711 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007874/0.5818, allocations: 57.7 kB / 0.5413 GB, free: 3.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003589/0.5853, allocations: 3.317 MB / 0.5445 GB, free: 312 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.5868, allocations: 0.8374 MB / 0.5453 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003774/0.5906, allocations: 1.286 MB / 0.5466 GB, free: 14.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5907, allocations: 309.1 kB / 0.5469 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/0.5956, allocations: 2.554 MB / 0.5494 GB, free: 11.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008722/0.6043, allocations: 6.123 MB / 0.5554 GB, free: 3.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1973/0.8016, allocations: 9.295 MB / 0.5644 GB, free: 133.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-05/0.8016, allocations: 39.09 kB / 0.5645 GB, free: 133.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01902/0.8207, allocations: 10.74 MB / 0.575 GB, free: 130.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.8207, allocations: 58 kB / 0.575 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.8209, allocations: 124.1 kB / 0.5751 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007017/0.8279, allocations: 2.625 MB / 0.5777 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003909/0.8318, allocations: 1.352 MB / 0.579 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/0.8524, allocations: 18.27 MB / 0.5969 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/0.8575, allocations: 375.1 kB / 0.5972 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008487/0.8584, allocations: 372.7 kB / 0.5976 GB, free: 120 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.00297/0.8613, allocations: 2.231 MB / 0.5997 GB, free: 118.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007684/0.8621, allocations: 398.6 kB / 0.6001 GB, free: 118 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/0.8708, allocations: 5.127 MB / 0.6051 GB, free: 112.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.8708, allocations: 20 kB / 0.6052 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.8709, allocations: 8 kB / 0.6052 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.8709, allocations: 11.97 kB / 0.6052 GB, free: 112.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/0.8874, allocations: 11.01 MB / 0.6159 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8874, allocations: 4 kB / 0.6159 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.8887, allocations: 304.7 kB / 0.6162 GB, free: 101.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004664/0.8934, allocations: 1.854 MB / 0.618 GB, free: 99.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.8936, allocations: 39.98 kB / 0.6181 GB, free: 99.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.9044, allocations: 10.29 MB / 0.6281 GB, free: 89.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9044, allocations: 8 kB / 0.6281 GB, free: 89.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.9155, allocations: 8.338 MB / 0.6363 GB, free: 80.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.9177, allocations: 0.7187 MB / 0.637 GB, free: 80.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/0.9191, allocations: 32 kB / 0.637 GB, free: 80.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/0.9213, allocations: 147.8 kB / 0.6371 GB, free: 80.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003814/0.9217, allocations: 125 kB / 0.6373 GB, free: 79.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.9219, allocations: 59.42 kB / 0.6373 GB, free: 79.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003301/0.9252, allocations: 2.692 MB / 0.6399 GB, free: 77.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9252, allocations: 96 / 0.6399 GB, free: 77.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005114/0.9303, allocations: 1.211 MB / 0.6411 GB, free: 75.99 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.0004263/0.9307, allocations: 173.1 kB / 0.6413 GB, free: 75.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008131/0.9388, allocations: 6.397 MB / 0.6475 GB, free: 69.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.9388, allocations: 4 kB / 0.6475 GB, free: 69.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.9414, allocations: 2.057 MB / 0.6496 GB, free: 67.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.9443, allocations: 0.5675 MB / 0.6501 GB, free: 66.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.9597, allocations: 10.98 MB / 0.6608 GB, free: 55.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/0.963, allocations: 3.531 MB / 0.6643 GB, free: 52.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003686/0.9667, allocations: 1.916 MB / 0.6661 GB, free: 50.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/0.9675, allocations: 259.4 kB / 0.6664 GB, free: 50.03 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.9675, allocations: 0 / 0.6664 GB, free: 50.03 MB / 478.1 MB Notification: Performance of Templates: time 0.08795/1.055, allocations: 54.67 MB / 0.7198 GB, free: 11.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: 7.052442193962634]