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.001779/0.001779, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002084/0.002084, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.001946/0.001946, allocations: 67.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2208, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01307/0.2338, allocations: 10.47 MB / 442.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.2416, allocations: 4.003 MB / 446.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.2427, allocations: 67.75 kB / 446.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.247, allocations: 2.235 MB / 448.8 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.2508, allocations: 1.88 MB / 450.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2522, allocations: 0.7408 MB / 451.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006333/0.2585, allocations: 5.259 MB / 456.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.261, allocations: 2.165 MB / 458.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.2627, allocations: 1.483 MB / 460.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.2655, allocations: 2.212 MB / 462.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004521/0.2659, allocations: 300 kB / 462.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.2678, allocations: 1.213 MB / 464.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.2695, allocations: 1.878 MB / 466 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.2714, allocations: 2.054 MB / 468 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006679/0.2781, allocations: 6.658 MB / 474.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2781, allocations: 0 / 474.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2781, allocations: 0 / 474.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-05/0.2782, allocations: 0 / 474.7 MB, free: 12.55 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.008774/0.2869, allocations: 4.788 MB / 479.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.287, allocations: 12.03 kB / 479.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/0.3145, allocations: 3.103 MB / 482.6 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007734/0.3222, allocations: 3.289 MB / 485.9 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3223, allocations: 197 kB / 486.1 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.3229, allocations: 275.8 kB / 486.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.3361, allocations: 8.851 MB / 495.2 MB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.3362, allocations: 55.62 kB / 495.2 MB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.3366, allocations: 131.8 kB / 495.4 MB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.3398, allocations: 1.77 MB / 497.1 MB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.3533, allocations: 7.78 MB / 0.4931 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/0.3968, allocations: 35.92 MB / 0.5282 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/0.4053, allocations: 3.707 MB / 0.5318 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/0.4081, allocations: 2.013 MB / 0.5337 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/0.4085, allocations: 324.2 kB / 0.534 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.4086, allocations: 63.42 kB / 0.5341 GB, free: 2.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.508e-06/0.4086, allocations: 0 / 0.5341 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.2305/0.6391, allocations: 21.56 MB / 0.5552 GB, free: 94.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6392, allocations: 252.4 kB / 0.5554 GB, free: 94.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/0.6428, allocations: 3.935 MB / 0.5593 GB, free: 90.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.6429, allocations: 53.7 kB / 0.5593 GB, free: 90.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.644, allocations: 2.888 MB / 0.5621 GB, free: 88.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.6444, allocations: 0.7578 MB / 0.5629 GB, free: 87.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.6455, allocations: 1.182 MB / 0.564 GB, free: 86.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.6455, allocations: 301.1 kB / 0.5643 GB, free: 85.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.648, allocations: 2.381 MB / 0.5666 GB, free: 83.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.6514, allocations: 5.644 MB / 0.5721 GB, free: 76.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006298/0.6577, allocations: 8.574 MB / 0.5805 GB, free: 66.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-05/0.6577, allocations: 32 kB / 0.5805 GB, free: 66.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.013/0.6707, allocations: 9.622 MB / 0.5899 GB, free: 56.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.6707, allocations: 52.94 kB / 0.59 GB, free: 56.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-05/0.6708, allocations: 112 kB / 0.5901 GB, free: 56.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.6756, allocations: 2.023 MB / 0.5921 GB, free: 54.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/0.6789, allocations: 1.283 MB / 0.5933 GB, free: 53.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.6909, allocations: 11.37 MB / 0.6044 GB, free: 41.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.6943, allocations: 343.5 kB / 0.6048 GB, free: 41.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/0.6947, allocations: 340 kB / 0.6051 GB, free: 40.88 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.002003/0.6967, allocations: 1.939 MB / 0.607 GB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.6971, allocations: 369.6 kB / 0.6073 GB, free: 38.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007973/0.7051, allocations: 4.856 MB / 0.6121 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.7051, allocations: 11.97 kB / 0.6121 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7051, allocations: 0 / 0.6121 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.7056, allocations: 427.3 kB / 0.6125 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.7061, allocations: 35.94 kB / 0.6125 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.7076, allocations: 131.8 kB / 0.6126 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.7078, allocations: 134.2 kB / 0.6128 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008557/0.7164, allocations: 5.318 MB / 0.618 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005888/0.7223, allocations: 6.211 MB / 0.624 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00154/0.7238, allocations: 1.527 MB / 0.6255 GB, free: 19.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002628/0.7264, allocations: 2.48 MB / 0.6279 GB, free: 17.45 MB / 446.1 MB Notification: Performance of Backend: time 3.11e-07/0.7264, allocations: 4 kB / 0.628 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006846/0.7333, allocations: 4.309 MB / 0.6322 GB, free: 13.15 MB / 446.1 MB Notification: Performance of SimCode: time 0.009761/0.743, allocations: 9.151 MB / 0.6411 GB, free: 3.961 MB / 446.1 MB Notification: Performance of Templates: time 0.09208/0.8351, allocations: 55.06 MB / 0.6949 GB, free: 13.14 MB / 0.4981 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/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.268450949341059]