Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 218.3 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2969, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01295/0.3099, allocations: 10.47 MB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008748/0.3186, allocations: 4.015 MB / 444.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.3202, allocations: 63.81 kB / 444.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.3246, allocations: 2.242 MB / 446.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.3295, allocations: 1.86 MB / 448.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.3312, allocations: 0.7487 MB / 449.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006961/0.3381, allocations: 5.252 MB / 454.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003188/0.3413, allocations: 2.172 MB / 456.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.3437, allocations: 1.476 MB / 458.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.3469, allocations: 2.212 MB / 460.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.3475, allocations: 304 kB / 460.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.3496, allocations: 1.209 MB / 461.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.3517, allocations: 1.881 MB / 463.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.3543, allocations: 2.047 MB / 465.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008046/0.3624, allocations: 6.658 MB / 472.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3624, allocations: 3.938 kB / 472.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3624, allocations: 4 kB / 472.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001393/0.3625, allocations: 0 / 472.4 MB, free: 12.73 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01076/0.3733, allocations: 4.785 MB / 477.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3733, allocations: 11.97 kB / 477.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02405/0.3974, allocations: 3.107 MB / 480.3 MB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.4049, allocations: 3.293 MB / 483.6 MB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.4051, allocations: 197 kB / 483.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007758/0.4059, allocations: 275.8 kB / 484.1 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.4207, allocations: 8.859 MB / 492.9 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001246/0.4208, allocations: 51.64 kB / 493 MB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.4212, allocations: 127.8 kB / 493.1 MB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003086/0.4242, allocations: 1.77 MB / 494.9 MB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/0.4394, allocations: 7.788 MB / 0.4909 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04644/0.4858, allocations: 35.91 MB / 0.5259 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008474/0.4943, allocations: 3.704 MB / 0.5296 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/0.4971, allocations: 2.01 MB / 0.5315 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.4976, allocations: 328.1 kB / 0.5318 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/0.4977, allocations: 63.48 kB / 0.5319 GB, free: 2.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.168e-06/0.4977, allocations: 0 / 0.5319 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2484/0.7461, allocations: 21.56 MB / 0.553 GB, free: 95.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.7462, allocations: 252.6 kB / 0.5532 GB, free: 94.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.7504, allocations: 3.933 MB / 0.557 GB, free: 91.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/0.7509, allocations: 49.7 kB / 0.5571 GB, free: 91.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.7522, allocations: 2.897 MB / 0.5599 GB, free: 88.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007825/0.753, allocations: 0.7499 MB / 0.5606 GB, free: 87.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.7542, allocations: 1.186 MB / 0.5618 GB, free: 86.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.7543, allocations: 305.1 kB / 0.5621 GB, free: 86.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/0.7567, allocations: 2.385 MB / 0.5644 GB, free: 83.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/0.7599, allocations: 5.642 MB / 0.5699 GB, free: 76.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/0.7667, allocations: 8.58 MB / 0.5783 GB, free: 66.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.552e-05/0.7668, allocations: 32 kB / 0.5783 GB, free: 66.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01499/0.7818, allocations: 9.611 MB / 0.5877 GB, free: 56.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/0.7819, allocations: 58.66 kB / 0.5878 GB, free: 56.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.782, allocations: 115.9 kB / 0.5879 GB, free: 56.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004905/0.7869, allocations: 2.016 MB / 0.5899 GB, free: 54.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.7907, allocations: 1.283 MB / 0.5911 GB, free: 53.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.8025, allocations: 11.36 MB / 0.6022 GB, free: 41.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004678/0.8072, allocations: 343.6 kB / 0.6025 GB, free: 41.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007612/0.8079, allocations: 344 kB / 0.6029 GB, free: 41.2 MB / 446.1 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.00291/0.8108, allocations: 1.946 MB / 0.6048 GB, free: 39.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/0.8115, allocations: 361.6 kB / 0.6051 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/0.8192, allocations: 4.864 MB / 0.6099 GB, free: 34.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/0.8192, allocations: 20 kB / 0.6099 GB, free: 33.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.8192, allocations: 12 kB / 0.6099 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.8192, allocations: 11.97 kB / 0.6099 GB, free: 33.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.8341, allocations: 9.978 MB / 0.6197 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.8342, allocations: 4 kB / 0.6197 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.8353, allocations: 267.6 kB / 0.6199 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004389/0.8397, allocations: 1.844 MB / 0.6217 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/0.84, allocations: 35.98 kB / 0.6217 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.8506, allocations: 10.41 MB / 0.6319 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8506, allocations: 0 / 0.6319 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.8612, allocations: 7.937 MB / 0.6397 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/0.8622, allocations: 422.8 kB / 0.6401 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/0.8627, allocations: 28 kB / 0.6401 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.8643, allocations: 147.6 kB / 0.6402 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.8647, allocations: 117 kB / 0.6403 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.8648, allocations: 48 kB / 0.6404 GB, free: 2.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002968/0.8678, allocations: 2.48 MB / 0.6428 GB, free: 56 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8678, allocations: 0 / 0.6428 GB, free: 56 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.004765/0.8725, allocations: 1.055 MB / 0.6438 GB, free: 14.99 MB / 462.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 (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.0004803/0.873, allocations: 170.7 kB / 0.644 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009313/0.8823, allocations: 5.564 MB / 0.6494 GB, free: 9.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8823, allocations: 4 kB / 0.6494 GB, free: 9.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003185/0.8855, allocations: 1.944 MB / 0.6513 GB, free: 7.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.8884, allocations: 466.2 kB / 0.6518 GB, free: 6.859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/0.9053, allocations: 9.617 MB / 0.6612 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003683/0.909, allocations: 3.09 MB / 0.6642 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004264/0.9133, allocations: 1.807 MB / 0.666 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.914, allocations: 239.4 kB / 0.6662 GB, free: 8.035 MB / 478.1 MB Notification: Performance of SimCode: time 9.01e-07/0.914, allocations: 0 / 0.6662 GB, free: 8.035 MB / 478.1 MB Notification: Performance of Templates: time 0.08404/0.9981, allocations: 44.21 MB / 0.7094 GB, free: 12.04 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.514452415518463]