Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 51.92 kB / 373 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.0968, allocations: 53.32 MB / 426.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2715/0.3683, allocations: 11.84 MB / 438.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009643/0.3779, allocations: 4.355 MB / 442.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.3811, allocations: 96.69 kB / 442.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006378/0.3875, allocations: 2.917 MB / 445.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007234/0.3948, allocations: 1.969 MB / 447.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.3979, allocations: 1.056 MB / 448.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.4095, allocations: 5.594 MB / 454.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007974/0.4175, allocations: 3.302 MB / 457.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005126/0.4226, allocations: 1.73 MB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005584/0.4282, allocations: 2.472 MB / 461.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.4301, allocations: 361.8 kB / 462 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.4344, allocations: 1.274 MB / 463.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00455/0.439, allocations: 2.145 MB / 465.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00725/0.4462, allocations: 2.478 MB / 467.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.461, allocations: 7.924 MB / 475.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.461, allocations: 0 / 475.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.461, allocations: 0 / 475.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003439/0.4613, allocations: 0 / 475.8 MB, free: 15.27 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.02004/0.4814, allocations: 5.571 MB / 481.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.4815, allocations: 8.031 kB / 481.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002646/0.4841, allocations: 0.7071 MB / 482.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1704/0.6545, allocations: 12.39 MB / 494.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.6666, allocations: 3.955 MB / 498.5 MB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.6669, allocations: 242 kB / 498.7 MB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.6683, allocations: 323.8 kB / 499 MB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.686, allocations: 9.723 MB / 0.4968 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.6861, allocations: 51.59 kB / 0.4969 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/0.6865, allocations: 147.9 kB / 0.497 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003316/0.6898, allocations: 1.9 MB / 0.4989 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.7047, allocations: 8.238 MB / 0.5069 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04498/0.7497, allocations: 37.76 MB / 0.5438 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008315/0.758, allocations: 3.701 MB / 0.5474 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.7605, allocations: 1.916 MB / 0.5493 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.7612, allocations: 0.6439 MB / 0.5499 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.7613, allocations: 59.55 kB / 0.5499 GB, free: 5.785 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 4.248e-06/0.7613, allocations: 0 / 0.5499 GB, free: 5.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.05735/0.8186, allocations: 21.1 MB / 0.5705 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.8188, allocations: 260.6 kB / 0.5708 GB, free: 284 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/0.8251, allocations: 4.181 MB / 0.5749 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005149/0.8256, allocations: 57.69 kB / 0.5749 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.8282, allocations: 3.24 MB / 0.5781 GB, free: 8.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.8292, allocations: 0.8024 MB / 0.5789 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.8308, allocations: 1.179 MB / 0.58 GB, free: 6.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.831, allocations: 309.1 kB / 0.5803 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.8343, allocations: 2.272 MB / 0.5825 GB, free: 4.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006499/0.8408, allocations: 5.743 MB / 0.5882 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.8518, allocations: 8.687 MB / 0.5966 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.537e-05/0.8519, allocations: 36 kB / 0.5967 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01814/0.87, allocations: 9.535 MB / 0.606 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.8701, allocations: 56 kB / 0.606 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.8702, allocations: 120 kB / 0.6062 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.8764, allocations: 2.078 MB / 0.6082 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003826/0.8802, allocations: 1.255 MB / 0.6094 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2199/1.1, allocations: 17.24 MB / 0.6262 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/1.104, allocations: 343.8 kB / 0.6266 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007474/1.105, allocations: 349.1 kB / 0.6269 GB, free: 151.7 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.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.003861/1.109, allocations: 2.134 MB / 0.629 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008537/1.11, allocations: 394.5 kB / 0.6294 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008298/1.118, allocations: 4.266 MB / 0.6335 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/1.118, allocations: 30.06 kB / 0.6336 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/1.118, allocations: 7.781 kB / 0.6336 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/1.118, allocations: 9.516 kB / 0.6336 GB, free: 149.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.135, allocations: 9.972 MB / 0.6433 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.135, allocations: 1.25 kB / 0.6433 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.136, allocations: 290.3 kB / 0.6436 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.139, allocations: 1.35 MB / 0.6449 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/1.14, allocations: 31.47 kB / 0.6449 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009771/1.149, allocations: 8.978 MB / 0.6537 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.149, allocations: 2.531 kB / 0.6537 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/1.159, allocations: 7.245 MB / 0.6608 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.16, allocations: 444.9 kB / 0.6612 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.16, allocations: 35.45 kB / 0.6612 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.162, allocations: 122.9 kB / 0.6614 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/1.162, allocations: 118.1 kB / 0.6615 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.162, allocations: 53.84 kB / 0.6615 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003406/1.166, allocations: 2.639 MB / 0.6641 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.166, allocations: 0 / 0.6641 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004788/1.171, allocations: 1.104 MB / 0.6652 GB, free: 135.4 MB / 0.5137 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.009139/1.18, allocations: 7.906 MB / 0.6729 GB, free: 127.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007341/1.187, allocations: 5.807 MB / 0.6786 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.187, allocations: 0 / 0.6786 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.19, allocations: 2.067 MB / 0.6806 GB, free: 119.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.193, allocations: 0.59 MB / 0.6812 GB, free: 119.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05784/1.251, allocations: 49.81 MB / 0.7298 GB, free: 64.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/1.254, allocations: 3.389 MB / 0.7331 GB, free: 60.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003161/1.257, allocations: 1.884 MB / 0.735 GB, free: 58.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.259, allocations: 1.975 MB / 0.7369 GB, free: 56.76 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/1.259, allocations: 4 kB / 0.7369 GB, free: 56.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.271/6.53, allocations: 84.09 MB / 0.819 GB, free: 175.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.29/37.82, allocations: 6.688 kB / 0.819 GB, free: 175.1 MB / 0.545 GB " [Timeout remaining time 622] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/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_4.1.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: 41.10908113489859]