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.001974/0.001974, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.002093/0.002093, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.553/1.553, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.001752/0.001752, allocations: 51.92 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1108, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01505/0.1259, allocations: 11.96 MB / 429.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.1361, allocations: 4.366 MB / 434.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.1391, allocations: 103.4 kB / 434.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006385/0.1455, allocations: 2.92 MB / 437.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.1514, allocations: 2.039 MB / 439.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003055/0.1544, allocations: 1.037 MB / 440.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009109/0.1635, allocations: 5.549 MB / 445.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2421/0.4057, allocations: 3.314 MB / 449.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.4088, allocations: 1.757 MB / 450.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.4133, allocations: 2.495 MB / 453.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.4146, allocations: 369.7 kB / 453.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.4179, allocations: 1.291 MB / 455 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.4214, allocations: 2.182 MB / 457.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005676/0.427, allocations: 2.537 MB / 459.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.4411, allocations: 8.082 MB / 467.8 MB, free: 6.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.4411, allocations: 3.938 kB / 467.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4411, allocations: 0 / 467.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003362/0.4415, allocations: 0 / 467.8 MB, free: 6.145 MB / 366.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.0244/0.4659, allocations: 5.642 MB / 473.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4659, allocations: 10.06 kB / 473.4 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003485/0.4694, allocations: 0.7171 MB / 474.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1634/0.6328, allocations: 12.4 MB / 486.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.6454, allocations: 4.201 MB / 490.8 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.6457, allocations: 240.8 kB / 491 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.6478, allocations: 326.6 kB / 491.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.6733, allocations: 9.9 MB / 0.4895 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/0.6736, allocations: 49.45 kB / 0.4895 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.675, allocations: 156 kB / 0.4897 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/0.6792, allocations: 1.952 MB / 0.4916 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.7, allocations: 8.339 MB / 0.4997 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/0.7636, allocations: 38.21 MB / 0.537 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009864/0.7735, allocations: 3.692 MB / 0.5406 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.7766, allocations: 1.911 MB / 0.5425 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000859/0.7775, allocations: 0.6493 MB / 0.5431 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/0.7776, allocations: 54.45 kB / 0.5432 GB, free: 6.828 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 5.631e-06/0.7776, allocations: 4 kB / 0.5432 GB, free: 6.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.07132/0.8489, allocations: 21.18 MB / 0.5639 GB, free: 1.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.8491, allocations: 260.6 kB / 0.5641 GB, free: 1.316 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.8603, allocations: 4.202 MB / 0.5682 GB, free: 13.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007075/0.861, allocations: 57.7 kB / 0.5683 GB, free: 13.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004082/0.8651, allocations: 3.281 MB / 0.5715 GB, free: 9.766 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/0.8668, allocations: 0.794 MB / 0.5723 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004361/0.8711, allocations: 1.19 MB / 0.5734 GB, free: 7.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8713, allocations: 307.4 kB / 0.5737 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004837/0.8762, allocations: 2.272 MB / 0.5759 GB, free: 5.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008241/0.8844, allocations: 5.74 MB / 0.5815 GB, free: 13.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/0.8978, allocations: 8.684 MB / 0.59 GB, free: 3.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/0.8979, allocations: 35.94 kB / 0.5901 GB, free: 3.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02322/0.9212, allocations: 9.538 MB / 0.5994 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.9214, allocations: 63.97 kB / 0.5994 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/0.9216, allocations: 120 kB / 0.5995 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007299/0.9289, allocations: 2.082 MB / 0.6016 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/0.9338, allocations: 1.248 MB / 0.6028 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02836/0.9622, allocations: 17.25 MB / 0.6196 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005658/0.9678, allocations: 339.5 kB / 0.62 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0014/0.9692, allocations: 356 kB / 0.6203 GB, free: 4.547 MB / 0.5137 GB 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.005904/0.9751, allocations: 2.171 MB / 0.6224 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.9763, allocations: 401.3 kB / 0.6228 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/0.9869, allocations: 4.263 MB / 0.627 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/0.987, allocations: 24 kB / 0.627 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.987, allocations: 8 kB / 0.627 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/0.987, allocations: 11.81 kB / 0.627 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0254/1.012, allocations: 10.04 MB / 0.6368 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.012, allocations: 4 kB / 0.6368 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.014, allocations: 279.6 kB / 0.6371 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004424/1.018, allocations: 1.359 MB / 0.6384 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/1.019, allocations: 36 kB / 0.6384 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2516/1.27, allocations: 8.968 MB / 0.6472 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.27, allocations: 5.828 kB / 0.6472 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.283, allocations: 7.239 MB / 0.6543 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.284, allocations: 440.2 kB / 0.6547 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/1.284, allocations: 33.92 kB / 0.6547 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.286, allocations: 126.5 kB / 0.6549 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/1.286, allocations: 115.8 kB / 0.655 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/1.287, allocations: 54.95 kB / 0.655 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004961/1.291, allocations: 2.649 MB / 0.6576 GB, free: 177 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.291, allocations: 0 / 0.6576 GB, free: 177 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00583/1.297, allocations: 1.122 MB / 0.6587 GB, free: 176.8 MB / 0.5294 GB 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.01072/1.308, allocations: 7.906 MB / 0.6664 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007995/1.316, allocations: 5.834 MB / 0.6721 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/1.316, allocations: 1.344 kB / 0.6721 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003345/1.319, allocations: 2.067 MB / 0.6741 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.323, allocations: 0.5952 MB / 0.6747 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06781/1.391, allocations: 49.98 MB / 0.7235 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/1.394, allocations: 3.443 MB / 0.7269 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003536/1.397, allocations: 1.874 MB / 0.7287 GB, free: 115 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.4, allocations: 2.022 MB / 0.7307 GB, free: 113 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/1.4, allocations: 0 / 0.7307 GB, free: 113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/1.538, allocations: 84.53 MB / 0.8132 GB, free: 29.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.24/28.78, allocations: 7.859 kB / 0.8132 GB, free: 29 MB / 0.5294 GB " [Timeout remaining time 631] (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: 31.63437896501273]