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.001785/0.001785, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.001844/0.001844, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.559/1.559, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.689e-05, allocations: 8.984 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01593/0.01596, allocations: 11.4 MB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.02589, allocations: 4.257 MB / 287.9 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.02789, allocations: 99.38 kB / 288 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1202/0.1481, allocations: 3.072 MB / 291 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005249/0.1534, allocations: 2.057 MB / 293.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.1559, allocations: 1.15 MB / 294.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008118/0.164, allocations: 6.335 MB / 300.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005091/0.1691, allocations: 3.693 MB / 304.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.1736, allocations: 2.66 MB / 306.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.1765, allocations: 2.638 MB / 309.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006616/0.1771, allocations: 375.8 kB / 309.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.179, allocations: 1.192 MB / 311.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.1803, allocations: 2.243 MB / 313.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.1816, allocations: 1.402 MB / 314.8 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00835/0.19, allocations: 7.714 MB / 322.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.19, allocations: 7.984 kB / 322.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.19, allocations: 0 / 322.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002092/0.1902, allocations: 0 / 322.5 MB, free: 13.78 MB / 282.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.0144/0.2046, allocations: 6.124 MB / 328.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2047, allocations: 19.97 kB / 328.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02921/0.2339, allocations: 3.713 MB / 332.4 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009523/0.2434, allocations: 3.253 MB / 335.6 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.2436, allocations: 239.7 kB / 335.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007767/0.2444, allocations: 329.7 kB / 336.2 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.2572, allocations: 6.403 MB / 342.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.2574, allocations: 50.66 kB / 342.6 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.2578, allocations: 151.5 kB / 342.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003552/0.2613, allocations: 1.895 MB / 344.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.2718, allocations: 3.511 MB / 348.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05881/0.3306, allocations: 45.15 MB / 393.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.3378, allocations: 1.852 MB / 395.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.3394, allocations: 0.68 MB / 395.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.3399, allocations: 194.2 kB / 396 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.3399, allocations: 50.39 kB / 396.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 4.048e-06/0.3399, allocations: 0 / 396.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.05796/0.3979, allocations: 16.17 MB / 412.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.3981, allocations: 260.6 kB / 412.5 MB, free: 2.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007338/0.4054, allocations: 4.491 MB / 417 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004402/0.4059, allocations: 53.7 kB / 417.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003675/0.4096, allocations: 3.584 MB / 420.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/0.411, allocations: 0.8799 MB / 421.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002598/0.4136, allocations: 1.561 MB / 423.1 MB, free: 7.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.4139, allocations: 478.3 kB / 423.5 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.416, allocations: 0.8864 MB / 424.4 MB, free: 6.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1283/0.5442, allocations: 6.339 MB / 430.8 MB, free: 106.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008643/0.5529, allocations: 7.917 MB / 438.7 MB, free: 99.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/0.5531, allocations: 34 kB / 438.7 MB, free: 99.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.0192/0.5722, allocations: 6.942 MB / 445.7 MB, free: 98.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.5723, allocations: 63.31 kB / 445.7 MB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.5725, allocations: 120.9 kB / 445.8 MB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007414/0.5799, allocations: 1.871 MB / 447.7 MB, free: 98.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/0.5838, allocations: 1.304 MB / 449 MB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.5989, allocations: 10.84 MB / 459.9 MB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.604, allocations: 427.9 kB / 460.3 MB, free: 92.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007263/0.6047, allocations: 365.3 kB / 460.6 MB, free: 92.57 MB / 378.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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001975/0.6067, allocations: 0.7376 MB / 461.4 MB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008179/0.6075, allocations: 404.8 kB / 461.8 MB, free: 92.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/0.6145, allocations: 2.725 MB / 464.5 MB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.6146, allocations: 20 kB / 464.5 MB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6146, allocations: 10.75 kB / 464.5 MB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.6146, allocations: 11.06 kB / 464.5 MB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.6308, allocations: 7.916 MB / 472.4 MB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6308, allocations: 0.875 kB / 472.4 MB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.6321, allocations: 283.6 kB / 472.7 MB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005028/0.6371, allocations: 1.229 MB / 474 MB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.6373, allocations: 34.42 kB / 474 MB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007586/0.6449, allocations: 4.418 MB / 478.4 MB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6449, allocations: 7.938 kB / 478.4 MB, free: 78.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/0.6534, allocations: 3.984 MB / 482.4 MB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.6545, allocations: 366.7 kB / 482.8 MB, free: 74.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.655, allocations: 32 kB / 482.8 MB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.6568, allocations: 206.1 kB / 483 MB, free: 74.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/0.6572, allocations: 128.1 kB / 483.1 MB, free: 74.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.6573, allocations: 55.98 kB / 483.2 MB, free: 74.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002486/0.6598, allocations: 1.906 MB / 485.1 MB, free: 72.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6598, allocations: 0 / 485.1 MB, free: 72.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004878/0.6647, allocations: 1.311 MB / 486.4 MB, free: 71.02 MB / 378.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 {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/0.6651, allocations: 185 kB / 486.6 MB, free: 70.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.6719, allocations: 4.378 MB / 490.9 MB, free: 66.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6719, allocations: 0 / 490.9 MB, free: 66.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.6738, allocations: 1.214 MB / 492.2 MB, free: 65.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.6768, allocations: 0.5373 MB / 492.7 MB, free: 64.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.6897, allocations: 8.382 MB / 0.4893 GB, free: 56.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.6923, allocations: 2.601 MB / 0.4919 GB, free: 53.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003289/0.6955, allocations: 1.57 MB / 0.4934 GB, free: 52.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.6962, allocations: 248.4 kB / 0.4936 GB, free: 51.78 MB / 378.7 MB Notification: Performance of SimCode: time 3.286e-06/0.6962, allocations: 0 / 0.4936 GB, free: 51.78 MB / 378.7 MB Notification: Performance of Templates: time 0.07055/0.7668, allocations: 47.99 MB / 0.5405 GB, free: 4.332 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/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: 6.817172323935665]