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.001882/0.001882, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002303/0.002303, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.444/1.444, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 58.58 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2658, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.00966/0.2754, allocations: 9.183 MB / 406 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00836/0.2838, allocations: 3.783 MB / 409.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.2859, allocations: 79.88 kB / 409.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.2902, allocations: 2.164 MB / 412.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.296, allocations: 1.921 MB / 414 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.298, allocations: 0.7448 MB / 414.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007678/0.3057, allocations: 4.848 MB / 419.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.3091, allocations: 2.404 MB / 422 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/0.3121, allocations: 1.519 MB / 423.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.3157, allocations: 2.122 MB / 425.6 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000852/0.3165, allocations: 304 kB / 425.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.319, allocations: 1.088 MB / 427 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.3211, allocations: 1.901 MB / 428.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.3232, allocations: 1.545 MB / 430.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008862/0.3321, allocations: 6.746 MB / 437.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3321, allocations: 0 / 437.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3321, allocations: 0 / 437.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000177/0.3323, allocations: 0 / 437.2 MB, free: 10.7 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.0104/0.3427, allocations: 4.733 MB / 441.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3427, allocations: 11.98 kB / 441.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02679/0.3695, allocations: 3.115 MB / 445.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008681/0.3782, allocations: 3.377 MB / 448.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.3784, allocations: 201 kB / 448.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007244/0.3791, allocations: 275.8 kB / 448.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.3943, allocations: 8.951 MB / 457.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.3944, allocations: 51.58 kB / 457.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003711/0.3948, allocations: 131.9 kB / 458 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003279/0.3981, allocations: 1.766 MB / 459.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4127, allocations: 7.768 MB / 467.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04559/0.4583, allocations: 33.37 MB / 0.4892 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008341/0.4667, allocations: 3.233 MB / 0.4924 GB, free: 5.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.4697, allocations: 2.021 MB / 0.4943 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.47, allocations: 89.25 kB / 0.4944 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.4701, allocations: 59.59 kB / 0.4945 GB, free: 3.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=160): time 4.99e-06/0.4701, allocations: 0 / 0.4945 GB, free: 3.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=190): time 0.05949/0.5296, allocations: 21.45 MB / 0.5154 GB, free: 14.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.5297, allocations: 256.6 kB / 0.5157 GB, free: 13.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/0.5351, allocations: 3.738 MB / 0.5193 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.5354, allocations: 57.61 kB / 0.5194 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002414/0.5379, allocations: 2.913 MB / 0.5222 GB, free: 7.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/0.5388, allocations: 0.752 MB / 0.5229 GB, free: 6.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.5404, allocations: 1.187 MB / 0.5241 GB, free: 5.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5406, allocations: 305.1 kB / 0.5244 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.5441, allocations: 2.385 MB / 0.5267 GB, free: 2.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/0.551, allocations: 5.74 MB / 0.5323 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.5622, allocations: 8.575 MB / 0.5407 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.942e-05/0.5623, allocations: 32 kB / 0.5407 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01797/0.5802, allocations: 9.585 MB / 0.5501 GB, free: 7.363 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.988e-05/0.5803, allocations: 52 kB / 0.5501 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.5804, allocations: 112 kB / 0.5502 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005813/0.5863, allocations: 2.018 MB / 0.5522 GB, free: 5.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.5903, allocations: 1.287 MB / 0.5535 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.195/0.7852, allocations: 11.1 MB / 0.5643 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/0.7899, allocations: 351 kB / 0.5647 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.7909, allocations: 338.5 kB / 0.565 GB, free: 137.4 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.003487/0.7944, allocations: 1.936 MB / 0.5669 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000847/0.7953, allocations: 332.8 kB / 0.5672 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009269/0.8045, allocations: 4.838 MB / 0.5719 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-05/0.8046, allocations: 21.38 kB / 0.5719 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.8046, allocations: 11.81 kB / 0.5719 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.8046, allocations: 8.516 kB / 0.5719 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.8202, allocations: 8.913 MB / 0.5806 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.8202, allocations: 3.812 kB / 0.5807 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.8214, allocations: 267.9 kB / 0.5809 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004628/0.8261, allocations: 1.843 MB / 0.5827 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.8262, allocations: 34.92 kB / 0.5827 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.8375, allocations: 10.16 MB / 0.5927 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8375, allocations: 3.969 kB / 0.5927 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.8486, allocations: 7.913 MB / 0.6004 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/0.8508, allocations: 0.6299 MB / 0.601 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006298/0.8515, allocations: 28 kB / 0.601 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.8531, allocations: 139.8 kB / 0.6012 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.8535, allocations: 109.1 kB / 0.6013 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8537, allocations: 63.83 kB / 0.6013 GB, free: 118.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002829/0.8565, allocations: 2.209 MB / 0.6035 GB, free: 116.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8565, allocations: 0 / 0.6035 GB, free: 116.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005569/0.8621, allocations: 1.059 MB / 0.6045 GB, free: 115.2 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.0004299/0.8625, allocations: 162.6 kB / 0.6047 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007402/0.8699, allocations: 5.571 MB / 0.6101 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8699, allocations: 0 / 0.6101 GB, free: 109.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002305/0.8722, allocations: 1.942 MB / 0.612 GB, free: 107.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/0.8754, allocations: 420.1 kB / 0.6124 GB, free: 107.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.89, allocations: 9.624 MB / 0.6218 GB, free: 97.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.8932, allocations: 2.554 MB / 0.6243 GB, free: 95.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003729/0.8969, allocations: 1.783 MB / 0.626 GB, free: 93.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/0.8977, allocations: 227.4 kB / 0.6263 GB, free: 93.01 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.8977, allocations: 0 / 0.6263 GB, free: 93.01 MB / 478.1 MB Notification: Performance of Templates: time 0.06429/0.962, allocations: 44.12 MB / 0.6694 GB, free: 48.81 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.689673999324441]