Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 194.6 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 47.92 kB / 370.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2424, allocations: 52.18 MB / 422.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01373/0.2561, allocations: 10.45 MB / 433 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009402/0.2655, allocations: 4.16 MB / 437.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.2672, allocations: 99.44 kB / 437.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005615/0.2728, allocations: 2.819 MB / 440.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005337/0.2781, allocations: 2.047 MB / 442.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.2804, allocations: 1.037 MB / 443.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007409/0.2878, allocations: 5.571 MB / 448.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003898/0.2917, allocations: 3.074 MB / 451.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.2944, allocations: 1.76 MB / 453.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.2977, allocations: 2.363 MB / 456 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007159/0.2984, allocations: 368 kB / 456.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.3005, allocations: 1.151 MB / 457.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.3027, allocations: 2.181 MB / 459.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003078/0.3058, allocations: 1.923 MB / 461.6 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.3161, allocations: 8.117 MB / 469.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3161, allocations: 0 / 469.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3161, allocations: 4 kB / 469.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001787/0.3163, allocations: 3.938 kB / 469.7 MB, free: 15.04 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01378/0.3301, allocations: 5.566 MB / 475.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3301, allocations: 8.031 kB / 475.3 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/0.3312, allocations: 0.7195 MB / 476 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1745/0.5057, allocations: 12.39 MB / 488.4 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.517, allocations: 4.121 MB / 492.5 MB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.5172, allocations: 238.2 kB / 492.7 MB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.5185, allocations: 331.8 kB / 493.1 MB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.5376, allocations: 9.997 MB / 0.4913 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.5377, allocations: 47.7 kB / 0.4913 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.5382, allocations: 159.8 kB / 0.4915 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003547/0.5417, allocations: 1.951 MB / 0.4934 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.5582, allocations: 8.316 MB / 0.5015 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2339/0.7921, allocations: 36.15 MB / 0.5368 GB, free: 99.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007349/0.7994, allocations: 3.228 MB / 0.5399 GB, free: 99.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.8013, allocations: 1.92 MB / 0.5418 GB, free: 99.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.8018, allocations: 201.5 kB / 0.542 GB, free: 99.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.8018, allocations: 49.31 kB / 0.5421 GB, free: 99.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.997e-06/0.8018, allocations: 1.094 kB / 0.5421 GB, free: 99.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04988/0.8517, allocations: 21.04 MB / 0.5626 GB, free: 86.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.8517, allocations: 252.6 kB / 0.5628 GB, free: 86.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/0.857, allocations: 4.397 MB / 0.5671 GB, free: 82.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004333/0.8574, allocations: 61.64 kB / 0.5672 GB, free: 82.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.859, allocations: 3.283 MB / 0.5704 GB, free: 79.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008801/0.8599, allocations: 0.801 MB / 0.5712 GB, free: 78.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.8617, allocations: 1.191 MB / 0.5724 GB, free: 77.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.8617, allocations: 301.1 kB / 0.5726 GB, free: 76.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.8643, allocations: 2.272 MB / 0.5749 GB, free: 74.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003586/0.8679, allocations: 5.839 MB / 0.5806 GB, free: 67.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00733/0.8752, allocations: 8.684 MB / 0.589 GB, free: 56.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.103e-05/0.8753, allocations: 36 kB / 0.5891 GB, free: 56.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01488/0.8902, allocations: 9.536 MB / 0.5984 GB, free: 47.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.8903, allocations: 60 kB / 0.5984 GB, free: 47.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.8905, allocations: 124 kB / 0.5986 GB, free: 47.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/0.8958, allocations: 2.071 MB / 0.6006 GB, free: 44.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.8992, allocations: 1.248 MB / 0.6018 GB, free: 43.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/0.9164, allocations: 16.77 MB / 0.6182 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.921, allocations: 351.2 kB / 0.6185 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006386/0.9216, allocations: 352 kB / 0.6188 GB, free: 25.9 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.arrowLine.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.002932/0.9246, allocations: 2.15 MB / 0.6209 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006832/0.9252, allocations: 397.4 kB / 0.6213 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006659/0.9319, allocations: 4.274 MB / 0.6255 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/0.9319, allocations: 24 kB / 0.6255 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.9319, allocations: 8 kB / 0.6255 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.932, allocations: 16.7 kB / 0.6255 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.9468, allocations: 9.509 MB / 0.6348 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.9468, allocations: 8.062 kB / 0.6348 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9481, allocations: 287.5 kB / 0.6351 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/0.9514, allocations: 1.359 MB / 0.6364 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.9516, allocations: 28 kB / 0.6365 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.9622, allocations: 8.778 MB / 0.645 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.9622, allocations: 0 / 0.645 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.9749, allocations: 7.253 MB / 0.6521 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/0.9765, allocations: 361.2 kB / 0.6525 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007718/0.9772, allocations: 32 kB / 0.6525 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.979, allocations: 123.7 kB / 0.6526 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004208/0.9795, allocations: 132.9 kB / 0.6527 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.9796, allocations: 48.27 kB / 0.6528 GB, free: 6.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004533/0.9841, allocations: 2.649 MB / 0.6554 GB, free: 4.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9841, allocations: 0 / 0.6554 GB, free: 4.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005035/0.9892, allocations: 1.117 MB / 0.6565 GB, free: 3.176 MB / 462.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.01298/1.002, allocations: 7.91 MB / 0.6642 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009815/1.012, allocations: 5.816 MB / 0.6699 GB, free: 5.395 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.012, allocations: 4 kB / 0.6699 GB, free: 5.391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/1.016, allocations: 2.073 MB / 0.6719 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/1.019, allocations: 0.5855 MB / 0.6725 GB, free: 2.742 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08248/1.102, allocations: 50.07 MB / 0.7214 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/1.106, allocations: 2.909 MB / 0.7242 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00436/1.11, allocations: 1.881 MB / 0.726 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003079/1.113, allocations: 2.018 MB / 0.728 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/1.113, allocations: 0 / 0.728 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/1.422, allocations: 85.26 MB / 0.8113 GB, free: 122.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/19.76, allocations: 3.984 kB / 0.8113 GB, free: 122.2 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 22.373499298933893]