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.00167/0.00167, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001972/0.001972, allocations: 210.4 kB / 24.48 MB, free: 4.035 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.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.002143/0.002143, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2268, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01423/0.241, allocations: 11.86 MB / 443.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008806/0.2498, allocations: 4.388 MB / 448.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.2515, allocations: 83.69 kB / 448.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005711/0.2572, allocations: 2.916 MB / 451.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.2622, allocations: 1.977 MB / 453.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.2644, allocations: 1.052 MB / 454.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007722/0.2722, allocations: 5.595 MB / 459.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.2761, allocations: 2.817 MB / 462.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.2786, allocations: 1.709 MB / 464.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.282, allocations: 2.481 MB / 466.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006423/0.2827, allocations: 360 kB / 467.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.2848, allocations: 1.276 MB / 468.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.2869, allocations: 2.127 MB / 470.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.2893, allocations: 2.346 MB / 473 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009048/0.2983, allocations: 7.58 MB / 480.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2983, allocations: 0 / 480.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2983, allocations: 0 / 480.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001461/0.2985, allocations: 0 / 480.6 MB, free: 6.586 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.01094/0.3094, allocations: 5.322 MB / 485.9 MB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3095, allocations: 8.031 kB / 486 MB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.3372, allocations: 3.189 MB / 489.1 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009576/0.3468, allocations: 3.545 MB / 492.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.347, allocations: 234.1 kB / 492.9 MB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007302/0.3477, allocations: 327.8 kB / 493.2 MB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.3639, allocations: 9.843 MB / 0.4913 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000128/0.364, allocations: 51.58 kB / 0.4913 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.3645, allocations: 155.9 kB / 0.4915 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.368, allocations: 1.904 MB / 0.4933 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.3844, allocations: 8.484 MB / 0.5016 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.239/0.6234, allocations: 38.27 MB / 0.539 GB, free: 90.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008105/0.6315, allocations: 3.836 MB / 0.5428 GB, free: 90.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.6337, allocations: 2.033 MB / 0.5447 GB, free: 90.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005259/0.6342, allocations: 0.6455 MB / 0.5454 GB, free: 89.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.6342, allocations: 57.12 kB / 0.5454 GB, free: 89.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.509e-06/0.6342, allocations: 0 / 0.5454 GB, free: 89.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05227/0.6865, allocations: 22.74 MB / 0.5676 GB, free: 77.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.6866, allocations: 265.1 kB / 0.5679 GB, free: 77.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/0.6906, allocations: 4.165 MB / 0.5719 GB, free: 73.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.6908, allocations: 53.7 kB / 0.572 GB, free: 73.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.692, allocations: 3.206 MB / 0.5751 GB, free: 70.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.6924, allocations: 0.7976 MB / 0.5759 GB, free: 69.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6937, allocations: 1.258 MB / 0.5771 GB, free: 68.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.6937, allocations: 305.1 kB / 0.5774 GB, free: 68.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/0.6963, allocations: 2.491 MB / 0.5799 GB, free: 65.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.6998, allocations: 5.978 MB / 0.5857 GB, free: 58.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.7065, allocations: 9.065 MB / 0.5946 GB, free: 47.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-05/0.7065, allocations: 36 kB / 0.5946 GB, free: 47.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01494/0.7215, allocations: 10.53 MB / 0.6049 GB, free: 36.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.7215, allocations: 61.5 kB / 0.6049 GB, free: 36.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-05/0.7216, allocations: 120 kB / 0.605 GB, free: 36.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006515/0.7281, allocations: 2.599 MB / 0.6076 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.732, allocations: 1.31 MB / 0.6089 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/0.7513, allocations: 18.64 MB / 0.6271 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/0.7557, allocations: 371.5 kB / 0.6274 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005068/0.7562, allocations: 360 kB / 0.6278 GB, free: 13.06 MB / 446.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.002453/0.7586, allocations: 2.132 MB / 0.6298 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/0.7592, allocations: 405.3 kB / 0.6302 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008495/0.7677, allocations: 4.992 MB / 0.6351 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.7677, allocations: 11.97 kB / 0.6351 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7677, allocations: 0 / 0.6351 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008295/0.7685, allocations: 449 kB / 0.6355 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/0.769, allocations: 31.75 kB / 0.6356 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.7707, allocations: 139.8 kB / 0.6357 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.771, allocations: 145 kB / 0.6358 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009445/0.7804, allocations: 5.422 MB / 0.6411 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009182/0.7896, allocations: 6.451 MB / 0.6474 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00229/0.7919, allocations: 1.58 MB / 0.649 GB, free: 7.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004083/0.796, allocations: 2.619 MB / 0.6515 GB, free: 4.656 MB / 462.1 MB Notification: Performance of Backend: time 3e-07/0.796, allocations: 0 / 0.6515 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.8063, allocations: 4.942 MB / 0.6564 GB, free: 15.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.01665/0.823, allocations: 10.12 MB / 0.6663 GB, free: 5.555 MB / 478.1 MB Notification: Performance of Templates: time 0.1087/0.9317, allocations: 61.25 MB / 0.7261 GB, free: 8.605 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.615708290599287]