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.001388/0.001388, allocations: 69.17 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.001391/0.001391, allocations: 162 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.408/1.408, allocations: 177.2 MB / 204.9 MB, free: 8.965 MB / 190.1 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 0.001585/0.001585, allocations: 62.41 kB / 325.6 MB, free: 240 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09171, allocations: 53.33 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01362/0.1053, allocations: 10.34 MB / 389.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.114, allocations: 4.153 MB / 393.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.1154, allocations: 95.44 kB / 393.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.1209, allocations: 2.803 MB / 396.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.1256, allocations: 1.992 MB / 398.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.1277, allocations: 1.033 MB / 399.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007602/0.1354, allocations: 5.612 MB / 404.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003886/0.1392, allocations: 3.054 MB / 408 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.1417, allocations: 1.748 MB / 409.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003265/0.145, allocations: 2.336 MB / 412.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006152/0.1456, allocations: 364 kB / 412.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.1477, allocations: 1.135 MB / 413.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002066/0.1497, allocations: 2.127 MB / 415.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.1518, allocations: 1.748 MB / 417.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008304/0.1601, allocations: 7.604 MB / 425 MB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.1601, allocations: 3.984 kB / 425 MB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1601, allocations: 4 kB / 425 MB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.1602, allocations: 0 / 425 MB, free: 1.262 MB / 382.1 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.01047/0.1707, allocations: 5.242 MB / 430.3 MB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1707, allocations: 8.031 kB / 430.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/0.1985, allocations: 3.282 MB / 433.6 MB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009225/0.2078, allocations: 3.469 MB / 437 MB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.208, allocations: 238.1 kB / 437.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007426/0.2087, allocations: 327.8 kB / 437.6 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.2249, allocations: 9.947 MB / 447.5 MB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.225, allocations: 51.58 kB / 447.6 MB, free: 9.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.2254, allocations: 155.9 kB / 447.7 MB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003483/0.2289, allocations: 1.9 MB / 449.6 MB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.2457, allocations: 8.468 MB / 458.1 MB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2256/0.4713, allocations: 35.45 MB / 493.6 MB, free: 39.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/0.4791, allocations: 3.459 MB / 497 MB, free: 38.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.4814, allocations: 2.047 MB / 499.1 MB, free: 38.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.4818, allocations: 207.6 kB / 499.3 MB, free: 38.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4818, allocations: 56.16 kB / 499.3 MB, free: 38.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 4.338e-06/0.4818, allocations: 3.906 kB / 499.3 MB, free: 38.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.05251/0.5343, allocations: 22.98 MB / 0.5101 GB, free: 31.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.5344, allocations: 260.6 kB / 0.5103 GB, free: 31.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.5381, allocations: 3.937 MB / 0.5142 GB, free: 27.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002186/0.5383, allocations: 59.03 kB / 0.5142 GB, free: 27.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.5394, allocations: 3.229 MB / 0.5174 GB, free: 24.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.5399, allocations: 0.8016 MB / 0.5182 GB, free: 23.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.5411, allocations: 1.262 MB / 0.5194 GB, free: 22.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.5411, allocations: 301.1 kB / 0.5197 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002624/0.5438, allocations: 2.487 MB / 0.5221 GB, free: 19.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003618/0.5474, allocations: 6.083 MB / 0.5281 GB, free: 11.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/0.5544, allocations: 9.057 MB / 0.5369 GB, free: 1.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.948e-05/0.5545, allocations: 36 kB / 0.5369 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01999/0.5745, allocations: 10.51 MB / 0.5472 GB, free: 7.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.5746, allocations: 60.98 kB / 0.5473 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.5747, allocations: 120 kB / 0.5474 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00784/0.5825, allocations: 2.583 MB / 0.5499 GB, free: 4.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.5867, allocations: 1.314 MB / 0.5512 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/0.6153, allocations: 18.07 MB / 0.5688 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/0.6199, allocations: 365.3 kB / 0.5692 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007658/0.6207, allocations: 360 kB / 0.5695 GB, free: 0.5469 MB / 462.1 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.00358/0.6242, allocations: 2.138 MB / 0.5716 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/0.625, allocations: 353.7 kB / 0.5719 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.6359, allocations: 4.976 MB / 0.5768 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/0.636, allocations: 25.64 kB / 0.5768 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.636, allocations: 8 kB / 0.5768 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/0.636, allocations: 10.12 kB / 0.5768 GB, free: 9.023 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/0.6556, allocations: 9.434 MB / 0.586 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6556, allocations: 4 kB / 0.5861 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.657, allocations: 283.6 kB / 0.5863 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00568/0.6627, allocations: 1.85 MB / 0.5881 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.6629, allocations: 28 kB / 0.5882 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/0.6785, allocations: 10.16 MB / 0.5981 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.6785, allocations: 3.938 kB / 0.5981 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.6926, allocations: 8.12 MB / 0.606 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008794/0.6935, allocations: 327.5 kB / 0.6063 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.6939, allocations: 32 kB / 0.6064 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.6954, allocations: 143.8 kB / 0.6065 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.6958, allocations: 126.1 kB / 0.6066 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.696, allocations: 55.88 kB / 0.6067 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00336/0.6993, allocations: 2.312 MB / 0.6089 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6993, allocations: 0 / 0.6089 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004422/0.7037, allocations: 1.156 MB / 0.61 GB, free: 6.906 MB / 0.4981 GB 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.0003794/0.7041, allocations: 167.9 kB / 0.6102 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009801/0.7139, allocations: 6.245 MB / 0.6163 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7139, allocations: 0 / 0.6163 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.717, allocations: 1.999 MB / 0.6183 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.7195, allocations: 0.5012 MB / 0.6187 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.7363, allocations: 10.46 MB / 0.629 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/0.7403, allocations: 2.862 MB / 0.6318 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004245/0.7445, allocations: 1.837 MB / 0.6336 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/0.7452, allocations: 232.4 kB / 0.6338 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of SimCode: time 5.91e-07/0.7452, allocations: 0 / 0.6338 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.08582/0.831, allocations: 45.39 MB / 0.6781 GB, free: 1.672 MB / 0.5606 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.509365684003569]