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.00107/0.00107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002568, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0008398/0.0008398, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002179, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8945/0.8945, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1338/1.028, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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.213e-06/1.213e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.871e-05, allocations: 5.688 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008371/0.00839, allocations: 11.38 MB / 251.1 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.01389, allocations: 4.456 MB / 255.6 MB, free: 6.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.01446, allocations: 99.38 kB / 255.7 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.01689, allocations: 2.941 MB / 258.6 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.01919, allocations: 2.084 MB / 260.7 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.02053, allocations: 1.068 MB / 261.8 MB, free: 284 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.02406, allocations: 5.646 MB / 267.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.02643, allocations: 3.341 MB / 270.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.02899, allocations: 3.411 MB / 274.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.03111, allocations: 2.506 MB / 276.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.03146, allocations: 376 kB / 277 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.03276, allocations: 1.248 MB / 278.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.03384, allocations: 2.05 MB / 280.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008972/0.03474, allocations: 1.165 MB / 281.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.03807, allocations: 4.729 MB / 286.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.03807, allocations: 0 / 286.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03808, allocations: 0 / 286.2 MB, free: 7.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.056e-05/0.03812, allocations: 4 kB / 286.2 MB, free: 7.676 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.005282/0.0434, allocations: 5.893 MB / 292.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.04343, allocations: 16.03 kB / 292.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.04741, allocations: 1.331 MB / 293.5 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.04997, allocations: 2.329 MB / 295.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.05008, allocations: 242.5 kB / 296 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.05044, allocations: 331.7 kB / 296.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004677/0.05511, allocations: 4.947 MB / 301.3 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.05519, allocations: 43.62 kB / 301.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.05544, allocations: 159.9 kB / 301.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00131/0.05675, allocations: 1.592 MB / 303.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.06032, allocations: 2.436 MB / 305.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.07879, allocations: 30.01 MB / 335.6 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.08148, allocations: 1.316 MB / 336.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.08183, allocations: 320.1 kB / 337.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1118/0.1936, allocations: 3.415 MB / 340.6 MB, free: 65.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.1937, allocations: 48.45 kB / 340.7 MB, free: 65.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.757e-06/0.1937, allocations: 0.5312 kB / 340.7 MB, free: 65.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01443/0.2081, allocations: 5.911 MB / 346.6 MB, free: 64.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.2082, allocations: 147.4 kB / 346.7 MB, free: 64.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.2107, allocations: 3.339 MB / 350 MB, free: 64.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.2107, allocations: 48.28 kB / 350.1 MB, free: 64.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009297/0.2116, allocations: 3.107 MB / 353.2 MB, free: 62.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.2119, allocations: 0.5978 MB / 353.8 MB, free: 62.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007875/0.2127, allocations: 1.132 MB / 354.9 MB, free: 62.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.73e-05/0.2127, allocations: 303.4 kB / 355.2 MB, free: 61.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009353/0.2137, allocations: 0.7269 MB / 356 MB, free: 61.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.2154, allocations: 4.358 MB / 360.3 MB, free: 56.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.2187, allocations: 5.935 MB / 366.2 MB, free: 52.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.405e-05/0.2187, allocations: 39.22 kB / 366.3 MB, free: 52.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004099/0.2228, allocations: 4.23 MB / 370.5 MB, free: 51.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.2229, allocations: 59.59 kB / 370.6 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.223, allocations: 144.1 kB / 370.7 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.2242, allocations: 0.6676 MB / 371.4 MB, free: 51.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.2262, allocations: 1.432 MB / 372.8 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/0.2296, allocations: 5.37 MB / 378.2 MB, free: 46.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.2317, allocations: 264.9 kB / 378.4 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.232, allocations: 308.2 kB / 378.7 MB, free: 46.08 MB / 330.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.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 (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.0009179/0.2329, allocations: 0.6079 MB / 379.3 MB, free: 45.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.2332, allocations: 214.7 kB / 379.6 MB, free: 45.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009884/0.2342, allocations: 0.8534 MB / 380.4 MB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2342, allocations: 14.91 kB / 380.4 MB, free: 44.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2342, allocations: 4 kB / 380.4 MB, free: 44.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2342, allocations: 7.969 kB / 380.4 MB, free: 44.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.2379, allocations: 4.016 MB / 384.5 MB, free: 41.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.2379, allocations: 15.98 kB / 384.5 MB, free: 41.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.2384, allocations: 229.1 kB / 384.7 MB, free: 41.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.2386, allocations: 336.7 kB / 385 MB, free: 41.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.2393, allocations: 425.1 kB / 385.4 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.2394, allocations: 32 kB / 385.5 MB, free: 40.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.2405, allocations: 1.906 MB / 387.4 MB, free: 38.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.2405, allocations: 11.94 kB / 387.4 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.2417, allocations: 1.784 MB / 389.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.2419, allocations: 35.98 kB / 389.2 MB, free: 36.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.2425, allocations: 32.94 kB / 389.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2426, allocations: 104.3 kB / 389.3 MB, free: 36.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.2426, allocations: 45.88 kB / 389.4 MB, free: 36.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007539/0.2434, allocations: 1.248 MB / 390.6 MB, free: 35.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2434, allocations: 0 / 390.6 MB, free: 35.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002523/0.2459, allocations: 1.086 MB / 391.7 MB, free: 34.46 MB / 330.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.0002688/0.2462, allocations: 191.2 kB / 391.9 MB, free: 34.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.2484, allocations: 2.848 MB / 394.8 MB, free: 31.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001408/0.2486, allocations: 115.2 kB / 394.9 MB, free: 31.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.2495, allocations: 1.038 MB / 395.9 MB, free: 30.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.2515, allocations: 3.648 MB / 399.6 MB, free: 26.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009225/0.2607, allocations: 7.901 MB / 407.5 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.2615, allocations: 1.289 MB / 408.7 MB, free: 17.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008687/0.2624, allocations: 496 kB / 409.2 MB, free: 16.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.263, allocations: 0.5597 MB / 409.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.263, allocations: 0 / 409.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of Templates: time 0.04469/0.3077, allocations: 35.27 MB / 445.1 MB, free: 12.95 MB / 362.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1033906303346157]