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.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.001399/0.001399, allocations: 75.75 kB / 21.97 MB, free: 2.598 MB / 18.57 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.00126/0.00126, allocations: 166.6 kB / 25.33 MB, free: 8.547 MB / 18.57 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 0.9326/0.9326, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 251 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.934e-05, allocations: 5.266 kB / 251 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009289/0.009309, allocations: 12.02 MB / 263.1 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.01563, allocations: 4.383 MB / 267.4 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.01752, allocations: 107.4 kB / 267.6 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.02162, allocations: 3.115 MB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.02664, allocations: 2.17 MB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.02898, allocations: 1.15 MB / 274 MB, free: 480 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007794/0.03677, allocations: 6.011 MB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00496/0.04173, allocations: 3.804 MB / 283.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004301/0.04603, allocations: 2.756 MB / 286.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003227/0.04926, allocations: 2.744 MB / 289.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006041/0.04986, allocations: 396 kB / 289.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.05158, allocations: 1.225 MB / 290.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.05326, allocations: 2.369 MB / 293.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.05532, allocations: 1.476 MB / 294.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007071/0.06239, allocations: 5.274 MB / 300 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.0624, allocations: 0 / 300 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0624, allocations: 0 / 300 MB, free: 6.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001712/0.06257, allocations: 0 / 300 MB, free: 6.305 MB / 282.7 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.009791/0.07236, allocations: 5.893 MB / 305.9 MB, free: 344 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.07242, allocations: 11.98 kB / 305.9 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02236/0.09477, allocations: 3.766 MB / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008869/0.1036, allocations: 3.284 MB / 313 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.1039, allocations: 242.7 kB / 313.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007141/0.1046, allocations: 343.7 kB / 313.6 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.1127, allocations: 6.163 MB / 319.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.1128, allocations: 51.59 kB / 319.8 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.1131, allocations: 151.9 kB / 319.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/0.1151, allocations: 2.033 MB / 322 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006848/0.122, allocations: 3.312 MB / 325.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1787/0.3007, allocations: 42.28 MB / 367.5 MB, free: 60.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.3051, allocations: 1.801 MB / 369.3 MB, free: 60.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000908/0.306, allocations: 0.6864 MB / 370 MB, free: 60.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.3063, allocations: 196.4 kB / 370.2 MB, free: 60.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3063, allocations: 57.33 kB / 370.3 MB, free: 60.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=175): time 3.486e-06/0.3063, allocations: 0 / 370.3 MB, free: 60.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.02776/0.3341, allocations: 16.21 MB / 386.5 MB, free: 54.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.3342, allocations: 252.6 kB / 386.7 MB, free: 53.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.3373, allocations: 3.687 MB / 390.4 MB, free: 51.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.3374, allocations: 56.45 kB / 390.5 MB, free: 51.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.3385, allocations: 3.491 MB / 394 MB, free: 48.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/0.339, allocations: 0.856 MB / 394.8 MB, free: 47.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.34, allocations: 1.365 MB / 396.2 MB, free: 45.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.3401, allocations: 488.7 kB / 396.7 MB, free: 45.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3412, allocations: 0.8263 MB / 397.5 MB, free: 44.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.3435, allocations: 6.202 MB / 403.7 MB, free: 36.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.3481, allocations: 7.649 MB / 411.3 MB, free: 26.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.824e-05/0.3481, allocations: 36 kB / 411.4 MB, free: 26.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.009304/0.3575, allocations: 6.904 MB / 418.3 MB, free: 19.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.3575, allocations: 61.53 kB / 418.3 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-05/0.3576, allocations: 124 kB / 418.5 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.3615, allocations: 1.866 MB / 420.3 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.3637, allocations: 1.353 MB / 421.7 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.3723, allocations: 10.29 MB / 432 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.3752, allocations: 438.5 kB / 432.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/0.3756, allocations: 372 kB / 432.8 MB, free: 4.664 MB / 330.7 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.001207/0.3768, allocations: 0.6614 MB / 433.4 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.3772, allocations: 421.6 kB / 433.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.3811, allocations: 2.708 MB / 436.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.3811, allocations: 24 kB / 436.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3811, allocations: 8 kB / 436.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3811, allocations: 11.95 kB / 436.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.3931, allocations: 7.098 MB / 443.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3931, allocations: 4 kB / 443.7 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.3939, allocations: 307.5 kB / 444 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/0.3969, allocations: 1.213 MB / 445.2 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.3971, allocations: 36 kB / 445.2 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.4025, allocations: 4.201 MB / 449.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4025, allocations: 7.938 kB / 449.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.4088, allocations: 3.87 MB / 453.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.4104, allocations: 0.6808 MB / 454 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.4107, allocations: 32 kB / 454 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.4118, allocations: 219.6 kB / 454.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.4121, allocations: 133 kB / 454.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.4122, allocations: 52 kB / 454.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002089/0.4143, allocations: 1.642 MB / 456.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4143, allocations: 0 / 456.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004279/0.4185, allocations: 1.365 MB / 457.4 MB, free: 11.83 MB / 362.7 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.0004639/0.419, allocations: 194.8 kB / 457.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005879/0.4249, allocations: 4.123 MB / 461.7 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4249, allocations: 4 kB / 461.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.4265, allocations: 1.17 MB / 462.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.4289, allocations: 0.5205 MB / 463.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.4418, allocations: 8.71 MB / 472.1 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4432, allocations: 1.389 MB / 473.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002805/0.446, allocations: 1.605 MB / 475.1 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/0.4468, allocations: 252.4 kB / 475.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of SimCode: time 2.484e-06/0.4468, allocations: 0 / 475.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of Templates: time 0.1796/0.6264, allocations: 49.43 MB / 0.5125 GB, free: 132.3 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5035505075939]