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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 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.459/1.459, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 59.91 kB / 347.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2878, allocations: 49.15 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.009978/0.2977, allocations: 10.53 MB / 407.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008453/0.3062, allocations: 4.002 MB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.3082, allocations: 79.81 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004863/0.313, allocations: 2.254 MB / 413.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.319, allocations: 1.912 MB / 415.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3209, allocations: 0.7423 MB / 416.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007906/0.3288, allocations: 4.857 MB / 421.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.3324, allocations: 2.181 MB / 423.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.3356, allocations: 1.522 MB / 424.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004064/0.3397, allocations: 2.224 MB / 427.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009026/0.3406, allocations: 311.9 kB / 427.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.3434, allocations: 1.221 MB / 428.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3457, allocations: 1.901 MB / 430.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003485/0.3492, allocations: 2.066 MB / 432.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009544/0.3587, allocations: 6.722 MB / 439.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3587, allocations: 3.938 kB / 439.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3587, allocations: 0 / 439.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001946/0.3589, allocations: 0 / 439.3 MB, free: 8.773 MB / 350.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.01153/0.3704, allocations: 4.729 MB / 444.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3705, allocations: 15.92 kB / 444.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03421/0.4047, allocations: 3.119 MB / 447.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.4176, allocations: 3.373 MB / 450.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.4179, allocations: 197 kB / 450.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.4191, allocations: 275.8 kB / 451 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.4418, allocations: 8.847 MB / 459.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.442, allocations: 55.58 kB / 459.9 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005719/0.4426, allocations: 127.9 kB / 460.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/0.4477, allocations: 1.77 MB / 461.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.4704, allocations: 7.792 MB / 469.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0591/0.5295, allocations: 35.83 MB / 0.4936 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008724/0.5382, allocations: 3.228 MB / 0.4968 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.5412, allocations: 2.025 MB / 0.4987 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.5416, allocations: 105 kB / 0.4988 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.5416, allocations: 59.5 kB / 0.4989 GB, free: 15.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 4.098e-06/0.5416, allocations: 0 / 0.4989 GB, free: 15.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.0621/0.6037, allocations: 21.4 MB / 0.5198 GB, free: 9.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.6039, allocations: 260.6 kB / 0.52 GB, free: 9.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/0.61, allocations: 3.963 MB / 0.5239 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.6104, allocations: 57.69 kB / 0.524 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.613, allocations: 2.884 MB / 0.5268 GB, free: 2.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.614, allocations: 0.7597 MB / 0.5275 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.6157, allocations: 1.187 MB / 0.5287 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6158, allocations: 301.1 kB / 0.529 GB, free: 368 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/0.6197, allocations: 2.381 MB / 0.5313 GB, free: 13.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/0.6264, allocations: 5.636 MB / 0.5368 GB, free: 6.723 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/0.6383, allocations: 8.571 MB / 0.5452 GB, free: 12.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-05/0.6384, allocations: 36 kB / 0.5452 GB, free: 12.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01929/0.6577, allocations: 9.615 MB / 0.5546 GB, free: 2.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.6577, allocations: 56 kB / 0.5547 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.6579, allocations: 116.1 kB / 0.5548 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/0.664, allocations: 2.018 MB / 0.5567 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1861/0.8501, allocations: 1.281 MB / 0.558 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.8659, allocations: 11.27 MB / 0.569 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.8701, allocations: 344.3 kB / 0.5693 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005738/0.8707, allocations: 341.8 kB / 0.5696 GB, free: 137.2 MB / 478.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.002531/0.8733, allocations: 1.934 MB / 0.5715 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.8739, allocations: 371 kB / 0.5719 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009007/0.8829, allocations: 4.868 MB / 0.5766 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/0.8829, allocations: 29.38 kB / 0.5767 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.8829, allocations: 7.938 kB / 0.5767 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.883, allocations: 11.56 kB / 0.5767 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.8979, allocations: 9.947 MB / 0.5864 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8979, allocations: 0 / 0.5864 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.8991, allocations: 267.6 kB / 0.5867 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004742/0.9038, allocations: 1.845 MB / 0.5885 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/0.904, allocations: 29 kB / 0.5885 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.9149, allocations: 10.31 MB / 0.5985 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.9149, allocations: 6.547 kB / 0.5986 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.9257, allocations: 7.935 MB / 0.6063 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/0.928, allocations: 0.6697 MB / 0.607 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009006/0.9289, allocations: 39.86 kB / 0.607 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.9307, allocations: 131.8 kB / 0.6071 GB, free: 113.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/0.9311, allocations: 117 kB / 0.6072 GB, free: 113.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.9312, allocations: 51.98 kB / 0.6073 GB, free: 113.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003127/0.9344, allocations: 2.496 MB / 0.6097 GB, free: 110.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9344, allocations: 1.969 kB / 0.6097 GB, free: 110.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004723/0.9391, allocations: 1.074 MB / 0.6108 GB, free: 109.8 MB / 478.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.0004187/0.9395, allocations: 169.1 kB / 0.6109 GB, free: 109.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007123/0.9466, allocations: 5.564 MB / 0.6164 GB, free: 104.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9466, allocations: 4 kB / 0.6164 GB, free: 104.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.9489, allocations: 1.944 MB / 0.6183 GB, free: 102.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/0.9516, allocations: 476.1 kB / 0.6187 GB, free: 101.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.9632, allocations: 9.648 MB / 0.6281 GB, free: 92.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/0.9656, allocations: 3.101 MB / 0.6312 GB, free: 89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003227/0.9688, allocations: 1.819 MB / 0.6329 GB, free: 87.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.9694, allocations: 239.3 kB / 0.6332 GB, free: 86.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.9694, allocations: 0 / 0.6332 GB, free: 86.94 MB / 478.1 MB Notification: Performance of Templates: time 0.06608/1.035, allocations: 46.71 MB / 0.6788 GB, free: 40.31 MB / 478.1 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.720142349600792]