Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.002591/0.002591, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002441/0.002441, allocations: 166.8 kB / 25.03 MB, free: 8.418 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 1.357/1.357, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 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.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.DoublePendulum,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.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,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.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.646e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01456/0.01458, allocations: 10.16 MB / 260.5 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009396/0.02398, allocations: 3.879 MB / 264.4 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.02561, allocations: 79.56 kB / 264.5 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.03075, allocations: 2.367 MB / 266.9 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.03635, allocations: 1.987 MB / 268.9 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.03843, allocations: 0.8304 MB / 269.7 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008655/0.04708, allocations: 5.508 MB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005115/0.0522, allocations: 3.037 MB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.05701, allocations: 2.335 MB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004269/0.06128, allocations: 2.412 MB / 283 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008089/0.06209, allocations: 312 kB / 283.3 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.06466, allocations: 1.143 MB / 284.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.067, allocations: 2.006 MB / 286.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001943/0.06895, allocations: 1.231 MB / 287.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.07846, allocations: 6.857 MB / 294.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.07846, allocations: 0 / 294.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07847, allocations: 4 kB / 294.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.07862, allocations: 0 / 294.5 MB, free: 11.5 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01318/0.0918, allocations: 5.544 MB / 300.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.09184, allocations: 15.98 kB / 300.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03066/0.1225, allocations: 3.583 MB / 303.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009876/0.1324, allocations: 3.071 MB / 306.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.1326, allocations: 197.4 kB / 306.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.1337, allocations: 271.8 kB / 307.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.1478, allocations: 5.811 MB / 313 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.148, allocations: 51.59 kB / 313.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.1485, allocations: 123.9 kB / 313.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003763/0.1522, allocations: 1.77 MB / 314.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.1635, allocations: 3.251 MB / 318.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/0.3426, allocations: 42.43 MB / 360.6 MB, free: 67.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/0.3485, allocations: 1.726 MB / 362.4 MB, free: 67.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.3497, allocations: 0.6522 MB / 363 MB, free: 67.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/0.35, allocations: 101.6 kB / 363.1 MB, free: 67.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.35, allocations: 55.97 kB / 363.2 MB, free: 67.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=160): time 4.328e-06/0.35, allocations: 3.969 kB / 363.2 MB, free: 67.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=190): time 0.04757/0.3976, allocations: 15.17 MB / 378.3 MB, free: 60.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.3977, allocations: 250.9 kB / 378.6 MB, free: 60.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/0.4026, allocations: 4.275 MB / 382.9 MB, free: 56.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004272/0.4031, allocations: 49.7 kB / 382.9 MB, free: 56.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.4045, allocations: 3.251 MB / 386.2 MB, free: 53.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000768/0.4053, allocations: 0.8283 MB / 387 MB, free: 52.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.4069, allocations: 1.475 MB / 388.5 MB, free: 51.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.426e-05/0.4069, allocations: 480.8 kB / 388.9 MB, free: 50.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.4085, allocations: 0.8311 MB / 389.8 MB, free: 49.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/0.4117, allocations: 5.946 MB / 395.7 MB, free: 41.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005562/0.4172, allocations: 7.488 MB / 403.2 MB, free: 32.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-05/0.4173, allocations: 40 kB / 403.2 MB, free: 32.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01332/0.4306, allocations: 6.268 MB / 409.5 MB, free: 25.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.4307, allocations: 56 kB / 409.6 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/0.4308, allocations: 116.1 kB / 409.7 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005604/0.4364, allocations: 1.4 MB / 411.1 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.4403, allocations: 1.287 MB / 412.4 MB, free: 22.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009238/0.4496, allocations: 5.218 MB / 417.6 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/0.4545, allocations: 415.4 kB / 418 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008218/0.4553, allocations: 340 kB / 418.3 MB, free: 16.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (688): * Single equations (assignments): 684 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002195/0.4575, allocations: 0.6895 MB / 419 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009724/0.4585, allocations: 393.7 kB / 419.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/0.4656, allocations: 2.627 MB / 422 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/0.4657, allocations: 20 kB / 422 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4657, allocations: 8 kB / 422 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.4657, allocations: 11.91 kB / 422 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.482, allocations: 7.329 MB / 429.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.482, allocations: 4 kB / 429.4 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.4832, allocations: 275.6 kB / 429.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005179/0.4884, allocations: 1.224 MB / 430.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/0.4887, allocations: 31.98 kB / 430.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/0.4965, allocations: 4.431 MB / 435.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4965, allocations: 0 / 435.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.5071, allocations: 3.855 MB / 439.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/0.5098, allocations: 0.6419 MB / 439.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/0.5105, allocations: 31.94 kB / 439.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/0.5129, allocations: 207.7 kB / 440.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/0.5133, allocations: 112.4 kB / 440.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.5135, allocations: 55.98 kB / 440.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003534/0.517, allocations: 1.826 MB / 442.1 MB, free: 8.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.517, allocations: 0 / 442.1 MB, free: 8.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005959/0.523, allocations: 1.215 MB / 443.3 MB, free: 7.75 MB / 346.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 (136): * Single equations (assignments): 132 * 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.0006786/0.5236, allocations: 191.5 kB / 443.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008452/0.5321, allocations: 3.657 MB / 447.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.5321, allocations: 0 / 447.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.5348, allocations: 1.17 MB / 448.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.5378, allocations: 450 kB / 448.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.5534, allocations: 7.544 MB / 456.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003672/0.5571, allocations: 2.326 MB / 458.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004392/0.5615, allocations: 1.512 MB / 460.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/0.5624, allocations: 232.4 kB / 460.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/0.5624, allocations: 0 / 460.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of Templates: time 0.2055/0.7679, allocations: 42.79 MB / 0.4913 GB, free: 141 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.49910593603272]