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.001842/0.001842, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002304/0.002304, allocations: 213 kB / 23.73 MB, free: 4.164 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.82 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.001982/0.001982, allocations: 63.89 kB / 378.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 53.41 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01264/0.2734, allocations: 9.122 MB / 440.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009021/0.2824, allocations: 3.781 MB / 444.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.2845, allocations: 83.5 kB / 444.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.2892, allocations: 2.153 MB / 446.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.2941, allocations: 1.891 MB / 448.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.2959, allocations: 0.737 MB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007283/0.3031, allocations: 5.275 MB / 454.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003235/0.3064, allocations: 2.386 MB / 457.1 MB, free: 13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.3086, allocations: 1.503 MB / 458.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.3116, allocations: 2.099 MB / 460.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006991/0.3123, allocations: 304 kB / 461 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.3144, allocations: 1.077 MB / 462 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.3164, allocations: 1.885 MB / 463.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.3183, allocations: 1.526 MB / 465.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008162/0.3265, allocations: 6.689 MB / 472.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3265, allocations: 0 / 472.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3265, allocations: 0 / 472.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.3267, allocations: 0 / 472.1 MB, free: 13.87 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.01357/0.3403, allocations: 4.705 MB / 476.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/0.3403, allocations: 15.98 kB / 476.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02641/0.3667, allocations: 3.103 MB / 480 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00936/0.3761, allocations: 3.225 MB / 483.2 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.3763, allocations: 201 kB / 483.4 MB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.3773, allocations: 271.8 kB / 483.6 MB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.3942, allocations: 8.959 MB / 492.6 MB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.3944, allocations: 47.69 kB / 492.7 MB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.3948, allocations: 127.9 kB / 492.8 MB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003239/0.398, allocations: 1.766 MB / 494.5 MB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.414, allocations: 7.764 MB / 0.4905 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04846/0.4625, allocations: 33.36 MB / 0.5231 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008464/0.4709, allocations: 3.237 MB / 0.5263 GB, free: 9.309 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.4739, allocations: 2.02 MB / 0.5283 GB, free: 7.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003937/0.4743, allocations: 104.9 kB / 0.5284 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.4744, allocations: 51.5 kB / 0.5284 GB, free: 7.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 5.22e-06/0.4744, allocations: 0 / 0.5284 GB, free: 7.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2846/0.759, allocations: 21.39 MB / 0.5493 GB, free: 96.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.7591, allocations: 267 kB / 0.5495 GB, free: 96.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/0.7635, allocations: 3.707 MB / 0.5532 GB, free: 94.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003892/0.7639, allocations: 56.55 kB / 0.5532 GB, free: 94.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.7652, allocations: 2.907 MB / 0.5561 GB, free: 92.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/0.7659, allocations: 0.7527 MB / 0.5568 GB, free: 91.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/0.7671, allocations: 1.185 MB / 0.5579 GB, free: 90.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.7672, allocations: 301.1 kB / 0.5582 GB, free: 90.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002557/0.7697, allocations: 2.381 MB / 0.5606 GB, free: 88.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.7735, allocations: 5.74 MB / 0.5662 GB, free: 80.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007374/0.7809, allocations: 8.571 MB / 0.5745 GB, free: 70.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-05/0.781, allocations: 36.88 kB / 0.5746 GB, free: 70.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01526/0.7962, allocations: 9.58 MB / 0.5839 GB, free: 61.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.7963, allocations: 56 kB / 0.584 GB, free: 60.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/0.7965, allocations: 112 kB / 0.5841 GB, free: 60.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.8018, allocations: 2.026 MB / 0.5861 GB, free: 58.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00408/0.8059, allocations: 1.283 MB / 0.5873 GB, free: 57.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.8185, allocations: 11.12 MB / 0.5982 GB, free: 46.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/0.8228, allocations: 343.1 kB / 0.5985 GB, free: 46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007893/0.8236, allocations: 343.6 kB / 0.5988 GB, free: 45.66 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.002566/0.8262, allocations: 1.939 MB / 0.6007 GB, free: 43.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/0.8268, allocations: 325.8 kB / 0.601 GB, free: 43.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007972/0.8348, allocations: 4.83 MB / 0.6058 GB, free: 38.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.8348, allocations: 27.94 kB / 0.6058 GB, free: 38.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.8348, allocations: 8 kB / 0.6058 GB, free: 38.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.8348, allocations: 7.969 kB / 0.6058 GB, free: 38.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.8502, allocations: 8.896 MB / 0.6145 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/0.8502, allocations: 8 kB / 0.6145 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.8514, allocations: 275.5 kB / 0.6148 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004597/0.856, allocations: 1.838 MB / 0.6166 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.8562, allocations: 35.98 kB / 0.6166 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.8673, allocations: 10.15 MB / 0.6265 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8673, allocations: 4.062 kB / 0.6265 GB, free: 17.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/0.8784, allocations: 7.907 MB / 0.6342 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009159/0.8793, allocations: 313.6 kB / 0.6345 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004738/0.8798, allocations: 28 kB / 0.6345 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.8813, allocations: 139.8 kB / 0.6347 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.8817, allocations: 125 kB / 0.6348 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.8818, allocations: 47.83 kB / 0.6348 GB, free: 8.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002658/0.8845, allocations: 2.181 MB / 0.637 GB, free: 6.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8845, allocations: 0 / 0.637 GB, free: 6.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004427/0.8889, allocations: 1.051 MB / 0.638 GB, free: 5.387 MB / 446.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.0003941/0.8893, allocations: 166.8 kB / 0.6382 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00801/0.8973, allocations: 5.565 MB / 0.6436 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.8973, allocations: 0 / 0.6436 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003473/0.9008, allocations: 1.936 MB / 0.6455 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.9035, allocations: 418 kB / 0.6459 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.9222, allocations: 9.586 MB / 0.6552 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/0.9264, allocations: 2.549 MB / 0.6577 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004611/0.931, allocations: 1.77 MB / 0.6595 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008023/0.9318, allocations: 227.4 kB / 0.6597 GB, free: 15.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.9318, allocations: 0 / 0.6597 GB, free: 15.12 MB / 478.1 MB Notification: Performance of Templates: time 0.086/1.018, allocations: 43.89 MB / 0.7025 GB, free: 3.676 MB / 0.4981 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.563032461330295]