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.001277/0.001277, allocations: 76.08 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.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.001431/0.001431, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8919/0.8919, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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 1.983e-06/1.983e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.787e-05, allocations: 10.22 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008407/0.008425, allocations: 10.44 MB / 328.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.01428, allocations: 4.17 MB / 333.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009287/0.01521, allocations: 103.4 kB / 333.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.01825, allocations: 2.951 MB / 336.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.02081, allocations: 2.104 MB / 338.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.02199, allocations: 1.126 MB / 339.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.02598, allocations: 6.237 MB / 345.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.02833, allocations: 3.608 MB / 349.2 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.03053, allocations: 2.682 MB / 351.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.03238, allocations: 2.584 MB / 354.5 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.03269, allocations: 380 kB / 354.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.03386, allocations: 1.213 MB / 356 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.03524, allocations: 2.299 MB / 358.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.03623, allocations: 1.542 MB / 359.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.04117, allocations: 8.197 MB / 368.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.04117, allocations: 0 / 368.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04117, allocations: 0 / 368.1 MB, free: 4.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.471e-05/0.04125, allocations: 4 kB / 368.1 MB, free: 4.508 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.007417/0.04866, allocations: 5.652 MB / 373.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.0487, allocations: 8.922 kB / 373.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005857/0.04929, allocations: 0.7196 MB / 374.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07289/0.1222, allocations: 12.8 MB / 387.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005824/0.128, allocations: 3.575 MB / 390.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1281, allocations: 250.3 kB / 391.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.1287, allocations: 327.8 kB / 391.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.1392, allocations: 10 MB / 401.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.288e-05/0.1392, allocations: 43.66 kB / 401.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/0.1395, allocations: 159.8 kB / 401.6 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001918/0.1414, allocations: 1.959 MB / 403.6 MB, free: 212 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009847/0.1513, allocations: 8.316 MB / 411.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03055/0.1818, allocations: 36.53 MB / 448.4 MB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1495/0.3314, allocations: 3.327 MB / 451.7 MB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/0.3333, allocations: 1.927 MB / 453.7 MB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.3337, allocations: 198.3 kB / 453.9 MB, free: 118.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3337, allocations: 53.88 kB / 453.9 MB, free: 118.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.248e-06/0.3337, allocations: 0 / 453.9 MB, free: 118.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.03064/0.3643, allocations: 21.7 MB / 475.6 MB, free: 104.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3644, allocations: 248.6 kB / 475.8 MB, free: 104.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.368, allocations: 4.769 MB / 480.6 MB, free: 99.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.3682, allocations: 56.53 kB / 480.7 MB, free: 99.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009157/0.3691, allocations: 3.253 MB / 483.9 MB, free: 96.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.3696, allocations: 0.7848 MB / 484.7 MB, free: 95.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008352/0.3704, allocations: 1.175 MB / 485.9 MB, free: 94.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.3705, allocations: 313 kB / 486.2 MB, free: 94.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.3723, allocations: 2.268 MB / 488.5 MB, free: 92.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.3747, allocations: 5.835 MB / 494.3 MB, free: 84.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005292/0.38, allocations: 8.685 MB / 0.4912 GB, free: 74.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.707e-05/0.3801, allocations: 36 kB / 0.4912 GB, free: 74.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01033/0.3904, allocations: 9.544 MB / 0.5005 GB, free: 64.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.3905, allocations: 59.94 kB / 0.5006 GB, free: 64.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.649e-05/0.3905, allocations: 127.9 kB / 0.5007 GB, free: 64.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/0.3936, allocations: 2.064 MB / 0.5027 GB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.3957, allocations: 1.248 MB / 0.504 GB, free: 61.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.4081, allocations: 16.92 MB / 0.5205 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/0.4117, allocations: 399.5 kB / 0.5209 GB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007302/0.4124, allocations: 352 kB / 0.5212 GB, free: 43.1 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.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.002676/0.4151, allocations: 2.169 MB / 0.5233 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/0.4158, allocations: 407.7 kB / 0.5237 GB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/0.4201, allocations: 4.266 MB / 0.5279 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.4202, allocations: 28 kB / 0.5279 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4202, allocations: 8 kB / 0.5279 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.4202, allocations: 7.969 kB / 0.5279 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4302, allocations: 9.661 MB / 0.5373 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4302, allocations: 0 / 0.5373 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.4309, allocations: 283.6 kB / 0.5376 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.4328, allocations: 1.355 MB / 0.5389 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/0.4329, allocations: 31.98 kB / 0.539 GB, free: 24.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.4398, allocations: 8.863 MB / 0.5476 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4398, allocations: 3.938 kB / 0.5476 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006595/0.4464, allocations: 7.242 MB / 0.5547 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.4474, allocations: 431.5 kB / 0.5551 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.4477, allocations: 31.94 kB / 0.5551 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4487, allocations: 187.7 kB / 0.5553 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.449, allocations: 124.9 kB / 0.5554 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.449, allocations: 56.11 kB / 0.5555 GB, free: 7.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002751/0.4518, allocations: 2.922 MB / 0.5583 GB, free: 4.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4518, allocations: 0 / 0.5583 GB, free: 4.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003544/0.4553, allocations: 1.316 MB / 0.5596 GB, free: 3.547 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 (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.007157/0.4625, allocations: 7.925 MB / 0.5674 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007588/0.4701, allocations: 5.82 MB / 0.5731 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.4701, allocations: 0 / 0.5731 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.4726, allocations: 2.069 MB / 0.5751 GB, free: 3.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.4751, allocations: 0.6113 MB / 0.5757 GB, free: 3.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/0.6693, allocations: 51.1 MB / 0.6256 GB, free: 140.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.6714, allocations: 2.912 MB / 0.6284 GB, free: 138.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002521/0.6739, allocations: 1.892 MB / 0.6303 GB, free: 137.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.6754, allocations: 2.027 MB / 0.6322 GB, free: 135.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6754, allocations: 7.938 kB / 0.6323 GB, free: 135.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08412/0.7596, allocations: 87.92 MB / 0.7181 GB, free: 48.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.48, allocations: 11.02 kB / 0.7181 GB, free: 48.45 MB / 458.7 MB " [Timeout remaining time 647] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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: 14.337568837217987]