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.001872/0.001872, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 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.00257/0.00257, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 0.0019/0.0019, allocations: 71.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 53.4 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01423/0.289, allocations: 11.87 MB / 443.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009838/0.2988, allocations: 4.387 MB / 447.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.3009, allocations: 95.44 kB / 447.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006024/0.3069, allocations: 2.924 MB / 450.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005691/0.3126, allocations: 1.981 MB / 452.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.3155, allocations: 1.056 MB / 453.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008419/0.3239, allocations: 5.616 MB / 459.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00455/0.3284, allocations: 3.065 MB / 462.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.3315, allocations: 1.737 MB / 463.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.3352, allocations: 2.473 MB / 466.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009089/0.3361, allocations: 368 kB / 466.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.3387, allocations: 1.276 MB / 468 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.3412, allocations: 2.142 MB / 470.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003418/0.3446, allocations: 2.478 MB / 472.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.355, allocations: 7.915 MB / 480.6 MB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.355, allocations: 0 / 480.6 MB, free: 5.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.355, allocations: 0 / 480.6 MB, free: 5.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000201/0.3552, allocations: 0 / 480.6 MB, free: 5.07 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.01556/0.3707, allocations: 5.5 MB / 486.1 MB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3708, allocations: 12.03 kB / 486.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001658/0.3724, allocations: 0.7071 MB / 486.8 MB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1531/0.5255, allocations: 12.38 MB / 499.2 MB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.5369, allocations: 3.875 MB / 0.4912 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.5371, allocations: 246.1 kB / 0.4915 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008981/0.538, allocations: 319.8 kB / 0.4918 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.5546, allocations: 9.718 MB / 0.5013 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.5547, allocations: 47.59 kB / 0.5013 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/0.5552, allocations: 155.8 kB / 0.5015 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/0.5585, allocations: 1.9 MB / 0.5033 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.5753, allocations: 8.23 MB / 0.5114 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2735/0.8487, allocations: 37.64 MB / 0.5481 GB, free: 75.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.8562, allocations: 3.246 MB / 0.5513 GB, free: 75.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.8582, allocations: 1.924 MB / 0.5532 GB, free: 74.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/0.8587, allocations: 205.7 kB / 0.5534 GB, free: 74.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.8587, allocations: 58.8 kB / 0.5534 GB, free: 74.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.898e-06/0.8587, allocations: 0 / 0.5534 GB, free: 74.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04795/0.9067, allocations: 20.91 MB / 0.5738 GB, free: 62.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.9068, allocations: 258.5 kB / 0.5741 GB, free: 61.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/0.9113, allocations: 4.178 MB / 0.5782 GB, free: 57.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.9115, allocations: 57.7 kB / 0.5782 GB, free: 57.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.9129, allocations: 3.244 MB / 0.5814 GB, free: 54.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000592/0.9135, allocations: 0.7939 MB / 0.5822 GB, free: 54.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.9146, allocations: 1.187 MB / 0.5833 GB, free: 52.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.9146, allocations: 307.7 kB / 0.5836 GB, free: 52.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/0.9171, allocations: 2.272 MB / 0.5858 GB, free: 50.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/0.9208, allocations: 5.739 MB / 0.5914 GB, free: 42.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007059/0.9279, allocations: 8.687 MB / 0.5999 GB, free: 32.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.302e-05/0.928, allocations: 32 kB / 0.6 GB, free: 32.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01515/0.9431, allocations: 9.541 MB / 0.6093 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.9432, allocations: 63.98 kB / 0.6093 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.9433, allocations: 122.6 kB / 0.6094 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/0.9486, allocations: 2.081 MB / 0.6115 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.9521, allocations: 1.252 MB / 0.6127 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.9703, allocations: 16.93 MB / 0.6292 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/0.9746, allocations: 351.3 kB / 0.6296 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005518/0.9751, allocations: 351.9 kB / 0.6299 GB, free: 1.547 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.002789/0.9779, allocations: 2.131 MB / 0.632 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/0.9786, allocations: 393.4 kB / 0.6324 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008422/0.987, allocations: 4.267 MB / 0.6365 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.9871, allocations: 24 kB / 0.6366 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.9871, allocations: 4 kB / 0.6366 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.9871, allocations: 11.97 kB / 0.6366 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.006, allocations: 9.94 MB / 0.6463 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.006, allocations: 0 / 0.6463 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.007, allocations: 287.5 kB / 0.6465 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004092/1.011, allocations: 1.355 MB / 0.6479 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/1.011, allocations: 39.69 kB / 0.6479 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.025, allocations: 8.883 MB / 0.6566 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.025, allocations: 0 / 0.6566 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.037, allocations: 7.243 MB / 0.6637 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.039, allocations: 365.2 kB / 0.664 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007553/1.039, allocations: 32 kB / 0.664 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.041, allocations: 119.8 kB / 0.6641 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/1.041, allocations: 125 kB / 0.6643 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.042, allocations: 52 kB / 0.6643 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004322/1.046, allocations: 2.637 MB / 0.6669 GB, free: 11.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.046, allocations: 4 kB / 0.6669 GB, free: 11.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005493/1.051, allocations: 1.101 MB / 0.668 GB, free: 10.33 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.065, allocations: 7.901 MB / 0.6757 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/1.075, allocations: 5.821 MB / 0.6814 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.075, allocations: 0 / 0.6814 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.079, allocations: 2.069 MB / 0.6834 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.082, allocations: 0.5849 MB / 0.684 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08863/1.171, allocations: 49.88 MB / 0.7327 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00431/1.175, allocations: 3.394 MB / 0.736 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004415/1.18, allocations: 1.88 MB / 0.7378 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003133/1.183, allocations: 1.979 MB / 0.7398 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.183, allocations: 0 / 0.7398 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/1.609, allocations: 89.01 MB / 0.8267 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.8/30.41, allocations: 4.453 kB / 0.8267 GB, free: 150.8 MB / 0.5606 GB " [Timeout remaining time 629] (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/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_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: 33.19171111200194]