Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.000811/0.000811, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008029/0.0008029, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 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 0.8977/0.8977, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.66e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.007489/0.007505, allocations: 10.35 MB / 334.9 MB, free: 5.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.01295, allocations: 4.176 MB / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007632/0.01371, allocations: 103.4 kB / 339.2 MB, free: 1.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.01637, allocations: 2.943 MB / 342.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.01899, allocations: 2.041 MB / 344.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.02016, allocations: 1.126 MB / 345.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.0243, allocations: 6.343 MB / 351.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.0267, allocations: 3.584 MB / 355.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.02876, allocations: 2.639 MB / 357.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.03064, allocations: 2.56 MB / 360.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.03097, allocations: 376 kB / 360.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.03214, allocations: 1.197 MB / 362 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.03335, allocations: 2.248 MB / 364.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.03438, allocations: 1.511 MB / 365.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.03907, allocations: 8.026 MB / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.03907, allocations: 0 / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03907, allocations: 0 / 373.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.933e-05/0.03915, allocations: 7.938 kB / 373.8 MB, free: 14.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.007586/0.04674, allocations: 5.586 MB / 379.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.04678, allocations: 8.031 kB / 379.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000631/0.04741, allocations: 0.7071 MB / 380.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07421/0.1216, allocations: 12.79 MB / 392.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/0.1276, allocations: 3.555 MB / 396.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.1277, allocations: 238.2 kB / 396.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.1282, allocations: 323.8 kB / 397 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009824/0.138, allocations: 9.815 MB / 406.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.953e-05/0.1381, allocations: 55.59 kB / 406.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.1384, allocations: 151.9 kB / 407 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/0.1404, allocations: 1.896 MB / 408.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0087/0.1491, allocations: 8.226 MB / 417.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/0.3112, allocations: 36.14 MB / 453.3 MB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.3157, allocations: 3.323 MB / 456.6 MB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.317, allocations: 1.925 MB / 458.5 MB, free: 105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.3173, allocations: 201.8 kB / 458.7 MB, free: 105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.3173, allocations: 55.97 kB / 458.8 MB, free: 105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 3.577e-06/0.3173, allocations: 0 / 458.8 MB, free: 105 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.02772/0.345, allocations: 21.63 MB / 480.4 MB, free: 91.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.345, allocations: 252.6 kB / 480.7 MB, free: 90.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.3482, allocations: 4.747 MB / 485.4 MB, free: 86.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.3483, allocations: 53.7 kB / 485.5 MB, free: 86.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.3491, allocations: 3.209 MB / 488.7 MB, free: 83.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.3494, allocations: 0.7866 MB / 489.5 MB, free: 82.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007847/0.3502, allocations: 1.175 MB / 490.6 MB, free: 81.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.199e-05/0.3502, allocations: 304.7 kB / 490.9 MB, free: 80.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.3519, allocations: 2.276 MB / 493.2 MB, free: 78.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.3542, allocations: 5.842 MB / 499 MB, free: 71.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.3588, allocations: 8.676 MB / 0.4958 GB, free: 60.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.3588, allocations: 39.25 kB / 0.4959 GB, free: 60.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.008179/0.367, allocations: 9.54 MB / 0.5052 GB, free: 51.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.367, allocations: 56 kB / 0.5052 GB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/0.3671, allocations: 120 kB / 0.5053 GB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.3699, allocations: 2.067 MB / 0.5074 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.3716, allocations: 1.255 MB / 0.5086 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.383, allocations: 16.91 MB / 0.5251 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.3851, allocations: 407.3 kB / 0.5255 GB, free: 30.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.3854, allocations: 352 kB / 0.5258 GB, free: 29.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (671): * Single equations (assignments): 665 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001706/0.3871, allocations: 2.131 MB / 0.5279 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.3874, allocations: 395.2 kB / 0.5283 GB, free: 27.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/0.3914, allocations: 4.27 MB / 0.5325 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.3914, allocations: 27.94 kB / 0.5325 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3914, allocations: 4 kB / 0.5325 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3914, allocations: 11.97 kB / 0.5325 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/0.4002, allocations: 9.588 MB / 0.5419 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4002, allocations: 4 kB / 0.5419 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.4009, allocations: 287.5 kB / 0.5421 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.4028, allocations: 1.343 MB / 0.5434 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.4029, allocations: 36 kB / 0.5435 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.4094, allocations: 8.87 MB / 0.5521 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4094, allocations: 4 kB / 0.5521 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006698/0.4161, allocations: 7.241 MB / 0.5592 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.4166, allocations: 425.1 kB / 0.5596 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.4168, allocations: 39.91 kB / 0.5597 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/0.4178, allocations: 183.7 kB / 0.5598 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.418, allocations: 121 kB / 0.56 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.418, allocations: 51.98 kB / 0.56 GB, free: 10.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002856/0.4209, allocations: 2.917 MB / 0.5629 GB, free: 7.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4209, allocations: 3.938 kB / 0.5629 GB, free: 7.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003153/0.4241, allocations: 1.289 MB / 0.5641 GB, free: 6.34 MB / 426.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 (147): * Single equations (assignments): 143 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007589/0.4316, allocations: 7.916 MB / 0.5718 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006297/0.4379, allocations: 5.819 MB / 0.5775 GB, free: 8.562 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4379, allocations: 0 / 0.5775 GB, free: 8.562 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00226/0.4402, allocations: 2.073 MB / 0.5796 GB, free: 6.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.4424, allocations: 0.5903 MB / 0.5801 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/0.635, allocations: 50.92 MB / 0.6299 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.6372, allocations: 2.858 MB / 0.6326 GB, free: 149.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002319/0.6395, allocations: 1.892 MB / 0.6345 GB, free: 149.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.6409, allocations: 1.991 MB / 0.6364 GB, free: 147.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6409, allocations: 0 / 0.6364 GB, free: 147.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08032/0.7212, allocations: 87.4 MB / 0.7218 GB, free: 61.61 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.41, allocations: 0 / 0.7218 GB, free: 61.61 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 13.263874251395464]