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.001373/0.001373, allocations: 123 kB / 17.79 MB, free: 5.246 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.00142/0.00142, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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 0.001626/0.001626, allocations: 55.89 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 53.33 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2401/0.3524, allocations: 11.84 MB / 438.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008733/0.3611, allocations: 4.362 MB / 443 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.3631, allocations: 101.1 kB / 443.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00537/0.3685, allocations: 2.906 MB / 446 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006/0.3745, allocations: 1.976 MB / 448 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.3773, allocations: 1.048 MB / 449 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009745/0.387, allocations: 5.585 MB / 454.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/0.3926, allocations: 3.308 MB / 457.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.3968, allocations: 1.734 MB / 459.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004742/0.4015, allocations: 2.476 MB / 462.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.4027, allocations: 361.5 kB / 462.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.4059, allocations: 1.27 MB / 463.8 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003291/0.4092, allocations: 2.13 MB / 465.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004145/0.4133, allocations: 2.348 MB / 468.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.4258, allocations: 7.583 MB / 475.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4258, allocations: 0 / 475.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4258, allocations: 4 kB / 475.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002636/0.4261, allocations: 0 / 475.8 MB, free: 15.34 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.01503/0.4411, allocations: 5.322 MB / 481.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4411, allocations: 8.031 kB / 481.2 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02906/0.4702, allocations: 3.189 MB / 484.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.4804, allocations: 3.533 MB / 487.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/0.4806, allocations: 242 kB / 488.1 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4821, allocations: 323.8 kB / 488.4 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.5028, allocations: 9.854 MB / 498.3 MB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.5029, allocations: 47.59 kB / 498.3 MB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005351/0.5035, allocations: 151.9 kB / 498.5 MB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/0.5075, allocations: 1.9 MB / 0.4886 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.5278, allocations: 8.484 MB / 0.4969 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05594/0.5837, allocations: 38.28 MB / 0.5343 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/0.5932, allocations: 3.83 MB / 0.5381 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.5962, allocations: 2.037 MB / 0.54 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.597, allocations: 0.6477 MB / 0.5407 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/0.5971, allocations: 59.48 kB / 0.5407 GB, free: 15.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 4.098e-06/0.5971, allocations: 0 / 0.5407 GB, free: 15.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.06598/0.6631, allocations: 22.74 MB / 0.5629 GB, free: 8.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.6633, allocations: 252.6 kB / 0.5632 GB, free: 8.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/0.6712, allocations: 4.173 MB / 0.5673 GB, free: 3.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005444/0.6717, allocations: 53.7 kB / 0.5673 GB, free: 3.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00332/0.675, allocations: 3.192 MB / 0.5704 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.6764, allocations: 0.8102 MB / 0.5712 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/0.6787, allocations: 1.262 MB / 0.5724 GB, free: 14.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.679, allocations: 305.1 kB / 0.5727 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004438/0.6834, allocations: 2.491 MB / 0.5752 GB, free: 11.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008261/0.6917, allocations: 5.969 MB / 0.581 GB, free: 4.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/0.7071, allocations: 9.077 MB / 0.5899 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.7072, allocations: 36 kB / 0.5899 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02365/0.7308, allocations: 10.52 MB / 0.6002 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.383e-05/0.7309, allocations: 56 kB / 0.6002 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.7311, allocations: 123.9 kB / 0.6003 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008423/0.7395, allocations: 2.591 MB / 0.6029 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/0.7441, allocations: 1.31 MB / 0.6042 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2705/1.015, allocations: 18.64 MB / 0.6224 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/1.02, allocations: 363.1 kB / 0.6227 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.022, allocations: 358.5 kB / 0.623 GB, free: 153 MB / 0.5137 GB 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.005024/1.027, allocations: 2.149 MB / 0.6251 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009285/1.028, allocations: 385.8 kB / 0.6255 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.038, allocations: 5.001 MB / 0.6304 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/1.038, allocations: 21.97 kB / 0.6304 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.038, allocations: 7.5 kB / 0.6304 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/1.039, allocations: 9.938 kB / 0.6304 GB, free: 150.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.058, allocations: 10.7 MB / 0.6409 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.058, allocations: 2.281 kB / 0.6409 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.06, allocations: 282.4 kB / 0.6412 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/1.065, allocations: 1.846 MB / 0.643 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.065, allocations: 34.53 kB / 0.643 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/1.077, allocations: 10.41 MB / 0.6532 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.077, allocations: 0 / 0.6532 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.089, allocations: 8.161 MB / 0.6611 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/1.09, allocations: 444.4 kB / 0.6616 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/1.091, allocations: 37.05 kB / 0.6616 GB, free: 138.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.092, allocations: 133.2 kB / 0.6617 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/1.093, allocations: 117.3 kB / 0.6618 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.093, allocations: 53.73 kB / 0.6619 GB, free: 138 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003272/1.096, allocations: 2.621 MB / 0.6644 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 0 / 0.6644 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00494/1.101, allocations: 1.161 MB / 0.6656 GB, free: 135 MB / 0.5137 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.0004215/1.102, allocations: 179.7 kB / 0.6657 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008281/1.11, allocations: 6.239 MB / 0.6718 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.11, allocations: 0 / 0.6718 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002558/1.112, allocations: 2.001 MB / 0.6738 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.116, allocations: 0.5512 MB / 0.6743 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.13, allocations: 10.42 MB / 0.6845 GB, free: 115.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/1.133, allocations: 3.395 MB / 0.6878 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003601/1.137, allocations: 1.875 MB / 0.6896 GB, free: 110.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/1.137, allocations: 251.4 kB / 0.6899 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/1.137, allocations: 4 kB / 0.6899 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.07035/1.208, allocations: 49.12 MB / 0.7379 GB, free: 61.46 MB / 0.5137 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 -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: 7.037415366619825]