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.0008918/0.0008918, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001458/0.001458, allocations: 161.4 kB / 24.91 MB, free: 8.719 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 1.046/1.046, allocations: 177 MB / 205.2 MB, free: 5.031 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: 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 8.52e-07/8.52e-07, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.736e-06/9.588e-06, allocations: 9.266 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008281/0.008291, allocations: 11.19 MB / 284.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.01315, allocations: 4.408 MB / 289 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005/0.01365, allocations: 103.4 kB / 289.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1129/0.1265, allocations: 3.006 MB / 292.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.1311, allocations: 2.06 MB / 294.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.1327, allocations: 1.155 MB / 295.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005985/0.1387, allocations: 6.324 MB / 301.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.1422, allocations: 3.567 MB / 305.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.1455, allocations: 3.528 MB / 308.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.1476, allocations: 2.491 MB / 311.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004351/0.148, allocations: 378 kB / 311.6 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1493, allocations: 1.234 MB / 312.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009113/0.1502, allocations: 2.245 MB / 315.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.1511, allocations: 1.396 MB / 316.5 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.154, allocations: 5.017 MB / 321.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.154, allocations: 0 / 321.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.154, allocations: 0 / 321.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.659e-05/0.154, allocations: 0 / 321.5 MB, free: 15.29 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.004763/0.1588, allocations: 4.846 MB / 326.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1588, allocations: 11.98 kB / 326.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.1625, allocations: 1.314 MB / 327.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.1653, allocations: 2.31 MB / 330 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1654, allocations: 242.7 kB / 330.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.1658, allocations: 325.1 kB / 330.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/0.1704, allocations: 4.898 MB / 335.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.851e-05/0.1705, allocations: 53.03 kB / 335.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000534/0.1711, allocations: 152.9 kB / 335.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.1723, allocations: 1.638 MB / 337.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.1761, allocations: 2.407 MB / 339.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.1956, allocations: 29.67 MB / 369.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.1982, allocations: 1.365 MB / 370.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.1986, allocations: 323.7 kB / 371.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004074/0.2027, allocations: 3.426 MB / 374.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.2027, allocations: 51.09 kB / 374.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.885e-06/0.2027, allocations: 0 / 374.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01492/0.2176, allocations: 5.958 MB / 380.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2177, allocations: 244.3 kB / 380.7 MB, free: 4.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.2209, allocations: 3.326 MB / 384.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.221, allocations: 49.7 kB / 384.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.2231, allocations: 3.07 MB / 387.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.2235, allocations: 0.6048 MB / 387.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.2245, allocations: 1.136 MB / 388.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.2246, allocations: 301.1 kB / 389.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.2257, allocations: 0.7227 MB / 389.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.2288, allocations: 4.356 MB / 394.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.2334, allocations: 5.491 MB / 399.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.806e-05/0.2335, allocations: 36 kB / 399.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.0049/0.2384, allocations: 4.226 MB / 404 MB, free: 8.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.2384, allocations: 64.12 kB / 404.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.759e-05/0.2385, allocations: 132 kB / 404.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.2398, allocations: 0.6597 MB / 404.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.2421, allocations: 1.341 MB / 406.2 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.2464, allocations: 5.376 MB / 411.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.2492, allocations: 275.7 kB / 411.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/0.2496, allocations: 308 kB / 412.2 MB, free: 0.5469 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (723): * Single equations (assignments): 717 * 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,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001764/0.2514, allocations: 0.5951 MB / 412.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.2518, allocations: 227.6 kB / 413 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2531, allocations: 0.8439 MB / 413.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.2531, allocations: 16 kB / 413.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2531, allocations: 0 / 413.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2531, allocations: 11.97 kB / 413.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.2579, allocations: 3.971 MB / 417.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.2579, allocations: 8 kB / 417.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.2584, allocations: 216.7 kB / 418.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007504/0.2592, allocations: 423.4 kB / 418.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.2592, allocations: 31.98 kB / 418.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.2607, allocations: 1.912 MB / 420.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.2607, allocations: 11.94 kB / 420.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.2623, allocations: 1.776 MB / 422.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.2626, allocations: 345.4 kB / 422.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.2628, allocations: 32 kB / 422.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.2634, allocations: 32 kB / 422.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.2636, allocations: 104.3 kB / 422.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.2636, allocations: 44.03 kB / 422.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009871/0.2646, allocations: 1.244 MB / 424 MB, free: 4.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2646, allocations: 0 / 424 MB, free: 4.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002828/0.2674, allocations: 1.062 MB / 425 MB, free: 3.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (116): * Single equations (assignments): 112 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002837/0.2677, allocations: 176 kB / 425.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.2704, allocations: 2.73 MB / 428 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001475/0.2705, allocations: 100.2 kB / 428 MB, free: 228 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.271, allocations: 0.4995 MB / 428.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.2727, allocations: 0.7265 MB / 429.3 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/0.2807, allocations: 7.618 MB / 436.9 MB, free: 7.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.2817, allocations: 1.255 MB / 438.1 MB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001025/0.2827, allocations: 495.9 kB / 438.6 MB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/0.2835, allocations: 0.5792 MB / 439.2 MB, free: 4.855 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2835, allocations: 4 kB / 439.2 MB, free: 4.852 MB / 394.7 MB Notification: Performance of Templates: time 0.1622/0.4457, allocations: 35.2 MB / 474.4 MB, free: 114.2 MB / 394.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.687253888230771]