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.001998/0.001998, allocations: 96.31 kB / 21.73 MB, free: 2.676 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.001597/0.001597, allocations: 163.1 kB / 25.02 MB, free: 9.438 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.358/1.358, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.503e-06/1.503e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.044e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01256/0.01259, allocations: 9.203 MB / 259.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00917/0.02176, allocations: 3.778 MB / 263.4 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.02327, allocations: 79.56 kB / 263.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005151/0.02842, allocations: 2.293 MB / 265.7 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.03398, allocations: 1.983 MB / 267.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.0359, allocations: 0.8382 MB / 268.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008396/0.0443, allocations: 5.513 MB / 274.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.04874, allocations: 3.017 MB / 277.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.05287, allocations: 2.323 MB / 279.4 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.05684, allocations: 2.373 MB / 281.8 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007624/0.05761, allocations: 316 kB / 282.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.05997, allocations: 1.147 MB / 283.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00252/0.06249, allocations: 2.01 MB / 285.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.06461, allocations: 1.234 MB / 286.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00923/0.07384, allocations: 6.888 MB / 293.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.07385, allocations: 4 kB / 293.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.07386, allocations: 0 / 293.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001506/0.07401, allocations: 0 / 293.4 MB, free: 8.75 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.01149/0.08549, allocations: 4.838 MB / 298.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.08554, allocations: 11.98 kB / 298.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02575/0.1113, allocations: 3.618 MB / 301.8 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1094/0.2207, allocations: 3.326 MB / 305.2 MB, free: 53.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2209, allocations: 197.8 kB / 305.4 MB, free: 53.74 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006633/0.2215, allocations: 273.2 kB / 305.6 MB, free: 53.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.2337, allocations: 9.066 MB / 314.7 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-05/0.2338, allocations: 49.3 kB / 314.7 MB, free: 49.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.2341, allocations: 128 kB / 314.9 MB, free: 49.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.2367, allocations: 1.775 MB / 316.6 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.2476, allocations: 7.868 MB / 324.5 MB, free: 41.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03112/0.2787, allocations: 34.01 MB / 358.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00674/0.2855, allocations: 2.915 MB / 361.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00211/0.2876, allocations: 2.057 MB / 363.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.2879, allocations: 116.9 kB / 363.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.288, allocations: 55.5 kB / 363.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=161): time 4.278e-06/0.288, allocations: 0 / 363.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=190): time 0.08517/0.3731, allocations: 29.32 MB / 393 MB, free: 4.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.3733, allocations: 252.6 kB / 393.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/0.38, allocations: 3.952 MB / 397.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004691/0.3805, allocations: 53.7 kB / 397.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/0.3834, allocations: 2.867 MB / 400.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/0.3847, allocations: 0.7442 MB / 400.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/0.387, allocations: 1.167 MB / 402 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3872, allocations: 305.1 kB / 402.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004491/0.3917, allocations: 2.611 MB / 404.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008947/0.4006, allocations: 5.937 MB / 410.8 MB, free: 488 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/0.4152, allocations: 8.998 MB / 419.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003481/0.4155, allocations: 36 kB / 419.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02589/0.4414, allocations: 10.98 MB / 430.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.4415, allocations: 59.92 kB / 430.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/0.4417, allocations: 112 kB / 431 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.4521, allocations: 3.089 MB / 434.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004984/0.457, allocations: 1.279 MB / 435.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.138/0.595, allocations: 13.62 MB / 449 MB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.5997, allocations: 451.7 kB / 449.5 MB, free: 113.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000705/0.6004, allocations: 338.3 kB / 449.8 MB, free: 113.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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 (680): * Single equations (assignments): 676 * 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,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002662/0.6031, allocations: 1.931 MB / 451.7 MB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009216/0.604, allocations: 388 kB / 452.1 MB, free: 112.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.6145, allocations: 6.033 MB / 458.1 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/0.6146, allocations: 23.41 kB / 458.1 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.6146, allocations: 9.344 kB / 458.2 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6146, allocations: 7.734 kB / 458.2 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.6326, allocations: 10.77 MB / 468.9 MB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.6326, allocations: 0 / 468.9 MB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.6339, allocations: 279.5 kB / 469.2 MB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007678/0.6415, allocations: 2.933 MB / 472.1 MB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/0.6419, allocations: 32.62 kB / 472.2 MB, free: 104.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.6558, allocations: 12.58 MB / 484.8 MB, free: 92.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6558, allocations: 4.031 kB / 484.8 MB, free: 92.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.6692, allocations: 9.523 MB / 494.3 MB, free: 82.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/0.6711, allocations: 0.7407 MB / 495 MB, free: 82.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.6716, allocations: 31.94 kB / 495.1 MB, free: 82.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/0.6735, allocations: 251.6 kB / 495.3 MB, free: 82.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/0.674, allocations: 113.1 kB / 495.4 MB, free: 82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.6741, allocations: 50.66 kB / 495.5 MB, free: 81.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002602/0.6767, allocations: 2.379 MB / 497.8 MB, free: 79.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6767, allocations: 0 / 497.8 MB, free: 79.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004354/0.6811, allocations: 1.265 MB / 499.1 MB, free: 78.32 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 (134): * Single equations (assignments): 130 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000422/0.6815, allocations: 192 kB / 499.3 MB, free: 78.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006879/0.6884, allocations: 6.013 MB / 0.4935 GB, free: 72.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6884, allocations: 4 kB / 0.4935 GB, free: 72.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.6908, allocations: 2.198 MB / 0.4956 GB, free: 70 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.6934, allocations: 462.5 kB / 0.4961 GB, free: 69.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.7045, allocations: 9.7 MB / 0.5055 GB, free: 59.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.7067, allocations: 2.552 MB / 0.508 GB, free: 57.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003291/0.71, allocations: 1.785 MB / 0.5098 GB, free: 55.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/0.7108, allocations: 221.8 kB / 0.51 GB, free: 55.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7108, allocations: 4 kB / 0.51 GB, free: 55.25 MB / 362.7 MB Notification: Performance of Templates: time 0.06183/0.7726, allocations: 46.98 MB / 0.5558 GB, free: 8.199 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] 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.581131304963492]