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.0009422/0.0009422, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001512/0.001512, allocations: 166 kB / 25.61 MB, free: 8.887 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.9104/0.9104, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.312e-06/1.312e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.064e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.007496/0.007516, allocations: 9.925 MB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.01322, allocations: 3.859 MB / 265.3 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.01451, allocations: 79.56 kB / 265.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.01704, allocations: 2.336 MB / 267.7 MB, free: 6.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.02051, allocations: 1.983 MB / 269.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.02178, allocations: 0.8459 MB / 270.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.02704, allocations: 5.52 MB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.0308, allocations: 3.029 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004356/0.03516, allocations: 2.967 MB / 282 MB, free: 8.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.03769, allocations: 2.373 MB / 284.4 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005771/0.03827, allocations: 312 kB / 284.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.04021, allocations: 1.147 MB / 285.8 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.0417, allocations: 2.01 MB / 287.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.04302, allocations: 1.227 MB / 289.1 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.04771, allocations: 4.55 MB / 293.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.04772, allocations: 0 / 293.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04772, allocations: 0 / 293.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.04783, allocations: 0 / 293.6 MB, free: 12.91 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.006133/0.05396, allocations: 4.907 MB / 298.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.05401, allocations: 11.98 kB / 298.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.06502, allocations: 2.605 MB / 301.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.06836, allocations: 2.302 MB / 303.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.06848, allocations: 197.4 kB / 303.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.06892, allocations: 275.7 kB / 303.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/0.07458, allocations: 4.947 MB / 308.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.676e-05/0.07466, allocations: 51.58 kB / 308.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.07487, allocations: 127.9 kB / 309 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/0.07607, allocations: 1.509 MB / 310.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.07984, allocations: 2.174 MB / 312.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/0.1087, allocations: 38.97 MB / 351.7 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1226/0.2313, allocations: 1.226 MB / 352.9 MB, free: 96.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.2319, allocations: 387.6 kB / 353.3 MB, free: 96.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004184/0.2361, allocations: 3.491 MB / 356.8 MB, free: 95.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2361, allocations: 47.11 kB / 356.8 MB, free: 95.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 2.715e-06/0.2361, allocations: 3.156 kB / 356.8 MB, free: 95.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01283/0.2489, allocations: 5.992 MB / 362.8 MB, free: 94.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.249, allocations: 243.6 kB / 363.1 MB, free: 94.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.2514, allocations: 3.518 MB / 366.6 MB, free: 93.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.2514, allocations: 45.45 kB / 366.6 MB, free: 93.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009739/0.2524, allocations: 3.201 MB / 369.8 MB, free: 91.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.2527, allocations: 0.5752 MB / 370.4 MB, free: 91.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007978/0.2535, allocations: 1.24 MB / 371.7 MB, free: 90.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.2536, allocations: 480.7 kB / 372.1 MB, free: 89.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.2542, allocations: 0.5162 MB / 372.6 MB, free: 89.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.2559, allocations: 5.745 MB / 378.4 MB, free: 81.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.2587, allocations: 6.697 MB / 385.1 MB, free: 72.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.472e-05/0.2588, allocations: 40 kB / 385.1 MB, free: 72.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.004041/0.2628, allocations: 4.508 MB / 389.6 MB, free: 68.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.2629, allocations: 60 kB / 389.7 MB, free: 68.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.509e-05/0.2629, allocations: 123.9 kB / 389.8 MB, free: 67.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.2637, allocations: 408.8 kB / 390.2 MB, free: 67.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.2654, allocations: 1.232 MB / 391.4 MB, free: 66.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.267, allocations: 2.748 MB / 394.2 MB, free: 63.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.2691, allocations: 258.6 kB / 394.4 MB, free: 63.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.2693, allocations: 291.9 kB / 394.7 MB, free: 62.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008437/0.2702, allocations: 0.606 MB / 395.3 MB, free: 62.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.2706, allocations: 353.8 kB / 395.7 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2716, allocations: 0.8938 MB / 396.6 MB, free: 61.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.2716, allocations: 16 kB / 396.6 MB, free: 61.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2716, allocations: 0 / 396.6 MB, free: 61.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2716, allocations: 7.984 kB / 396.6 MB, free: 61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.2763, allocations: 4.182 MB / 400.8 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2763, allocations: 4 kB / 400.8 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.2767, allocations: 183.7 kB / 401 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005597/0.2773, allocations: 233.2 kB / 401.2 MB, free: 56.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.2773, allocations: 31.98 kB / 401.2 MB, free: 56.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.2786, allocations: 2.473 MB / 403.7 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.2786, allocations: 12.03 kB / 403.7 MB, free: 53.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.2802, allocations: 1.984 MB / 405.7 MB, free: 51.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.2808, allocations: 448.2 kB / 406.1 MB, free: 51.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.281, allocations: 39.66 kB / 406.2 MB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.2816, allocations: 28 kB / 406.2 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.2817, allocations: 100.2 kB / 406.3 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/0.2818, allocations: 36 kB / 406.3 MB, free: 50.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.2828, allocations: 1.457 MB / 407.8 MB, free: 49.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2828, allocations: 0 / 407.8 MB, free: 49.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002687/0.2855, allocations: 0.9881 MB / 408.8 MB, free: 48.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (105): * Single equations (assignments): 101 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002658/0.2858, allocations: 192.4 kB / 409 MB, free: 48.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.2881, allocations: 2.482 MB / 411.4 MB, free: 45.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2881, allocations: 0 / 411.4 MB, free: 45.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.2886, allocations: 0.5827 MB / 412 MB, free: 45.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.29, allocations: 431.3 kB / 412.4 MB, free: 44.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.2968, allocations: 6.896 MB / 419.3 MB, free: 37.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/0.2976, allocations: 1.133 MB / 420.5 MB, free: 36.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001046/0.2986, allocations: 459.4 kB / 420.9 MB, free: 36.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007865/0.2994, allocations: 0.5684 MB / 421.5 MB, free: 35.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2994, allocations: 0 / 421.5 MB, free: 35.51 MB / 330.7 MB Notification: Performance of Templates: time 0.03777/0.3372, allocations: 30.64 MB / 452.1 MB, free: 4.891 MB / 330.7 MB " [Timeout remaining time 660] 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: 3.5820219949819148]