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.DoublePendulum.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.00132/0.00132, allocations: 109 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.001446/0.001446, allocations: 213.9 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.DoublePendulum,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.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,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.DoublePendulum") [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.002108/0.002108, allocations: 68.75 kB / 379.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2755, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01317/0.2887, allocations: 10.47 MB / 442.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008749/0.2974, allocations: 4.018 MB / 446.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.2994, allocations: 75.62 kB / 447 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.3041, allocations: 2.246 MB / 449.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.3092, allocations: 1.876 MB / 451.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3109, allocations: 0.7408 MB / 451.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008148/0.319, allocations: 5.273 MB / 457.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003272/0.3223, allocations: 2.167 MB / 459.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.3252, allocations: 1.499 MB / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/0.3294, allocations: 2.212 MB / 463 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009911/0.3304, allocations: 300 kB / 463.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.3334, allocations: 1.213 MB / 464.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.3358, allocations: 1.885 MB / 466.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.3384, allocations: 2.047 MB / 468.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008735/0.3472, allocations: 6.662 MB / 475.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3472, allocations: 0 / 475.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3472, allocations: 0 / 475.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002351/0.3474, allocations: 0 / 475.1 MB, free: 12.11 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01067/0.3581, allocations: 4.717 MB / 479.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3581, allocations: 8.031 kB / 479.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02325/0.3814, allocations: 3.099 MB / 482.9 MB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008254/0.3896, allocations: 3.221 MB / 486.1 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.3898, allocations: 193 kB / 486.3 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009455/0.3908, allocations: 271.8 kB / 486.6 MB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.4068, allocations: 8.863 MB / 495.4 MB, free: 6.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.407, allocations: 47.64 kB / 495.5 MB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.4074, allocations: 127.9 kB / 495.6 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/0.4106, allocations: 1.77 MB / 497.4 MB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.4269, allocations: 7.788 MB / 0.4933 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/0.4787, allocations: 35.83 MB / 0.5283 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/0.4873, allocations: 3.247 MB / 0.5315 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003246/0.4906, allocations: 2.021 MB / 0.5335 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.491, allocations: 96.89 kB / 0.5336 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/0.4911, allocations: 59.44 kB / 0.5336 GB, free: 2.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.278e-06/0.4911, allocations: 0 / 0.5336 GB, free: 2.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.3555/0.8466, allocations: 21.36 MB / 0.5545 GB, free: 95.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.8467, allocations: 255.7 kB / 0.5547 GB, free: 95.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/0.8516, allocations: 3.93 MB / 0.5586 GB, free: 91.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005996/0.8522, allocations: 57.23 kB / 0.5586 GB, free: 91.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.8539, allocations: 2.888 MB / 0.5614 GB, free: 88.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007684/0.8547, allocations: 0.761 MB / 0.5622 GB, free: 88.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.856, allocations: 1.179 MB / 0.5633 GB, free: 86.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.8561, allocations: 301.1 kB / 0.5636 GB, free: 86.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.8588, allocations: 2.381 MB / 0.5659 GB, free: 84.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.8628, allocations: 5.641 MB / 0.5715 GB, free: 76.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/0.8711, allocations: 8.574 MB / 0.5798 GB, free: 66.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.093e-05/0.8711, allocations: 36 kB / 0.5799 GB, free: 66.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01737/0.8885, allocations: 9.615 MB / 0.5892 GB, free: 57.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.8886, allocations: 55.12 kB / 0.5893 GB, free: 57.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.8888, allocations: 120.1 kB / 0.5894 GB, free: 56.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004979/0.8937, allocations: 2.024 MB / 0.5914 GB, free: 54.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/0.8982, allocations: 1.279 MB / 0.5926 GB, free: 53.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.9135, allocations: 11.25 MB / 0.6036 GB, free: 42.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/0.9203, allocations: 347.6 kB / 0.604 GB, free: 41.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/0.9217, allocations: 340 kB / 0.6043 GB, free: 41.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (688): * Single equations (assignments): 684 * 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 {(3,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004838/0.9266, allocations: 1.943 MB / 0.6062 GB, free: 39.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.9278, allocations: 365.6 kB / 0.6065 GB, free: 39.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/0.9368, allocations: 4.868 MB / 0.6113 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-05/0.9369, allocations: 21.31 kB / 0.6113 GB, free: 34.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.9369, allocations: 8 kB / 0.6113 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/0.9369, allocations: 7.969 kB / 0.6113 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/0.9575, allocations: 9.945 MB / 0.621 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.9575, allocations: 0 / 0.621 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.959, allocations: 265.2 kB / 0.6213 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00498/0.964, allocations: 1.846 MB / 0.6231 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005207/0.9645, allocations: 43.59 kB / 0.6231 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.9769, allocations: 10.3 MB / 0.6332 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9769, allocations: 0 / 0.6332 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.9909, allocations: 7.941 MB / 0.6409 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.9923, allocations: 353.5 kB / 0.6413 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/0.9935, allocations: 28 kB / 0.6413 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.9958, allocations: 139.8 kB / 0.6414 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005536/0.9963, allocations: 118.6 kB / 0.6416 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/0.9966, allocations: 48 kB / 0.6416 GB, free: 3.188 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005004/1.002, allocations: 2.484 MB / 0.644 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.002, allocations: 0 / 0.644 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007827/1.009, allocations: 1.058 MB / 0.6451 GB, free: 15.66 MB / 462.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 (136): * Single equations (assignments): 132 * 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.0009576/1.01, allocations: 162.9 kB / 0.6452 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01155/1.022, allocations: 5.567 MB / 0.6507 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.022, allocations: 256 / 0.6507 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004033/1.026, allocations: 1.945 MB / 0.6526 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.031, allocations: 463.1 kB / 0.653 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.056, allocations: 9.621 MB / 0.6624 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00808/1.064, allocations: 3.087 MB / 0.6654 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006739/1.071, allocations: 1.815 MB / 0.6672 GB, free: 8.934 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.072, allocations: 235.4 kB / 0.6674 GB, free: 8.703 MB / 478.1 MB Notification: Performance of SimCode: time 1.813e-06/1.072, allocations: 4 kB / 0.6674 GB, free: 8.699 MB / 478.1 MB Notification: Performance of Templates: time 0.1002/1.172, allocations: 46.54 MB / 0.7128 GB, free: 10.43 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.7722262647002935]