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.002066/0.002066, allocations: 103.6 kB / 21.18 MB, free: 332 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.002454/0.002454, allocations: 212 kB / 24.47 MB, free: 3.547 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.641/1.641, allocations: 207.7 MB / 235.3 MB, free: 9.801 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) [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.001943/0.001943, allocations: 58.58 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2421, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.009248/0.2514, allocations: 9.187 MB / 405.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007322/0.2587, allocations: 3.779 MB / 409.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.2605, allocations: 76.06 kB / 409.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.265, allocations: 2.161 MB / 411.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00543/0.2704, allocations: 1.922 MB / 413.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.2721, allocations: 0.748 MB / 414.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006536/0.2787, allocations: 4.851 MB / 419.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.2817, allocations: 2.41 MB / 421.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.284, allocations: 1.521 MB / 423 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.287, allocations: 2.126 MB / 425.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006022/0.2876, allocations: 300 kB / 425.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.2897, allocations: 1.088 MB / 426.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.2915, allocations: 1.916 MB / 428.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.2934, allocations: 1.686 MB / 430.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.3011, allocations: 7.086 MB / 437.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3011, allocations: 0 / 437.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3011, allocations: 0 / 437.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.3013, allocations: 0 / 437.2 MB, free: 10.14 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.01357/0.3149, allocations: 5.009 MB / 442.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3149, allocations: 11.98 kB / 442.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001052/0.316, allocations: 0.6245 MB / 442.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1688/0.4847, allocations: 12.3 MB / 455.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.4959, allocations: 4.186 MB / 459.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.4961, allocations: 193 kB / 459.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.4973, allocations: 279.8 kB / 459.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/0.5146, allocations: 8.83 MB / 468.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.5148, allocations: 51.58 kB / 468.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003906/0.5151, allocations: 127.9 kB / 468.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003139/0.5183, allocations: 1.774 MB / 470.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.5318, allocations: 7.499 MB / 478.1 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.5747, allocations: 33.63 MB / 0.4997 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007991/0.5827, allocations: 3.098 MB / 0.5027 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.5853, allocations: 1.9 MB / 0.5046 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.5856, allocations: 92.88 kB / 0.5047 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.5857, allocations: 51.5 kB / 0.5047 GB, free: 8.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=160): time 3.857e-06/0.5857, allocations: 4 kB / 0.5047 GB, free: 8.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=190): time 0.05476/0.6404, allocations: 20.21 MB / 0.5245 GB, free: 4.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.6406, allocations: 248.6 kB / 0.5247 GB, free: 4.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006269/0.6469, allocations: 4.181 MB / 0.5288 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005058/0.6474, allocations: 49.7 kB / 0.5288 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.65, allocations: 2.932 MB / 0.5317 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.6511, allocations: 0.752 MB / 0.5324 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.6529, allocations: 1.104 MB / 0.5335 GB, free: 10.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.653, allocations: 301.1 kB / 0.5338 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.6566, allocations: 2.173 MB / 0.5359 GB, free: 8.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007074/0.6637, allocations: 5.507 MB / 0.5413 GB, free: 1.344 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.6746, allocations: 8.191 MB / 0.5493 GB, free: 7.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.641e-05/0.6747, allocations: 32 kB / 0.5493 GB, free: 7.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.1999/0.8747, allocations: 8.647 MB / 0.5578 GB, free: 139.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.8747, allocations: 54.75 kB / 0.5578 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.8749, allocations: 116.2 kB / 0.5579 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004528/0.8794, allocations: 1.497 MB / 0.5594 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/0.8835, allocations: 1.224 MB / 0.5606 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/0.8969, allocations: 9.738 MB / 0.5701 GB, free: 135.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.9013, allocations: 319.3 kB / 0.5704 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000829/0.9021, allocations: 334.9 kB / 0.5707 GB, free: 135.6 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 (650): * Single equations (assignments): 646 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002988/0.9051, allocations: 1.942 MB / 0.5726 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/0.9059, allocations: 376.9 kB / 0.573 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006833/0.9128, allocations: 4.13 MB / 0.577 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/0.9128, allocations: 25.56 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.9128, allocations: 6.938 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.9128, allocations: 7.5 kB / 0.5771 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.9267, allocations: 8.799 MB / 0.5857 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.9267, allocations: 3.844 kB / 0.5857 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.9279, allocations: 258.4 kB / 0.5859 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/0.9313, allocations: 1.346 MB / 0.5872 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.9315, allocations: 34.66 kB / 0.5873 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009441/0.9409, allocations: 8.749 MB / 0.5958 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9409, allocations: 11.25 kB / 0.5958 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008635/0.9496, allocations: 7.037 MB / 0.6027 GB, free: 116.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/0.9513, allocations: 0.6457 MB / 0.6033 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004754/0.9518, allocations: 31.61 kB / 0.6033 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.9533, allocations: 119.8 kB / 0.6035 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.9536, allocations: 117 kB / 0.6036 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.9537, allocations: 55.89 kB / 0.6036 GB, free: 115.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002756/0.9564, allocations: 2.526 MB / 0.6061 GB, free: 113 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9564, allocations: 0 / 0.6061 GB, free: 113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003789/0.9602, allocations: 1.008 MB / 0.6071 GB, free: 112 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 {(4,31,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008824/0.969, allocations: 7.686 MB / 0.6146 GB, free: 104.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006953/0.976, allocations: 5.147 MB / 0.6196 GB, free: 99.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.976, allocations: 0 / 0.6196 GB, free: 99.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.9787, allocations: 1.945 MB / 0.6215 GB, free: 97.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.9818, allocations: 0.4913 MB / 0.622 GB, free: 96.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05062/1.032, allocations: 45.99 MB / 0.6669 GB, free: 45.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.035, allocations: 2.556 MB / 0.6694 GB, free: 43.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003297/1.038, allocations: 1.827 MB / 0.6712 GB, free: 41.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.04, allocations: 1.757 MB / 0.6729 GB, free: 39.65 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/1.04, allocations: 0 / 0.6729 GB, free: 39.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3039/1.344, allocations: 76.35 MB / 0.7475 GB, free: 167.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.44, allocations: 9.484 kB / 0.7475 GB, free: 167.8 MB / 0.4981 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/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: 20.270892762113363]