Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00183/0.00183, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001969/0.001969, allocations: 169.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/3.997e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01476/0.0148, allocations: 10.09 MB / 282.4 MB, free: 7.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009274/0.02408, allocations: 3.886 MB / 286.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.02562, allocations: 79.56 kB / 286.4 MB, free: 3.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.03066, allocations: 2.352 MB / 288.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1278/0.1585, allocations: 1.932 MB / 290.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1603, allocations: 0.8399 MB / 291.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008744/0.1691, allocations: 5.993 MB / 297.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004267/0.1733, allocations: 3.016 MB / 300.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.1776, allocations: 2.314 MB / 302.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.1813, allocations: 2.397 MB / 305.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008822/0.1822, allocations: 312 kB / 305.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.1844, allocations: 1.131 MB / 306.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.186, allocations: 1.985 MB / 308.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.1875, allocations: 1.208 MB / 309.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.1935, allocations: 6.802 MB / 316.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1935, allocations: 0 / 316.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1935, allocations: 0 / 316.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.1936, allocations: 0 / 316.7 MB, free: 3.652 MB / 266.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.01093/0.2046, allocations: 5.525 MB / 322.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2046, allocations: 12.03 kB / 322.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02965/0.2343, allocations: 3.587 MB / 325.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009593/0.2439, allocations: 3.01 MB / 328.8 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.2441, allocations: 195.1 kB / 329 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2451, allocations: 277.3 kB / 329.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.2584, allocations: 5.817 MB / 335.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.2586, allocations: 45.66 kB / 335.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003913/0.259, allocations: 137.7 kB / 335.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.2626, allocations: 1.766 MB / 337 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.2728, allocations: 3.25 MB / 340.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.3271, allocations: 42.4 MB / 382.7 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006661/0.3338, allocations: 1.74 MB / 384.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.3353, allocations: 0.6593 MB / 385.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.3356, allocations: 104.8 kB / 385.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.989e-05/0.3357, allocations: 56.92 kB / 385.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 3.637e-06/0.3357, allocations: 0 / 385.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=190): time 0.05406/0.3897, allocations: 15.1 MB / 400.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.3899, allocations: 255.1 kB / 400.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007051/0.397, allocations: 4.227 MB / 404.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/0.3975, allocations: 53.7 kB / 404.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003206/0.4007, allocations: 3.241 MB / 408.1 MB, free: 7.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.4021, allocations: 0.8235 MB / 408.9 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/0.4047, allocations: 1.474 MB / 410.4 MB, free: 4.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/0.405, allocations: 480.8 kB / 410.9 MB, free: 4.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4071, allocations: 0.8388 MB / 411.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/0.4142, allocations: 5.935 MB / 417.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.4257, allocations: 7.489 MB / 425.1 MB, free: 1.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/0.4258, allocations: 39.88 kB / 425.2 MB, free: 1.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01639/0.4422, allocations: 6.266 MB / 431.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.4423, allocations: 52 kB / 431.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.4424, allocations: 116 kB / 431.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/0.4488, allocations: 1.407 MB / 433 MB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/0.4535, allocations: 1.287 MB / 434.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4652, allocations: 5.215 MB / 439.5 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/0.4702, allocations: 407.4 kB / 439.9 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.4713, allocations: 336 kB / 440.2 MB, free: 2.43 MB / 394.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.0022/0.4735, allocations: 0.6922 MB / 440.9 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.4746, allocations: 389.7 kB / 441.3 MB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1514/0.6259, allocations: 2.614 MB / 443.9 MB, free: 126.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.626, allocations: 21.81 kB / 443.9 MB, free: 126.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/0.626, allocations: 7.812 kB / 443.9 MB, free: 126.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-05/0.626, allocations: 11.7 kB / 444 MB, free: 126.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.6445, allocations: 7.293 MB / 451.2 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.6446, allocations: 7.469 kB / 451.3 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.6458, allocations: 274.1 kB / 451.5 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005465/0.6513, allocations: 1.232 MB / 452.8 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/0.6516, allocations: 30.38 kB / 452.8 MB, free: 125.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008176/0.6598, allocations: 4.429 MB / 457.2 MB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6598, allocations: 0 / 457.2 MB, free: 123.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008278/0.668, allocations: 3.857 MB / 461.1 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/0.669, allocations: 357.5 kB / 461.4 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/0.6695, allocations: 27.31 kB / 461.4 MB, free: 122.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.6712, allocations: 192 kB / 461.6 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/0.6716, allocations: 117.2 kB / 461.7 MB, free: 122 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/0.6717, allocations: 49.08 kB / 461.8 MB, free: 122 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002583/0.6743, allocations: 1.798 MB / 463.6 MB, free: 121.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6743, allocations: 0 / 463.6 MB, free: 121.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004276/0.6786, allocations: 1.187 MB / 464.8 MB, free: 121.3 MB / 394.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.0004501/0.679, allocations: 183.1 kB / 465 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005825/0.6849, allocations: 3.657 MB / 468.6 MB, free: 119.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/0.6849, allocations: 0.6875 kB / 468.6 MB, free: 119.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.6868, allocations: 1.175 MB / 469.8 MB, free: 119.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.6896, allocations: 451.6 kB / 470.2 MB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7016, allocations: 7.495 MB / 477.7 MB, free: 112.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.704, allocations: 2.311 MB / 480 MB, free: 110.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003159/0.7072, allocations: 1.512 MB / 481.6 MB, free: 108.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/0.7079, allocations: 224.4 kB / 481.8 MB, free: 108.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7079, allocations: 0 / 481.8 MB, free: 108.5 MB / 394.7 MB Notification: Performance of Templates: time 0.06271/0.7706, allocations: 42.24 MB / 0.5117 GB, free: 66.77 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.7358456359943375]