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.0009869/0.0009869, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009624/0.0009624, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9985/0.9985, allocations: 177.1 MB / 205 MB, free: 5.629 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.639e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009793/0.00982, allocations: 11.48 MB / 284.5 MB, free: 6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.01719, allocations: 4.277 MB / 288.7 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.01876, allocations: 99.38 kB / 288.8 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1455/0.1642, allocations: 3.074 MB / 291.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.1695, allocations: 2.056 MB / 294 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.1717, allocations: 1.15 MB / 295.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008192/0.1799, allocations: 6.341 MB / 301.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.1848, allocations: 3.696 MB / 305.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.1896, allocations: 2.652 MB / 307.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.1926, allocations: 2.641 MB / 310.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.1936, allocations: 371.4 kB / 310.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.1955, allocations: 1.192 MB / 312 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.1969, allocations: 2.253 MB / 314.3 MB, free: 6.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.1984, allocations: 1.397 MB / 315.7 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.2028, allocations: 5.012 MB / 320.7 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2028, allocations: 0 / 320.7 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2028, allocations: 0 / 320.7 MB, free: 172 kB / 266.7 MB Notification: Performance of Transformations before backend: time 6.399e-05/0.2029, allocations: 0 / 320.7 MB, free: 172 kB / 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.007517/0.2104, allocations: 5.681 MB / 326.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2104, allocations: 8.031 kB / 326.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/0.2231, allocations: 3.708 MB / 330.1 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/0.2286, allocations: 3.176 MB / 333.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.2288, allocations: 239.7 kB / 333.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/0.2293, allocations: 320.5 kB / 333.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007938/0.2373, allocations: 5.957 MB / 339.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.2374, allocations: 51.69 kB / 339.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000285/0.2377, allocations: 149.2 kB / 339.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/0.2396, allocations: 1.9 MB / 341.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007092/0.2467, allocations: 3.199 MB / 345 MB, free: 7.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.2778, allocations: 40.99 MB / 386 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.282, allocations: 1.767 MB / 387.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008754/0.2829, allocations: 0.6543 MB / 388.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.2832, allocations: 198.4 kB / 388.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.2832, allocations: 58.33 kB / 388.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 3.847e-06/0.2832, allocations: 0 / 388.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.0322/0.3154, allocations: 15.91 MB / 404.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3155, allocations: 256.6 kB / 404.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.3195, allocations: 3.596 MB / 408.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.3198, allocations: 57.7 kB / 408.5 MB, free: 7.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.3216, allocations: 3.367 MB / 411.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007887/0.3224, allocations: 0.8307 MB / 412.7 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.3236, allocations: 1.326 MB / 414 MB, free: 1.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3238, allocations: 480.8 kB / 414.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3251, allocations: 0.8044 MB / 415.3 MB, free: 252 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.3288, allocations: 6.057 MB / 421.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/0.3351, allocations: 7.478 MB / 428.8 MB, free: 14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.212e-05/0.3351, allocations: 36 kB / 428.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01098/0.3461, allocations: 6.76 MB / 435.6 MB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.3462, allocations: 56 kB / 435.7 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.3463, allocations: 120.9 kB / 435.8 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/0.3508, allocations: 1.845 MB / 437.7 MB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.3533, allocations: 1.31 MB / 439 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/0.4967, allocations: 10.38 MB / 449.3 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/0.5001, allocations: 421.1 kB / 449.8 MB, free: 115 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005914/0.5007, allocations: 358.4 kB / 450.1 MB, free: 115 MB / 394.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.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.001451/0.5022, allocations: 0.6384 MB / 450.7 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/0.5028, allocations: 410 kB / 451.1 MB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.5073, allocations: 2.651 MB / 453.8 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.5074, allocations: 20.72 kB / 453.8 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.5074, allocations: 12.41 kB / 453.8 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5074, allocations: 14.05 kB / 453.8 MB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5176, allocations: 6.854 MB / 460.7 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5177, allocations: 0 / 460.7 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.5184, allocations: 289.5 kB / 461 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/0.5211, allocations: 1.211 MB / 462.2 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.5212, allocations: 36.69 kB / 462.2 MB, free: 114 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.5261, allocations: 4.229 MB / 466.5 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5261, allocations: 0 / 466.5 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.5314, allocations: 3.798 MB / 470.3 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007585/0.5322, allocations: 367.4 kB / 470.6 MB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.5324, allocations: 41.08 kB / 470.7 MB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/0.5334, allocations: 199.6 kB / 470.8 MB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.5337, allocations: 117.7 kB / 471 MB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.5338, allocations: 53.12 kB / 471 MB, free: 110.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001868/0.5356, allocations: 1.596 MB / 472.6 MB, free: 110.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.5356, allocations: 0 / 472.6 MB, free: 110.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003612/0.5393, allocations: 1.317 MB / 473.9 MB, free: 110.1 MB / 394.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.0003978/0.5396, allocations: 177.5 kB / 474.1 MB, free: 110 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004775/0.5444, allocations: 4.037 MB / 478.1 MB, free: 108.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5444, allocations: 2.906 kB / 478.1 MB, free: 108.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.5457, allocations: 1.124 MB / 479.3 MB, free: 107.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.5478, allocations: 0.5305 MB / 479.8 MB, free: 107 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009807/0.5576, allocations: 8.274 MB / 488.1 MB, free: 99.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.5585, allocations: 1.318 MB / 489.4 MB, free: 97.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002136/0.5606, allocations: 1.57 MB / 491 MB, free: 96.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.5612, allocations: 244.4 kB / 491.2 MB, free: 95.85 MB / 394.7 MB Notification: Performance of SimCode: time 2.174e-06/0.5612, allocations: 0 / 491.2 MB, free: 95.85 MB / 394.7 MB Notification: Performance of Templates: time 0.05355/0.6147, allocations: 48.07 MB / 0.5266 GB, free: 48.37 MB / 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.2851859498769045]