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.001124/0.001124, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001027/0.001027, allocations: 168.1 kB / 25.33 MB, free: 9.449 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.8605/0.8605, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.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.904e-06/1.904e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.429e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.009371/0.009405, allocations: 10.24 MB / 261.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008157/0.01756, allocations: 3.895 MB / 265.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.01922, allocations: 79.56 kB / 265.3 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.02217, allocations: 2.363 MB / 267.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.02585, allocations: 1.983 MB / 269.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.02738, allocations: 0.8421 MB / 270.5 MB, free: 104 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005545/0.03292, allocations: 5.51 MB / 276 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.03646, allocations: 3.029 MB / 279 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.03975, allocations: 2.343 MB / 281.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.0426, allocations: 2.401 MB / 283.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.04325, allocations: 312 kB / 284 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.04505, allocations: 1.147 MB / 285.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.0466, allocations: 2.014 MB / 287.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.04806, allocations: 1.231 MB / 288.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00487/0.05293, allocations: 4.547 MB / 293 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.05293, allocations: 0 / 293 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.05294, allocations: 0 / 293 MB, free: 9.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001721/0.05311, allocations: 0 / 293 MB, free: 9.473 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.005938/0.05905, allocations: 5.149 MB / 298.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.0591, allocations: 11.98 kB / 298.1 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.07138, allocations: 3.587 MB / 301.7 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1281/0.1995, allocations: 2.973 MB / 304.7 MB, free: 49.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.1996, allocations: 198.8 kB / 304.9 MB, free: 49.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006417/0.2003, allocations: 272.7 kB / 305.2 MB, free: 49.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007726/0.208, allocations: 5.431 MB / 310.6 MB, free: 46.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.2081, allocations: 46.12 kB / 310.6 MB, free: 46.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.2084, allocations: 137 kB / 310.8 MB, free: 46.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.2103, allocations: 1.769 MB / 312.5 MB, free: 46.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.216, allocations: 2.959 MB / 315.5 MB, free: 46.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0226/0.2386, allocations: 39.02 MB / 354.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.2431, allocations: 1.668 MB / 356.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.244, allocations: 0.6459 MB / 356.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.2442, allocations: 96.39 kB / 356.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2442, allocations: 62.31 kB / 357 MB, free: 6.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=160): time 3.717e-06/0.2442, allocations: 0 / 357 MB, free: 6.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=190): time 0.03724/0.2815, allocations: 14.96 MB / 371.9 MB, free: 8.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.2816, allocations: 252.6 kB / 372.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.2854, allocations: 3.422 MB / 375.6 MB, free: 4.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.2856, allocations: 49.7 kB / 375.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.2871, allocations: 3.051 MB / 378.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006537/0.2877, allocations: 0.7866 MB / 379.5 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.2889, allocations: 1.253 MB / 380.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.289, allocations: 480.7 kB / 381.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.2902, allocations: 0.7646 MB / 382 MB, free: 14.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.2937, allocations: 5.686 MB / 387.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/0.2992, allocations: 6.974 MB / 394.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/0.2992, allocations: 32 kB / 394.7 MB, free: 13 MB / 330.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.008508/0.3077, allocations: 6.128 MB / 400.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.3078, allocations: 59.39 kB / 400.9 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.765e-05/0.3079, allocations: 112 kB / 401 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.3109, allocations: 1.381 MB / 402.4 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.3131, allocations: 1.291 MB / 403.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.3189, allocations: 4.99 MB / 408.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.3212, allocations: 415.3 kB / 409 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003123/0.3215, allocations: 344 kB / 409.4 MB, free: 14.16 MB / 346.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.001005/0.3225, allocations: 0.599 MB / 410 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.323, allocations: 397.8 kB / 410.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.327, allocations: 2.564 MB / 412.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.327, allocations: 20 kB / 412.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.327, allocations: 12 kB / 413 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.327, allocations: 11.97 kB / 413 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/0.336, allocations: 6.419 MB / 419.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.336, allocations: 4 kB / 419.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.3366, allocations: 267.6 kB / 419.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002854/0.3395, allocations: 1.216 MB / 420.9 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.3396, allocations: 32 kB / 420.9 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/0.3452, allocations: 4.218 MB / 425.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3452, allocations: 4.031 kB / 425.1 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.3517, allocations: 3.7 MB / 428.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.353, allocations: 0.6342 MB / 429.5 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/0.3533, allocations: 39.94 kB / 429.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.3544, allocations: 209.2 kB / 429.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.3547, allocations: 117 kB / 429.8 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/0.3548, allocations: 48 kB / 429.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002173/0.3569, allocations: 1.533 MB / 431.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3569, allocations: 0 / 431.4 MB, free: 7.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003667/0.3606, allocations: 1.221 MB / 432.6 MB, free: 6.727 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 (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.0004126/0.361, allocations: 187.5 kB / 432.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004432/0.3655, allocations: 3.333 MB / 436.1 MB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3655, allocations: 0 / 436.1 MB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3667, allocations: 1.088 MB / 437.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3682, allocations: 437.1 kB / 437.6 MB, free: 1.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1206/0.4888, allocations: 7.459 MB / 445.1 MB, free: 112.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.4904, allocations: 1.172 MB / 446.3 MB, free: 112 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002864/0.4933, allocations: 1.516 MB / 447.8 MB, free: 112 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.4939, allocations: 230 kB / 448 MB, free: 112 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4939, allocations: 0 / 448 MB, free: 112 MB / 362.7 MB Notification: Performance of Templates: time 0.04734/0.5412, allocations: 42.86 MB / 490.9 MB, free: 79.68 MB / 362.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","",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.222750212997198]