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.001819/0.001819, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 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.002237/0.002237, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001548/0.001548, allocations: 51.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2759, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01478/0.2907, allocations: 11.87 MB / 443 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009904/0.3006, allocations: 4.386 MB / 447.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3025, allocations: 95.44 kB / 447.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.3085, allocations: 2.924 MB / 450.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005601/0.3141, allocations: 1.985 MB / 452.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3168, allocations: 1.06 MB / 453.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.3271, allocations: 5.602 MB / 459.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004572/0.3317, allocations: 3.074 MB / 462.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.3355, allocations: 1.737 MB / 463.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/0.3398, allocations: 2.484 MB / 466.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.3409, allocations: 364 kB / 466.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.3437, allocations: 1.264 MB / 468 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.3465, allocations: 2.135 MB / 470.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00382/0.3503, allocations: 2.482 MB / 472.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.361, allocations: 7.915 MB / 480.5 MB, free: 5.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.361, allocations: 4 kB / 480.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.361, allocations: 0 / 480.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002193/0.3612, allocations: 0 / 480.5 MB, free: 5.27 MB / 382.1 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.01589/0.3771, allocations: 5.5 MB / 486 MB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3772, allocations: 12.03 kB / 486 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001849/0.379, allocations: 0.7071 MB / 486.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1606/0.5396, allocations: 12.38 MB / 499.1 MB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.5504, allocations: 3.883 MB / 0.4912 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.5506, allocations: 234.1 kB / 0.4914 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.5518, allocations: 323.8 kB / 0.4917 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/0.572, allocations: 9.718 MB / 0.5012 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002663/0.5723, allocations: 47.64 kB / 0.5013 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008981/0.5732, allocations: 155.8 kB / 0.5014 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003924/0.5771, allocations: 1.904 MB / 0.5033 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.5946, allocations: 8.238 MB / 0.5113 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2708/0.8654, allocations: 37.64 MB / 0.5481 GB, free: 75.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007448/0.8728, allocations: 3.246 MB / 0.5513 GB, free: 75.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.8749, allocations: 1.914 MB / 0.5531 GB, free: 75.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005088/0.8754, allocations: 202.4 kB / 0.5533 GB, free: 75.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.8754, allocations: 64.14 kB / 0.5534 GB, free: 75.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.298e-06/0.8754, allocations: 1.156 kB / 0.5534 GB, free: 75.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.0496/0.925, allocations: 20.91 MB / 0.5738 GB, free: 62.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.9251, allocations: 260.1 kB / 0.574 GB, free: 62.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/0.9299, allocations: 4.18 MB / 0.5781 GB, free: 58.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.9303, allocations: 55.89 kB / 0.5782 GB, free: 57.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.9317, allocations: 3.238 MB / 0.5813 GB, free: 55.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006754/0.9324, allocations: 0.7973 MB / 0.5821 GB, free: 54.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.9336, allocations: 1.189 MB / 0.5833 GB, free: 53.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.9336, allocations: 305.1 kB / 0.5836 GB, free: 52.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.9362, allocations: 2.268 MB / 0.5858 GB, free: 50.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.9399, allocations: 5.749 MB / 0.5914 GB, free: 43.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/0.9477, allocations: 8.68 MB / 0.5999 GB, free: 32.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.9478, allocations: 47.8 kB / 0.5999 GB, free: 32.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01779/0.9656, allocations: 9.526 MB / 0.6092 GB, free: 23.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.9657, allocations: 58.53 kB / 0.6093 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.9658, allocations: 120 kB / 0.6094 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.9713, allocations: 2.081 MB / 0.6114 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/0.9749, allocations: 1.248 MB / 0.6126 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/0.9932, allocations: 16.94 MB / 0.6292 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/0.9975, allocations: 349.9 kB / 0.6295 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005975/0.9981, allocations: 348 kB / 0.6299 GB, free: 1.777 MB / 446.1 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.003066/1.001, allocations: 2.139 MB / 0.6319 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008288/1.002, allocations: 397.3 kB / 0.6323 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008884/1.011, allocations: 4.271 MB / 0.6365 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/1.011, allocations: 20 kB / 0.6365 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.011, allocations: 8 kB / 0.6365 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.011, allocations: 7.969 kB / 0.6365 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/1.03, allocations: 9.938 MB / 0.6462 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.03, allocations: 7.938 kB / 0.6462 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.032, allocations: 287.9 kB / 0.6465 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004285/1.036, allocations: 1.355 MB / 0.6478 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/1.036, allocations: 31.75 kB / 0.6479 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.051, allocations: 8.879 MB / 0.6565 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.051, allocations: 4 kB / 0.6565 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.065, allocations: 7.238 MB / 0.6636 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.066, allocations: 365.2 kB / 0.664 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006076/1.067, allocations: 36 kB / 0.664 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.068, allocations: 119.8 kB / 0.6641 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004239/1.069, allocations: 125 kB / 0.6642 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.069, allocations: 52 kB / 0.6643 GB, free: 14.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004253/1.073, allocations: 2.64 MB / 0.6669 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.073, allocations: 3.938 kB / 0.6669 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005058/1.078, allocations: 1.101 MB / 0.6679 GB, free: 10.56 MB / 494.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 (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.0131/1.091, allocations: 7.901 MB / 0.6756 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.102, allocations: 5.817 MB / 0.6813 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.102, allocations: 4 kB / 0.6813 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/1.106, allocations: 2.069 MB / 0.6834 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.11, allocations: 0.5956 MB / 0.6839 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08789/1.198, allocations: 49.87 MB / 0.7326 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00458/1.202, allocations: 3.393 MB / 0.736 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004578/1.207, allocations: 1.884 MB / 0.7378 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003244/1.21, allocations: 1.979 MB / 0.7397 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of SimCode: time 1.763e-06/1.21, allocations: 0 / 0.7397 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3636/1.574, allocations: 89.02 MB / 0.8267 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.61/29.19, allocations: 19.17 kB / 0.8267 GB, free: 151.2 MB / 0.5606 GB " [Timeout remaining time 631] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/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: 31.977582674997393]