Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 210.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 51.86 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2044, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01298/0.2173, allocations: 10.33 MB / 442.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008217/0.2256, allocations: 4.155 MB / 446.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000854/0.2264, allocations: 99.44 kB / 446.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.2317, allocations: 2.803 MB / 449.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.2357, allocations: 1.992 MB / 451.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.2376, allocations: 1.029 MB / 452.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006788/0.2444, allocations: 5.615 MB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.2481, allocations: 3.07 MB / 461.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.2504, allocations: 1.737 MB / 463.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003228/0.2536, allocations: 2.473 MB / 465.6 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006385/0.2542, allocations: 364 kB / 466 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2562, allocations: 1.147 MB / 467.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.2582, allocations: 2.127 MB / 469.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.2601, allocations: 1.752 MB / 471 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00789/0.268, allocations: 7.623 MB / 478.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.268, allocations: 0 / 478.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.268, allocations: 0 / 478.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.066e-05/0.268, allocations: 0 / 478.6 MB, free: 8.211 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.00943/0.2775, allocations: 5.242 MB / 483.9 MB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2775, allocations: 8.031 kB / 483.9 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/0.3034, allocations: 3.188 MB / 487.1 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008749/0.3122, allocations: 3.461 MB / 490.5 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.3124, allocations: 238.1 kB / 490.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006972/0.3131, allocations: 323.8 kB / 491.1 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.3285, allocations: 9.955 MB / 0.4893 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.3286, allocations: 51.59 kB / 0.4894 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.329, allocations: 151.9 kB / 0.4895 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/0.3325, allocations: 1.9 MB / 0.4914 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.3475, allocations: 8.46 MB / 0.4996 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.3938, allocations: 35.36 MB / 0.5341 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1793/0.5731, allocations: 3.366 MB / 0.5374 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.5753, allocations: 2.047 MB / 0.5394 GB, free: 99.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/0.5758, allocations: 207.7 kB / 0.5396 GB, free: 99.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5758, allocations: 51.44 kB / 0.5397 GB, free: 99.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.118e-06/0.5758, allocations: 0 / 0.5397 GB, free: 99.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.0511/0.6269, allocations: 22.48 MB / 0.5616 GB, free: 86.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.627, allocations: 256.6 kB / 0.5619 GB, free: 86.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.6303, allocations: 3.939 MB / 0.5657 GB, free: 82.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.6305, allocations: 61.09 kB / 0.5658 GB, free: 82.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.6315, allocations: 3.226 MB / 0.5689 GB, free: 79.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.6319, allocations: 0.8048 MB / 0.5697 GB, free: 78.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.6332, allocations: 1.258 MB / 0.571 GB, free: 77.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.6332, allocations: 301.1 kB / 0.5712 GB, free: 77.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.6358, allocations: 2.491 MB / 0.5737 GB, free: 74.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.6393, allocations: 6.081 MB / 0.5796 GB, free: 66.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.6458, allocations: 9.062 MB / 0.5885 GB, free: 56.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.846e-05/0.6459, allocations: 36 kB / 0.5885 GB, free: 56.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01478/0.6607, allocations: 10.51 MB / 0.5988 GB, free: 45.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.6607, allocations: 56 kB / 0.5988 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-05/0.6608, allocations: 124 kB / 0.5989 GB, free: 45.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/0.6674, allocations: 2.592 MB / 0.6015 GB, free: 42.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.6707, allocations: 1.31 MB / 0.6027 GB, free: 41.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.6892, allocations: 18.06 MB / 0.6204 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.6928, allocations: 371.5 kB / 0.6207 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003794/0.6932, allocations: 359.8 kB / 0.6211 GB, free: 22.45 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.002185/0.6954, allocations: 2.144 MB / 0.6232 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/0.6958, allocations: 353.6 kB / 0.6235 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008119/0.704, allocations: 4.972 MB / 0.6284 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.704, allocations: 20 kB / 0.6284 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.704, allocations: 8 kB / 0.6284 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.704, allocations: 7.969 kB / 0.6284 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.719, allocations: 9.408 MB / 0.6376 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.719, allocations: 5.156 kB / 0.6376 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.7203, allocations: 283.6 kB / 0.6379 GB, free: 5.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/0.7253, allocations: 1.85 MB / 0.6397 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.7254, allocations: 40 kB / 0.6397 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.7394, allocations: 10.15 MB / 0.6496 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7394, allocations: 0 / 0.6496 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.7535, allocations: 8.125 MB / 0.6575 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.7543, allocations: 329.5 kB / 0.6579 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/0.7548, allocations: 32 kB / 0.6579 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.7563, allocations: 135.8 kB / 0.658 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/0.7567, allocations: 132.9 kB / 0.6581 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.7569, allocations: 48 kB / 0.6582 GB, free: 264 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003393/0.7603, allocations: 2.312 MB / 0.6604 GB, free: 13.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7603, allocations: 8.281 kB / 0.6605 GB, free: 13.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004511/0.7648, allocations: 1.148 MB / 0.6616 GB, free: 12.8 MB / 478.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.000419/0.7652, allocations: 166.8 kB / 0.6617 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01032/0.7755, allocations: 6.252 MB / 0.6678 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7755, allocations: 0 / 0.6678 GB, free: 6.363 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.7787, allocations: 1.998 MB / 0.6698 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.7817, allocations: 0.5095 MB / 0.6703 GB, free: 3.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.7987, allocations: 10.46 MB / 0.6805 GB, free: 9.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/0.8026, allocations: 2.858 MB / 0.6833 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00425/0.8068, allocations: 1.843 MB / 0.6851 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.8075, allocations: 227.4 kB / 0.6853 GB, free: 4.379 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8075, allocations: 0 / 0.6853 GB, free: 4.379 MB / 494.1 MB Notification: Performance of Templates: time 0.2565/1.064, allocations: 52.62 MB / 0.7367 GB, free: 177.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.586108798001078]