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.001302/0.001302, allocations: 110.4 kB / 21.17 MB, free: 0.7695 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.001433/0.001433, allocations: 212.8 kB / 24.46 MB, free: 4.359 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.4 MB / 258.1 MB, free: 8.145 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.001958/0.001958, allocations: 75.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2457, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.0122/0.2579, allocations: 10.48 MB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008116/0.266, allocations: 3.995 MB / 446.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.2675, allocations: 71.75 kB / 446.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.2718, allocations: 2.242 MB / 448.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.2764, allocations: 1.864 MB / 450.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.2782, allocations: 0.7525 MB / 451.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007712/0.2859, allocations: 5.261 MB / 456.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.2889, allocations: 2.161 MB / 458.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.2913, allocations: 1.487 MB / 460.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.2943, allocations: 2.204 MB / 462.6 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005257/0.2948, allocations: 300 kB / 462.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.2969, allocations: 1.217 MB / 464.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.2987, allocations: 1.878 MB / 466 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.3008, allocations: 2.05 MB / 468 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00753/0.3083, allocations: 6.658 MB / 474.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3083, allocations: 0 / 474.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3083, allocations: 0 / 474.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.961e-05/0.3084, allocations: 4 kB / 474.7 MB, free: 12.59 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.009566/0.318, allocations: 4.788 MB / 479.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.318, allocations: 12.02 kB / 479.5 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/0.3451, allocations: 3.099 MB / 482.6 MB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0088/0.3539, allocations: 3.297 MB / 485.9 MB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.3541, allocations: 193 kB / 486 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.3549, allocations: 271.8 kB / 486.3 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.3708, allocations: 8.863 MB / 495.2 MB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.3709, allocations: 51.62 kB / 495.2 MB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000381/0.3713, allocations: 123.9 kB / 495.3 MB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/0.3745, allocations: 1.766 MB / 497.1 MB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.3894, allocations: 7.792 MB / 0.4931 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.4347, allocations: 35.91 MB / 0.5281 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008415/0.4431, allocations: 3.716 MB / 0.5318 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.4459, allocations: 2.008 MB / 0.5337 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.4463, allocations: 332.1 kB / 0.534 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.4464, allocations: 59.44 kB / 0.5341 GB, free: 2.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 3.497e-06/0.4464, allocations: 4.109 kB / 0.5341 GB, free: 2.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2376/0.684, allocations: 21.56 MB / 0.5552 GB, free: 94.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.6841, allocations: 256.5 kB / 0.5554 GB, free: 94.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004403/0.6885, allocations: 3.933 MB / 0.5592 GB, free: 90.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.6888, allocations: 52.91 kB / 0.5593 GB, free: 90.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.6901, allocations: 2.886 MB / 0.5621 GB, free: 88.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006076/0.6907, allocations: 0.7503 MB / 0.5628 GB, free: 87.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.6919, allocations: 1.19 MB / 0.564 GB, free: 86.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.692, allocations: 301.1 kB / 0.5643 GB, free: 86.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.6945, allocations: 2.381 MB / 0.5666 GB, free: 83.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003587/0.6981, allocations: 5.649 MB / 0.5721 GB, free: 76.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007024/0.7051, allocations: 8.581 MB / 0.5805 GB, free: 66.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.807e-05/0.7052, allocations: 32 kB / 0.5806 GB, free: 66.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.01456/0.7198, allocations: 9.612 MB / 0.5899 GB, free: 56.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.7198, allocations: 56 kB / 0.59 GB, free: 56.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-05/0.7199, allocations: 112 kB / 0.5901 GB, free: 56.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/0.7248, allocations: 2.024 MB / 0.5921 GB, free: 54.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.7285, allocations: 1.283 MB / 0.5933 GB, free: 53.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.7407, allocations: 11.36 MB / 0.6044 GB, free: 41.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.745, allocations: 347.6 kB / 0.6048 GB, free: 41.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005382/0.7455, allocations: 336 kB / 0.6051 GB, free: 40.98 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.002463/0.748, allocations: 1.937 MB / 0.607 GB, free: 39.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.7485, allocations: 361.6 kB / 0.6073 GB, free: 38.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007975/0.7565, allocations: 4.868 MB / 0.6121 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.7565, allocations: 23.42 kB / 0.6121 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.7566, allocations: 8 kB / 0.6121 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.7566, allocations: 11.97 kB / 0.6121 GB, free: 33.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.7721, allocations: 9.993 MB / 0.6219 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7721, allocations: 4 kB / 0.6219 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.7734, allocations: 259.6 kB / 0.6221 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004633/0.778, allocations: 1.846 MB / 0.6239 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.7782, allocations: 32 kB / 0.6239 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.7892, allocations: 10.41 MB / 0.6341 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7892, allocations: 4 kB / 0.6341 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.8002, allocations: 7.945 MB / 0.6419 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.8012, allocations: 422.6 kB / 0.6423 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004962/0.8017, allocations: 28 kB / 0.6423 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.8033, allocations: 134.3 kB / 0.6424 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/0.8036, allocations: 121.1 kB / 0.6425 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.8038, allocations: 51.81 kB / 0.6426 GB, free: 2.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002926/0.8067, allocations: 2.48 MB / 0.645 GB, free: 15.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8067, allocations: 0 / 0.645 GB, free: 15.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004549/0.8113, allocations: 1.055 MB / 0.646 GB, free: 14.78 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.0004731/0.8117, allocations: 167.2 kB / 0.6462 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009546/0.8213, allocations: 5.564 MB / 0.6516 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8213, allocations: 0 / 0.6516 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003281/0.8246, allocations: 1.944 MB / 0.6535 GB, free: 7.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/0.8276, allocations: 469.1 kB / 0.654 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.8444, allocations: 9.62 MB / 0.6634 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/0.848, allocations: 3.086 MB / 0.6664 GB, free: 9.875 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004236/0.8523, allocations: 1.815 MB / 0.6682 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/0.853, allocations: 239.4 kB / 0.6684 GB, free: 7.816 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.853, allocations: 0 / 0.6684 GB, free: 7.816 MB / 478.1 MB Notification: Performance of Templates: time 0.08149/0.9345, allocations: 44.22 MB / 0.7116 GB, free: 11.84 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.436521274037659]