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.00259/0.00259, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002833/0.002833, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 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.54/1.54, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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: 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.73e-05, allocations: 6.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01667/0.01669, allocations: 11.53 MB / 278.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009673/0.02637, allocations: 4.269 MB / 283.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.0279, allocations: 103.4 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006538/0.03444, allocations: 3.099 MB / 286.3 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005148/0.03958, allocations: 2.111 MB / 288.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.04202, allocations: 1.15 MB / 289.6 MB, free: 392 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1203/0.1623, allocations: 6.217 MB / 295.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.1663, allocations: 3.718 MB / 299.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.1698, allocations: 2.685 MB / 302.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.1727, allocations: 2.667 MB / 304.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005783/0.1733, allocations: 375.2 kB / 305.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.175, allocations: 1.216 MB / 306.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.1764, allocations: 2.293 MB / 308.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.1777, allocations: 1.428 MB / 310.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.1832, allocations: 7.893 MB / 318.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1832, allocations: 4 kB / 318.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1832, allocations: 0 / 318.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.1834, allocations: 0 / 318.1 MB, free: 4.785 MB / 266.7 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.01042/0.1938, allocations: 6.22 MB / 324.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1938, allocations: 12.92 kB / 324.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/0.224, allocations: 3.725 MB / 328 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009776/0.2337, allocations: 3.279 MB / 331.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.234, allocations: 239 kB / 331.5 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007538/0.2347, allocations: 332.5 kB / 331.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.2486, allocations: 6.473 MB / 338.3 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.2488, allocations: 42.14 kB / 338.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004658/0.2492, allocations: 156 kB / 338.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003973/0.2532, allocations: 1.958 MB / 340.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.2637, allocations: 3.535 MB / 344 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06057/0.3243, allocations: 45.78 MB / 389.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007139/0.3314, allocations: 1.851 MB / 391.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.333, allocations: 0.6793 MB / 392.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005385/0.3335, allocations: 192.7 kB / 392.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/0.3336, allocations: 57.3 kB / 392.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 4.108e-06/0.3336, allocations: 0 / 392.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.05896/0.3926, allocations: 16.23 MB / 408.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/0.3928, allocations: 256.5 kB / 409.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007179/0.3999, allocations: 4.57 MB / 413.6 MB, free: 4.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.4002, allocations: 57.7 kB / 413.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003645/0.4038, allocations: 3.601 MB / 417.3 MB, free: 500 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/0.405, allocations: 0.8805 MB / 418.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002477/0.4075, allocations: 1.576 MB / 419.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.4077, allocations: 476.8 kB / 420.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/0.4099, allocations: 0.8864 MB / 421.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007931/0.4178, allocations: 6.335 MB / 427.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1296/0.5475, allocations: 7.916 MB / 435.3 MB, free: 106.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001186/0.5476, allocations: 36.16 kB / 435.4 MB, free: 106.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.0168/0.5644, allocations: 6.942 MB / 442.3 MB, free: 105.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.354e-05/0.5645, allocations: 58.73 kB / 442.4 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/0.5646, allocations: 120.3 kB / 442.5 MB, free: 105.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007687/0.5723, allocations: 1.876 MB / 444.4 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/0.5759, allocations: 1.305 MB / 445.7 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/0.5903, allocations: 10.85 MB / 456.5 MB, free: 99.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/0.5946, allocations: 429.5 kB / 456.9 MB, free: 99.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/0.5951, allocations: 357.9 kB / 457.3 MB, free: 99.08 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.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 (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.001541/0.5966, allocations: 0.7431 MB / 458 MB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.5973, allocations: 410.9 kB / 458.4 MB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006947/0.6042, allocations: 2.721 MB / 461.2 MB, free: 98.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.6042, allocations: 19.06 kB / 461.2 MB, free: 98.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6043, allocations: 11.59 kB / 461.2 MB, free: 98.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.6043, allocations: 11.45 kB / 461.2 MB, free: 98.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.6196, allocations: 8.019 MB / 469.2 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6196, allocations: 0 / 469.2 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.6209, allocations: 287.7 kB / 469.5 MB, free: 93.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/0.6258, allocations: 1.228 MB / 470.7 MB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.626, allocations: 35.94 kB / 470.8 MB, free: 92.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007282/0.6333, allocations: 4.414 MB / 475.2 MB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6333, allocations: 4 kB / 475.2 MB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008148/0.6414, allocations: 3.999 MB / 479.2 MB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/0.6423, allocations: 374 kB / 479.5 MB, free: 83.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/0.6427, allocations: 28 kB / 479.6 MB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.6446, allocations: 203.7 kB / 479.8 MB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.6449, allocations: 121 kB / 479.9 MB, free: 83.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6451, allocations: 55.98 kB / 479.9 MB, free: 83.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002427/0.6475, allocations: 1.918 MB / 481.9 MB, free: 81.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6475, allocations: 0 / 481.9 MB, free: 81.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004503/0.652, allocations: 1.336 MB / 483.2 MB, free: 79.82 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.0004188/0.6524, allocations: 194.6 kB / 483.4 MB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006255/0.6587, allocations: 4.395 MB / 487.8 MB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6587, allocations: 0 / 487.8 MB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.6604, allocations: 1.209 MB / 489 MB, free: 73.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.6631, allocations: 0.5314 MB / 489.5 MB, free: 73.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.6738, allocations: 8.484 MB / 498 MB, free: 64.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/0.6762, allocations: 2.65 MB / 0.4889 GB, free: 62.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00297/0.6792, allocations: 1.567 MB / 0.4905 GB, free: 60.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/0.6798, allocations: 240.4 kB / 0.4907 GB, free: 60.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6798, allocations: 3.938 kB / 0.4907 GB, free: 60.42 MB / 378.7 MB Notification: Performance of Templates: time 0.06723/0.7471, allocations: 48.25 MB / 0.5378 GB, free: 12.71 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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: 6.681989814038388]