Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007883/0.0007881, allocations: 92.14 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002576, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.02483/0.2296, allocations: 34.89 MB / 411.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.2451, allocations: 11.27 MB / 422.8 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006174/0.2513, allocations: 171.6 kB / 422.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.2526, allocations: 386.1 kB / 423.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.2567, allocations: 1.756 MB / 425.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2583, allocations: 0.6865 MB / 425.7 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007555/0.2658, allocations: 6.746 MB / 432.5 MB, free: 7.836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005753/0.2716, allocations: 4.627 MB / 437.1 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.2738, allocations: 1.284 MB / 438.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.2767, allocations: 1.978 MB / 440.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.2776, allocations: 132 kB / 440.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2799, allocations: 1.061 MB / 441.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.2819, allocations: 1.667 MB / 443.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002765/0.2847, allocations: 1.888 MB / 445.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.2907, allocations: 6.24 MB / 451.4 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2907, allocations: 0 / 451.4 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2907, allocations: 0 / 451.4 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.275e-05/0.2908, allocations: 0 / 451.4 MB, free: 4.648 MB / 330.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.00665/0.2974, allocations: 3.879 MB / 455.2 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2975, allocations: 12.03 kB / 455.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02235/0.3199, allocations: 3.163 MB / 458.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007109/0.327, allocations: 3.378 MB / 461.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.3272, allocations: 205 kB / 462 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006205/0.3278, allocations: 267.8 kB / 462.3 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.3414, allocations: 8.855 MB / 471.1 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.3415, allocations: 51.5 kB / 471.2 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.3419, allocations: 135.8 kB / 471.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0028/0.3447, allocations: 1.766 MB / 473.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.3576, allocations: 7.772 MB / 480.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.5477, allocations: 36.06 MB / 0.5048 GB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/0.5553, allocations: 3.798 MB / 0.5085 GB, free: 85.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/0.5581, allocations: 2.16 MB / 0.5106 GB, free: 84.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.5585, allocations: 330.4 kB / 0.5109 GB, free: 84.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5586, allocations: 50.75 kB / 0.511 GB, free: 84.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 4.679e-06/0.5586, allocations: 3.719 kB / 0.511 GB, free: 84.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=190): time 0.04694/0.6055, allocations: 21.44 MB / 0.5319 GB, free: 69.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.6057, allocations: 252.6 kB / 0.5321 GB, free: 69.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004569/0.6102, allocations: 3.922 MB / 0.536 GB, free: 65.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005324/0.6108, allocations: 53.7 kB / 0.536 GB, free: 65.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.6121, allocations: 2.774 MB / 0.5387 GB, free: 62.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007425/0.6129, allocations: 0.7242 MB / 0.5394 GB, free: 61.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.6131, allocations: 117.2 kB / 0.5395 GB, free: 61.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.6133, allocations: 0.5535 MB / 0.5401 GB, free: 61.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.6159, allocations: 2.354 MB / 0.5424 GB, free: 58.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/0.6198, allocations: 5.618 MB / 0.5479 GB, free: 51.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006747/0.6266, allocations: 8.549 MB / 0.5562 GB, free: 41.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.018e-05/0.6266, allocations: 36 kB / 0.5563 GB, free: 41.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01362/0.6403, allocations: 9.567 MB / 0.5656 GB, free: 31.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.6404, allocations: 52.19 kB / 0.5657 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/0.6405, allocations: 120 kB / 0.5658 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004749/0.6452, allocations: 2.029 MB / 0.5677 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/0.6489, allocations: 1.279 MB / 0.569 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6601, allocations: 10.53 MB / 0.5793 GB, free: 17.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.6642, allocations: 339.5 kB / 0.5796 GB, free: 17.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006727/0.6649, allocations: 340.8 kB / 0.5799 GB, free: 17.15 MB / 378.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 {(4,34,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002429/0.6673, allocations: 1.948 MB / 0.5818 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.6679, allocations: 355.5 kB / 0.5822 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007491/0.6754, allocations: 4.872 MB / 0.5869 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.6754, allocations: 24.78 kB / 0.587 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.6754, allocations: 8 kB / 0.587 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.6754, allocations: 11.91 kB / 0.587 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.6894, allocations: 10.03 MB / 0.5968 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.6894, allocations: 4 kB / 0.5968 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6906, allocations: 275 kB / 0.597 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004918/0.6956, allocations: 1.842 MB / 0.5988 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.6958, allocations: 36 kB / 0.5989 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.7082, allocations: 9.706 MB / 0.6083 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7083, allocations: 0 / 0.6083 GB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/0.7206, allocations: 7.93 MB / 0.6161 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.7224, allocations: 0.7385 MB / 0.6168 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006114/0.723, allocations: 32 kB / 0.6168 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.7245, allocations: 139.7 kB / 0.617 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/0.7249, allocations: 105.2 kB / 0.6171 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.7251, allocations: 51.52 kB / 0.6171 GB, free: 10.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003456/0.7285, allocations: 2.473 MB / 0.6195 GB, free: 8.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7285, allocations: 0 / 0.6195 GB, free: 8.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00413/0.7327, allocations: 1.069 MB / 0.6206 GB, free: 7.293 MB / 410.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.0003924/0.7331, allocations: 171.9 kB / 0.6207 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008969/0.7421, allocations: 5.793 MB / 0.6264 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7421, allocations: 0 / 0.6264 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00286/0.745, allocations: 2.081 MB / 0.6284 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.7481, allocations: 445.2 kB / 0.6289 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.7638, allocations: 11.42 MB / 0.64 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003038/0.7669, allocations: 3.095 MB / 0.643 GB, free: 220 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004263/0.7712, allocations: 1.819 MB / 0.6448 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.7718, allocations: 235.4 kB / 0.645 GB, free: 14.16 MB / 442.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7718, allocations: 0 / 0.645 GB, free: 14.16 MB / 442.7 MB Notification: Performance of Templates: time 0.2241/0.9959, allocations: 42.7 MB / 0.6867 GB, free: 144.5 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches