Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 258.3 MB, free: 8.02 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 68.53 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2421, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01455/0.2567, allocations: 11.86 MB / 444.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.2673, allocations: 4.388 MB / 448.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.2693, allocations: 103.3 kB / 448.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006236/0.2756, allocations: 2.92 MB / 451.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.2812, allocations: 1.988 MB / 453.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.284, allocations: 1.06 MB / 454.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009055/0.2931, allocations: 5.598 MB / 460.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005071/0.2981, allocations: 3.07 MB / 463.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.3015, allocations: 1.733 MB / 465.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.3058, allocations: 2.484 MB / 467.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.307, allocations: 364 kB / 468 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.3099, allocations: 1.272 MB / 469.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002927/0.3129, allocations: 2.131 MB / 471.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.3168, allocations: 2.338 MB / 473.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.329, allocations: 7.58 MB / 481.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.329, allocations: 0 / 481.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.329, allocations: 0 / 481.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003251/0.3293, allocations: 7.938 kB / 481.3 MB, free: 5.84 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.01457/0.3439, allocations: 5.239 MB / 486.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3439, allocations: 16.03 kB / 486.6 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/0.3686, allocations: 3.188 MB / 489.7 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3787, allocations: 3.457 MB / 493.2 MB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.379, allocations: 238.1 kB / 493.4 MB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.3805, allocations: 327.8 kB / 493.8 MB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.4018, allocations: 9.847 MB / 0.4918 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/0.402, allocations: 51.59 kB / 0.4919 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.4031, allocations: 151.9 kB / 0.492 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003526/0.4066, allocations: 1.896 MB / 0.4938 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.4249, allocations: 8.487 MB / 0.5021 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3065/0.7314, allocations: 38.15 MB / 0.5394 GB, free: 76.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0083/0.7397, allocations: 3.379 MB / 0.5427 GB, free: 75.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.742, allocations: 2.046 MB / 0.5447 GB, free: 75.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.7425, allocations: 207.1 kB / 0.5449 GB, free: 75.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.7426, allocations: 49.69 kB / 0.5449 GB, free: 75.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.508e-06/0.7426, allocations: 2.625 kB / 0.5449 GB, free: 75.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05434/0.7969, allocations: 22.46 MB / 0.5669 GB, free: 64.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.797, allocations: 260.5 kB / 0.5671 GB, free: 63.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/0.8021, allocations: 4.167 MB / 0.5712 GB, free: 59.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005022/0.8026, allocations: 60 kB / 0.5712 GB, free: 59.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.804, allocations: 3.199 MB / 0.5744 GB, free: 56.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.8048, allocations: 0.8014 MB / 0.5751 GB, free: 56.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.8062, allocations: 1.262 MB / 0.5764 GB, free: 54.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.8063, allocations: 304.4 kB / 0.5767 GB, free: 54.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.8092, allocations: 2.496 MB / 0.5791 GB, free: 52.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/0.8143, allocations: 5.975 MB / 0.5849 GB, free: 44.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/0.8231, allocations: 9.065 MB / 0.5938 GB, free: 33.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-05/0.8232, allocations: 32 kB / 0.5938 GB, free: 33.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01877/0.8419, allocations: 10.53 MB / 0.6041 GB, free: 23.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.842, allocations: 56.94 kB / 0.6042 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.8422, allocations: 120 kB / 0.6043 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.849, allocations: 2.595 MB / 0.6068 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/0.853, allocations: 1.31 MB / 0.6081 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.8742, allocations: 18.35 MB / 0.626 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/0.8794, allocations: 363.6 kB / 0.6264 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/0.8807, allocations: 364 kB / 0.6267 GB, free: 15.81 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.004359/0.885, allocations: 2.136 MB / 0.6288 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009555/0.886, allocations: 393.3 kB / 0.6292 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.8968, allocations: 4.999 MB / 0.634 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-05/0.8969, allocations: 26.53 kB / 0.6341 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/0.8969, allocations: 8 kB / 0.6341 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.117e-05/0.8969, allocations: 8.25 kB / 0.6341 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/0.9202, allocations: 10.67 MB / 0.6445 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/0.9202, allocations: 4 kB / 0.6445 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.9217, allocations: 286.1 kB / 0.6448 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/0.9274, allocations: 1.846 MB / 0.6466 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003262/0.9277, allocations: 36.94 kB / 0.6466 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01612/0.9438, allocations: 10.31 MB / 0.6567 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9438, allocations: 3.938 kB / 0.6567 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/0.9592, allocations: 8.146 MB / 0.6646 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.9605, allocations: 369.3 kB / 0.665 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005139/0.961, allocations: 32 kB / 0.665 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.9626, allocations: 139.8 kB / 0.6652 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.9631, allocations: 125 kB / 0.6653 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.9632, allocations: 55.36 kB / 0.6653 GB, free: 8.031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004638/0.9679, allocations: 2.619 MB / 0.6679 GB, free: 5.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9679, allocations: 3.938 kB / 0.6679 GB, free: 5.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005741/0.9736, allocations: 1.16 MB / 0.669 GB, free: 4.238 MB / 494.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.0004892/0.9741, allocations: 166.6 kB / 0.6692 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.011/0.9851, allocations: 6.263 MB / 0.6753 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.9851, allocations: 0.75 kB / 0.6753 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/0.9885, allocations: 1.991 MB / 0.6772 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.9918, allocations: 0.5531 MB / 0.6778 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.01, allocations: 10.5 MB / 0.688 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/1.014, allocations: 3.389 MB / 0.6913 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004234/1.018, allocations: 1.872 MB / 0.6932 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/1.019, allocations: 251.4 kB / 0.6934 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/1.019, allocations: 0 / 0.6934 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of Templates: time 0.1011/1.12, allocations: 53.18 MB / 0.7453 GB, free: 6.266 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.397271053865552]