Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000877/0.000877, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008666/0.0008666, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8763/0.8763, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.106e-05, allocations: 2.281 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009143/0.009164, allocations: 10.34 MB / 334.9 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.01603, allocations: 4.171 MB / 339 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.0173, allocations: 95.44 kB / 339.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.02033, allocations: 2.947 MB / 342.1 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.02347, allocations: 2.049 MB / 344.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.02488, allocations: 1.115 MB / 345.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004932/0.02981, allocations: 6.347 MB / 351.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.03298, allocations: 3.58 MB / 355.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.03572, allocations: 2.639 MB / 357.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.03813, allocations: 2.568 MB / 360.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005077/0.03863, allocations: 376 kB / 360.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.03997, allocations: 1.194 MB / 361.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.0412, allocations: 2.252 MB / 364.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.04243, allocations: 1.511 MB / 365.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.04742, allocations: 8.026 MB / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04742, allocations: 4 kB / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.04742, allocations: 0 / 373.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.041e-05/0.04751, allocations: 0 / 373.7 MB, free: 14.45 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.007277/0.05479, allocations: 5.586 MB / 379.3 MB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.05483, allocations: 11.98 kB / 379.3 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005874/0.05542, allocations: 0.7149 MB / 380.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07241/0.1278, allocations: 12.79 MB / 392.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.1341, allocations: 3.551 MB / 396.4 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1342, allocations: 242.2 kB / 396.6 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009082/0.1351, allocations: 327.8 kB / 396.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.1455, allocations: 9.823 MB / 406.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.16e-05/0.1455, allocations: 51.59 kB / 406.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000267/0.1458, allocations: 151.8 kB / 407 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/0.1476, allocations: 1.9 MB / 408.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009164/0.1568, allocations: 8.218 MB / 417.1 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1662/0.323, allocations: 36.13 MB / 453.2 MB, free: 105.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/0.3273, allocations: 3.323 MB / 456.5 MB, free: 105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.3285, allocations: 1.932 MB / 458.5 MB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3288, allocations: 197 kB / 458.7 MB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3288, allocations: 54.31 kB / 458.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 3.506e-06/0.3288, allocations: 1.219 kB / 458.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.02792/0.3567, allocations: 21.64 MB / 480.4 MB, free: 90.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3568, allocations: 252.6 kB / 480.6 MB, free: 90.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.3602, allocations: 4.746 MB / 485.3 MB, free: 86.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.3603, allocations: 57.7 kB / 485.4 MB, free: 85.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008252/0.3612, allocations: 3.203 MB / 488.6 MB, free: 83.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.3615, allocations: 0.7898 MB / 489.4 MB, free: 82.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007834/0.3623, allocations: 1.167 MB / 490.6 MB, free: 81.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.327e-05/0.3623, allocations: 308.4 kB / 490.9 MB, free: 80.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.364, allocations: 2.275 MB / 493.1 MB, free: 78.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.3664, allocations: 5.841 MB / 499 MB, free: 70.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004907/0.3713, allocations: 8.683 MB / 0.4958 GB, free: 60.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.3714, allocations: 37.34 kB / 0.4958 GB, free: 60.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.008854/0.3802, allocations: 9.546 MB / 0.5051 GB, free: 51.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.3803, allocations: 56 kB / 0.5052 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.737e-05/0.3803, allocations: 120 kB / 0.5053 GB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/0.3832, allocations: 2.078 MB / 0.5073 GB, free: 48.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.3848, allocations: 1.251 MB / 0.5085 GB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.3966, allocations: 16.9 MB / 0.5251 GB, free: 30.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.3994, allocations: 411 kB / 0.5254 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.3997, allocations: 348 kB / 0.5258 GB, free: 29.61 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.002042/0.4017, allocations: 2.131 MB / 0.5279 GB, free: 27.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.4021, allocations: 393.4 kB / 0.5282 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/0.4061, allocations: 4.266 MB / 0.5324 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.4061, allocations: 27.94 kB / 0.5324 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4061, allocations: 8 kB / 0.5324 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.4061, allocations: 9.047 kB / 0.5324 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/0.4149, allocations: 9.596 MB / 0.5418 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4149, allocations: 4 kB / 0.5418 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.4156, allocations: 283.7 kB / 0.5421 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.4174, allocations: 1.351 MB / 0.5434 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/0.4175, allocations: 32 kB / 0.5434 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/0.4239, allocations: 8.865 MB / 0.5521 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.424, allocations: 4 kB / 0.5521 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006867/0.4308, allocations: 7.244 MB / 0.5592 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/0.4314, allocations: 433.1 kB / 0.5596 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.4317, allocations: 36 kB / 0.5596 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.4326, allocations: 175.7 kB / 0.5598 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.4328, allocations: 132.9 kB / 0.5599 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/0.4329, allocations: 48 kB / 0.56 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002671/0.4356, allocations: 2.918 MB / 0.5628 GB, free: 7.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4356, allocations: 0 / 0.5628 GB, free: 7.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003438/0.439, allocations: 1.289 MB / 0.5641 GB, free: 6.195 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.007605/0.4466, allocations: 7.921 MB / 0.5718 GB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006186/0.4528, allocations: 5.809 MB / 0.5775 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4528, allocations: 0 / 0.5775 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.4553, allocations: 2.073 MB / 0.5795 GB, free: 6.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.4572, allocations: 0.5926 MB / 0.5801 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1763/0.6335, allocations: 50.91 MB / 0.6298 GB, free: 150.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.6356, allocations: 2.859 MB / 0.6326 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002338/0.6379, allocations: 1.892 MB / 0.6344 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.6392, allocations: 1.992 MB / 0.6364 GB, free: 147.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6392, allocations: 0 / 0.6364 GB, free: 147.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.7162, allocations: 87.38 MB / 0.7217 GB, free: 61.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.63, allocations: 7.953 kB / 0.7217 GB, free: 61.18 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.491784419864416]