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.00132/0.00132, allocations: 86.06 kB / 20.68 MB, free: 1.035 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.001501/0.001501, allocations: 164.9 kB / 23.95 MB, free: 4.172 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.412/1.412, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.454e-06/2.454e-06, allocations: 1.062 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.741e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01407/0.01409, allocations: 10.35 MB / 335.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.02502, allocations: 4.178 MB / 339.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.02744, allocations: 96.91 kB / 339.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006696/0.03414, allocations: 2.941 MB / 342.6 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007083/0.04122, allocations: 2.055 MB / 344.7 MB, free: 1.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.04419, allocations: 1.119 MB / 345.8 MB, free: 360 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.05437, allocations: 6.339 MB / 352.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007391/0.06176, allocations: 3.569 MB / 355.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00682/0.06858, allocations: 2.647 MB / 358.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.07351, allocations: 2.568 MB / 360.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.07474, allocations: 372 kB / 361.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.07779, allocations: 1.19 MB / 362.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003174/0.08096, allocations: 2.24 MB / 364.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003395/0.08436, allocations: 1.39 MB / 366.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.09727, allocations: 7.699 MB / 373.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.09728, allocations: 0 / 373.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09728, allocations: 0 / 373.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002677/0.09755, allocations: 0 / 373.8 MB, free: 4.223 MB / 334.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.01569/0.1132, allocations: 5.305 MB / 379.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1133, allocations: 12.03 kB / 379.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03009/0.1434, allocations: 3.274 MB / 382.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.1538, allocations: 3.445 MB / 385.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.1541, allocations: 250 kB / 386.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.1553, allocations: 323.8 kB / 386.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.175, allocations: 9.951 MB / 396.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.1752, allocations: 47.64 kB / 396.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/0.1757, allocations: 151.9 kB / 396.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00384/0.1795, allocations: 1.904 MB / 398.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.1983, allocations: 8.468 MB / 406.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05322/0.2515, allocations: 35.69 MB / 442.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.261, allocations: 3.457 MB / 446.1 MB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.2641, allocations: 2.044 MB / 448.1 MB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005372/0.2647, allocations: 200.6 kB / 448.3 MB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.2647, allocations: 59.44 kB / 448.4 MB, free: 7.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=166): time 5e-06/0.2647, allocations: 0 / 448.4 MB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=201): time 0.06859/0.3333, allocations: 23.16 MB / 471.5 MB, free: 0.6055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/0.3335, allocations: 256.6 kB / 471.8 MB, free: 308 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1708/0.5044, allocations: 4.108 MB / 475.9 MB, free: 126.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004518/0.5048, allocations: 52.58 kB / 475.9 MB, free: 126 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5065, allocations: 3.191 MB / 479.1 MB, free: 124.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009824/0.5075, allocations: 0.7986 MB / 479.9 MB, free: 123.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/0.5094, allocations: 1.24 MB / 481.2 MB, free: 123.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.5095, allocations: 302.9 kB / 481.5 MB, free: 123 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/0.513, allocations: 2.489 MB / 484 MB, free: 122.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/0.5179, allocations: 6.087 MB / 490 MB, free: 116.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008078/0.526, allocations: 9.053 MB / 499.1 MB, free: 109.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000164/0.5261, allocations: 37.66 kB / 499.1 MB, free: 109.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01762/0.5438, allocations: 10.49 MB / 0.4977 GB, free: 103.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/0.5438, allocations: 63.5 kB / 0.4977 GB, free: 103.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/0.544, allocations: 123.9 kB / 0.4979 GB, free: 103.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006904/0.5509, allocations: 2.593 MB / 0.5004 GB, free: 100.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.5547, allocations: 1.306 MB / 0.5017 GB, free: 99.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/0.5744, allocations: 18.16 MB / 0.5194 GB, free: 81.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/0.5803, allocations: 426.5 kB / 0.5198 GB, free: 80.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000965/0.5812, allocations: 364 kB / 0.5202 GB, free: 80.36 MB / 430.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.00278/0.584, allocations: 2.13 MB / 0.5222 GB, free: 78.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007329/0.5847, allocations: 357.6 kB / 0.5226 GB, free: 77.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008435/0.5932, allocations: 4.972 MB / 0.5274 GB, free: 72.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.5932, allocations: 20 kB / 0.5275 GB, free: 72.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5932, allocations: 11.42 kB / 0.5275 GB, free: 72.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5932, allocations: 11.95 kB / 0.5275 GB, free: 72.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.6089, allocations: 9.547 MB / 0.5368 GB, free: 63.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.6089, allocations: 0 / 0.5368 GB, free: 63.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.6102, allocations: 291.5 kB / 0.5371 GB, free: 63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005035/0.6153, allocations: 1.842 MB / 0.5389 GB, free: 61.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/0.6155, allocations: 43.75 kB / 0.5389 GB, free: 61.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.6269, allocations: 10.22 MB / 0.5489 GB, free: 50.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6269, allocations: 3.938 kB / 0.5489 GB, free: 50.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.6385, allocations: 8.12 MB / 0.5568 GB, free: 42.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.6396, allocations: 373.5 kB / 0.5572 GB, free: 42.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/0.6401, allocations: 32 kB / 0.5572 GB, free: 42.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/0.6421, allocations: 207.7 kB / 0.5574 GB, free: 42.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/0.6425, allocations: 121 kB / 0.5575 GB, free: 41.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.6427, allocations: 51.98 kB / 0.5576 GB, free: 41.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002701/0.6454, allocations: 2.445 MB / 0.56 GB, free: 39.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6454, allocations: 0 / 0.56 GB, free: 39.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004913/0.6503, allocations: 1.316 MB / 0.5613 GB, free: 38.12 MB / 430.1 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.0004479/0.6507, allocations: 190.7 kB / 0.5614 GB, free: 37.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008573/0.6593, allocations: 6.234 MB / 0.5675 GB, free: 31.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6593, allocations: 4 kB / 0.5675 GB, free: 31.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.6617, allocations: 1.996 MB / 0.5695 GB, free: 29.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.6648, allocations: 0.5061 MB / 0.57 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.6785, allocations: 10.46 MB / 0.5802 GB, free: 18.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.6812, allocations: 2.861 MB / 0.583 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00354/0.6847, allocations: 1.836 MB / 0.5848 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.6855, allocations: 240.5 kB / 0.585 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.6855, allocations: 0 / 0.585 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Templates: time 0.2568/0.9423, allocations: 47.5 MB / 0.6314 GB, free: 142.2 MB / 462.1 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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.776537489145994]