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.0009656/0.0009656, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002265, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009344/0.0009344, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.00207, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9506/0.9506, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08068/1.031, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.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 1.112e-06/1.112e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.05e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.007798/0.007809, allocations: 11.26 MB / 256.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.01318, allocations: 4.466 MB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.01383, allocations: 95.44 kB / 260.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.0163, allocations: 2.931 MB / 263.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.01844, allocations: 2.026 MB / 265.8 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.01954, allocations: 1.076 MB / 266.9 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.02307, allocations: 5.822 MB / 272.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1207/0.1438, allocations: 3.309 MB / 276 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/0.1489, allocations: 3.376 MB / 279.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.1523, allocations: 2.479 MB / 281.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008362/0.1532, allocations: 377.7 kB / 282.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.1551, allocations: 1.228 MB / 283.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.1567, allocations: 2.011 MB / 285.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.1582, allocations: 1.132 MB / 286.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004263/0.1625, allocations: 4.636 MB / 291.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.1625, allocations: 3.656 kB / 291.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.1625, allocations: 0.6875 kB / 291.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001513/0.1627, allocations: 0 / 291.2 MB, free: 1.918 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.005797/0.1685, allocations: 5.825 MB / 297.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1685, allocations: 13.06 kB / 297.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.1725, allocations: 1.326 MB / 298.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1751, allocations: 2.318 MB / 300.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.1752, allocations: 239.8 kB / 301 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.1756, allocations: 328.8 kB / 301.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/0.1803, allocations: 4.892 MB / 306.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.1803, allocations: 51.83 kB / 306.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002506/0.1806, allocations: 155.3 kB / 306.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.1819, allocations: 1.639 MB / 308 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.1853, allocations: 2.414 MB / 310.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.2035, allocations: 29.67 MB / 340.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.2061, allocations: 1.325 MB / 341.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.2064, allocations: 313.8 kB / 341.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004101/0.2105, allocations: 3.422 MB / 345.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2106, allocations: 50.22 kB / 345.2 MB, free: 2.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 2.805e-06/0.2106, allocations: 0 / 345.2 MB, free: 2.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01292/0.2235, allocations: 5.833 MB / 351 MB, free: 12.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2235, allocations: 141.5 kB / 351.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.2258, allocations: 3.331 MB / 354.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.2259, allocations: 45.7 kB / 354.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.227, allocations: 3.064 MB / 357.6 MB, free: 6.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.2273, allocations: 0.6053 MB / 358.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008318/0.2282, allocations: 1.131 MB / 359.3 MB, free: 5.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.2282, allocations: 305.1 kB / 359.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.2292, allocations: 0.7188 MB / 360.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.2316, allocations: 4.356 MB / 364.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.235, allocations: 5.498 MB / 370.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-05/0.235, allocations: 40 kB / 370.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004206/0.2392, allocations: 4.224 MB / 374.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/0.2393, allocations: 64.97 kB / 374.5 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/0.2393, allocations: 128 kB / 374.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.2406, allocations: 0.6625 MB / 375.3 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.2427, allocations: 1.435 MB / 376.8 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.2467, allocations: 5.379 MB / 382.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.2484, allocations: 263.7 kB / 382.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.2487, allocations: 310.6 kB / 382.7 MB, free: 10.48 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.0009677/0.2496, allocations: 0.603 MB / 383.3 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.2499, allocations: 215.7 kB / 383.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.251, allocations: 0.8577 MB / 384.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.251, allocations: 16 kB / 384.4 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.251, allocations: 4.109 kB / 384.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.251, allocations: 7.922 kB / 384.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/0.2551, allocations: 3.971 MB / 388.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2551, allocations: 8 kB / 388.4 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.2556, allocations: 224.4 kB / 388.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.2559, allocations: 341.5 kB / 388.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.2566, allocations: 416.6 kB / 389.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.2567, allocations: 39.98 kB / 389.4 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.258, allocations: 1.908 MB / 391.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.258, allocations: 15.94 kB / 391.3 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2595, allocations: 1.787 MB / 393.1 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.2597, allocations: 35.94 kB / 393.1 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/0.2603, allocations: 36.09 kB / 393.2 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.2605, allocations: 108.2 kB / 393.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.2605, allocations: 36 kB / 393.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000973/0.2615, allocations: 1.248 MB / 394.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2615, allocations: 0 / 394.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002452/0.264, allocations: 1.062 MB / 395.6 MB, free: 13.58 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.0002579/0.2642, allocations: 167.9 kB / 395.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.2666, allocations: 2.735 MB / 398.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001607/0.2667, allocations: 106.8 kB / 398.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2672, allocations: 0.5008 MB / 399.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.2689, allocations: 0.9787 MB / 400.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.2794, allocations: 7.808 MB / 407.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.2805, allocations: 1.265 MB / 409.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009946/0.2815, allocations: 499.9 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/0.2823, allocations: 0.5753 MB / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2823, allocations: 0 / 410.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of Templates: time 0.163/0.4452, allocations: 36 MB / 446.2 MB, free: 119.1 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 -emit_protected -ignoreHideResult -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.6977637698873878]