Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 166.8 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9187/0.9187, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.411e-05, allocations: 2.906 kB / 274.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008977/0.009001, allocations: 11.12 MB / 285.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007024/0.01602, allocations: 4.242 MB / 289.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.01791, allocations: 99.44 kB / 289.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.02146, allocations: 3.045 MB / 292.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.02527, allocations: 2.057 MB / 294.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.02703, allocations: 1.142 MB / 295.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006384/0.03342, allocations: 6.358 MB / 302.3 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003754/0.03717, allocations: 3.691 MB / 306 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.04168, allocations: 3.634 MB / 309.6 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.04476, allocations: 2.611 MB / 312.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007874/0.04555, allocations: 376 kB / 312.6 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.04712, allocations: 1.194 MB / 313.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.04858, allocations: 2.244 MB / 316 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.05012, allocations: 1.39 MB / 317.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008229/0.05835, allocations: 5.022 MB / 322.4 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.05836, allocations: 4 kB / 322.4 MB, free: 4.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.05836, allocations: 3.938 kB / 322.4 MB, free: 4.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002564/0.05862, allocations: 0 / 322.4 MB, free: 4.105 MB / 298.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.01063/0.06924, allocations: 5.442 MB / 327.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.0693, allocations: 8.031 kB / 327.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.08177, allocations: 2.718 MB / 330.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.08679, allocations: 2.483 MB / 333.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.08697, allocations: 238.5 kB / 333.3 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008854/0.08785, allocations: 331.7 kB / 333.6 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.09844, allocations: 5.413 MB / 339 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.09863, allocations: 51.56 kB / 339.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005108/0.09914, allocations: 155.9 kB / 339.2 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.1009, allocations: 1.635 MB / 340.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007165/0.108, allocations: 2.359 MB / 343.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2162/0.3243, allocations: 40.98 MB / 384.2 MB, free: 45.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.3282, allocations: 1.325 MB / 385.5 MB, free: 45.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/0.329, allocations: 401.6 kB / 385.9 MB, free: 45.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007313/0.3363, allocations: 3.664 MB / 389.6 MB, free: 44.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.3364, allocations: 61.5 kB / 389.7 MB, free: 44.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 8.166e-06/0.3364, allocations: 0.9688 kB / 389.7 MB, free: 44.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.02029/0.3567, allocations: 6.639 MB / 396.3 MB, free: 43.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.3567, allocations: 252.1 kB / 396.5 MB, free: 43.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.3609, allocations: 3.708 MB / 400.3 MB, free: 41.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000361/0.3613, allocations: 45.7 kB / 400.3 MB, free: 41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.3629, allocations: 3.508 MB / 403.8 MB, free: 37.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007311/0.3637, allocations: 0.6357 MB / 404.4 MB, free: 37.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.3647, allocations: 1.315 MB / 405.8 MB, free: 35.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.3648, allocations: 480 kB / 406.2 MB, free: 35.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.3657, allocations: 0.5529 MB / 406.8 MB, free: 34.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/0.3682, allocations: 6.111 MB / 412.9 MB, free: 26.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005243/0.3734, allocations: 7.165 MB / 420.1 MB, free: 16.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/0.3736, allocations: 39.31 kB / 420.1 MB, free: 16.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01064/0.3843, allocations: 4.952 MB / 425 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.3843, allocations: 64 kB / 425.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.3844, allocations: 132.2 kB / 425.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.3861, allocations: 0.6543 MB / 425.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.3889, allocations: 1.298 MB / 427.2 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005297/0.3942, allocations: 7.09 MB / 434.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/0.3993, allocations: 264.5 kB / 434.5 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/0.4004, allocations: 312 kB / 434.8 MB, free: 1.758 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.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.002529/0.4029, allocations: 0.6494 MB / 435.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/0.4042, allocations: 385.6 kB / 435.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.406, allocations: 0.9629 MB / 436.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/0.406, allocations: 19.44 kB / 436.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.406, allocations: 4 kB / 436.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.406, allocations: 7.969 kB / 436.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.417, allocations: 4.693 MB / 441.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.417, allocations: 8 kB / 441.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.4177, allocations: 195.7 kB / 441.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007164/0.4184, allocations: 235.9 kB / 442 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.127e-05/0.4185, allocations: 32 kB / 442 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.4208, allocations: 2.473 MB / 444.5 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.4208, allocations: 12.03 kB / 444.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.4241, allocations: 2.106 MB / 446.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.4253, allocations: 349.2 kB / 447 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.4257, allocations: 35.98 kB / 447 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.4264, allocations: 35.98 kB / 447 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.4266, allocations: 108.2 kB / 447.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.4267, allocations: 39.19 kB / 447.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002255/0.4289, allocations: 1.522 MB / 448.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4289, allocations: 0 / 448.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006037/0.4349, allocations: 1.062 MB / 449.7 MB, free: 2.43 MB / 346.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.0005482/0.4355, allocations: 178.9 kB / 449.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006206/0.4417, allocations: 3.093 MB / 453 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.4417, allocations: 320 / 453 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.4429, allocations: 0.6101 MB / 453.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.4468, allocations: 0.5207 MB / 454.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.4639, allocations: 7.737 MB / 461.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.4661, allocations: 1.262 MB / 463.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001806/0.4679, allocations: 0.4936 MB / 463.6 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.4689, allocations: 0.6308 MB / 464.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of SimCode: time 3.427e-06/0.4689, allocations: 0 / 464.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of Templates: time 0.06733/0.5362, allocations: 36.01 MB / 0.4886 GB, free: 152 kB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.345068953000009]