Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.982/1.982, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 43.92 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3947, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01415/0.4089, allocations: 10.34 MB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009774/0.4187, allocations: 4.155 MB / 446.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.4208, allocations: 95.44 kB / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.4267, allocations: 2.811 MB / 449.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.432, allocations: 1.988 MB / 451.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4343, allocations: 1.033 MB / 452.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007999/0.4423, allocations: 5.608 MB / 458.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004522/0.4469, allocations: 3.062 MB / 461.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.45, allocations: 1.741 MB / 463.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/0.4539, allocations: 2.481 MB / 465.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009726/0.4549, allocations: 360 kB / 466 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.4575, allocations: 1.147 MB / 467.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002609/0.4602, allocations: 2.135 MB / 469.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.4631, allocations: 1.744 MB / 471 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.4743, allocations: 7.611 MB / 478.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.4743, allocations: 0 / 478.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4743, allocations: 0 / 478.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003061/0.4747, allocations: 4 kB / 478.6 MB, free: 8.246 MB / 382.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.01359/0.4882, allocations: 5.242 MB / 483.9 MB, free: 2.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4883, allocations: 16.02 kB / 483.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/0.5157, allocations: 3.185 MB / 487.1 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.5259, allocations: 3.469 MB / 490.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.5261, allocations: 238 kB / 490.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.5275, allocations: 327.8 kB / 491.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.5477, allocations: 9.944 MB / 0.4893 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.5479, allocations: 55.58 kB / 0.4894 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006553/0.5485, allocations: 151.9 kB / 0.4895 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.5522, allocations: 1.9 MB / 0.4914 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.5707, allocations: 8.464 MB / 0.4996 GB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06164/0.6323, allocations: 35.36 MB / 0.5341 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3005/0.9328, allocations: 3.358 MB / 0.5374 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00269/0.9355, allocations: 2.046 MB / 0.5394 GB, free: 99.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/0.936, allocations: 206.7 kB / 0.5396 GB, free: 99.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.9361, allocations: 56.27 kB / 0.5397 GB, free: 99.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.19e-06/0.9361, allocations: 0 / 0.5397 GB, free: 99.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05548/0.9916, allocations: 22.48 MB / 0.5616 GB, free: 86.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.9916, allocations: 252.6 kB / 0.5619 GB, free: 86.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.9961, allocations: 3.945 MB / 0.5657 GB, free: 82.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000497/0.9966, allocations: 53.7 kB / 0.5658 GB, free: 82.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.9981, allocations: 3.226 MB / 0.5689 GB, free: 79.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008299/0.9989, allocations: 0.8086 MB / 0.5697 GB, free: 78.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/1, allocations: 1.254 MB / 0.5709 GB, free: 77.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/1, allocations: 301.1 kB / 0.5712 GB, free: 77.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.003, allocations: 2.491 MB / 0.5737 GB, free: 74.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/1.007, allocations: 6.077 MB / 0.5796 GB, free: 66.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008179/1.015, allocations: 9.064 MB / 0.5884 GB, free: 56.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.015, allocations: 40 kB / 0.5885 GB, free: 56.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01892/1.034, allocations: 10.5 MB / 0.5987 GB, free: 45.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/1.034, allocations: 59.98 kB / 0.5988 GB, free: 45.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/1.035, allocations: 120 kB / 0.5989 GB, free: 45.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007352/1.042, allocations: 2.596 MB / 0.6014 GB, free: 42.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/1.046, allocations: 1.31 MB / 0.6027 GB, free: 41.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/1.066, allocations: 18.06 MB / 0.6204 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/1.071, allocations: 376.5 kB / 0.6207 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.072, allocations: 356 kB / 0.6211 GB, free: 22.51 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.003478/1.076, allocations: 2.136 MB / 0.6231 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008971/1.077, allocations: 359.1 kB / 0.6235 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/1.085, allocations: 4.972 MB / 0.6283 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/1.085, allocations: 23.75 kB / 0.6284 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.085, allocations: 8 kB / 0.6284 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/1.085, allocations: 7.969 kB / 0.6284 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.103, allocations: 9.415 MB / 0.6376 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/1.103, allocations: 3.938 kB / 0.6376 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/1.104, allocations: 287.5 kB / 0.6379 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/1.109, allocations: 1.834 MB / 0.6396 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004063/1.11, allocations: 43.98 kB / 0.6397 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.124, allocations: 10.16 MB / 0.6496 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.124, allocations: 0 / 0.6496 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.139, allocations: 8.116 MB / 0.6575 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.14, allocations: 329.5 kB / 0.6578 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.141, allocations: 35.67 kB / 0.6579 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.143, allocations: 139.8 kB / 0.658 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005277/1.143, allocations: 125.2 kB / 0.6581 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.143, allocations: 52 kB / 0.6582 GB, free: 324 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004996/1.148, allocations: 2.312 MB / 0.6604 GB, free: 14.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.148, allocations: 7.875 kB / 0.6604 GB, free: 14.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008843/1.157, allocations: 1.156 MB / 0.6616 GB, free: 12.86 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 (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.0009183/1.158, allocations: 174.5 kB / 0.6617 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01407/1.172, allocations: 6.237 MB / 0.6678 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.172, allocations: 0 / 0.6678 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/1.177, allocations: 1.998 MB / 0.6698 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.181, allocations: 0.4999 MB / 0.6703 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.207, allocations: 10.46 MB / 0.6805 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.211, allocations: 2.866 MB / 0.6833 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004858/1.216, allocations: 1.835 MB / 0.6851 GB, free: 4.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/1.217, allocations: 235.4 kB / 0.6853 GB, free: 4.434 MB / 494.1 MB Notification: Performance of SimCode: time 1.784e-06/1.217, allocations: 0 / 0.6853 GB, free: 4.434 MB / 494.1 MB Notification: Performance of Templates: time 0.3312/1.548, allocations: 52.61 MB / 0.7367 GB, free: 177.9 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.144473801003187]