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.0009725/0.0009725, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.0009363/0.0009363, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9197/0.9197, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.315e-05, allocations: 5.547 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008992/0.009015, allocations: 11.43 MB / 284.5 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.01618, allocations: 4.273 MB / 288.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.01788, allocations: 103.4 kB / 288.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1326/0.1505, allocations: 3.063 MB / 291.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.155, allocations: 2.054 MB / 294 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.157, allocations: 1.152 MB / 295.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006439/0.1634, allocations: 6.333 MB / 301.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.1672, allocations: 3.704 MB / 305.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.1709, allocations: 2.649 MB / 307.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.1735, allocations: 2.64 MB / 310.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006846/0.1742, allocations: 374.8 kB / 310.8 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.1756, allocations: 1.191 MB / 312 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.1768, allocations: 2.246 MB / 314.3 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1781, allocations: 1.395 MB / 315.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.182, allocations: 5.016 MB / 320.7 MB, free: 404 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.182, allocations: 4 kB / 320.7 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.182, allocations: 3.938 kB / 320.7 MB, free: 396 kB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.1822, allocations: 0 / 320.7 MB, free: 396 kB / 266.7 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.007457/0.1896, allocations: 5.666 MB / 326.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1897, allocations: 11.31 kB / 326.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.2028, allocations: 3.71 MB / 330.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/0.2074, allocations: 3.177 MB / 333.3 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2075, allocations: 238.7 kB / 333.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.2079, allocations: 326.7 kB / 333.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.2151, allocations: 5.952 MB / 339.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.2152, allocations: 49.69 kB / 339.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.2155, allocations: 152.7 kB / 340 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001895/0.2173, allocations: 1.898 MB / 341.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.2233, allocations: 3.194 MB / 345.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/0.2563, allocations: 41 MB / 386.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.2605, allocations: 1.749 MB / 387.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.2617, allocations: 0.6588 MB / 388.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.262, allocations: 194.1 kB / 388.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.262, allocations: 58.33 kB / 388.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 3.947e-06/0.262, allocations: 112 / 388.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.03299/0.295, allocations: 15.92 MB / 404.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.2951, allocations: 256.6 kB / 404.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.2989, allocations: 3.596 MB / 408.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.2991, allocations: 53.7 kB / 408.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.3012, allocations: 3.367 MB / 411.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008198/0.302, allocations: 0.8314 MB / 412.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.3033, allocations: 1.324 MB / 414.1 MB, free: 1.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3034, allocations: 480.8 kB / 414.5 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3048, allocations: 0.8044 MB / 415.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/0.3089, allocations: 6.062 MB / 421.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007162/0.316, allocations: 7.464 MB / 428.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-05/0.3161, allocations: 36 kB / 428.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01325/0.3294, allocations: 6.766 MB / 435.7 MB, free: 7.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/0.3294, allocations: 56.62 kB / 435.7 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.3295, allocations: 120 kB / 435.8 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/0.3352, allocations: 1.849 MB / 437.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003267/0.3385, allocations: 1.31 MB / 439 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1195/0.458, allocations: 10.37 MB / 449.4 MB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/0.461, allocations: 423.1 kB / 449.8 MB, free: 121.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.4614, allocations: 360.4 kB / 450.1 MB, free: 121.1 MB / 394.7 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.001215/0.4626, allocations: 0.6442 MB / 450.8 MB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.4631, allocations: 409 kB / 451.2 MB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.4675, allocations: 2.65 MB / 453.8 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.4675, allocations: 23.64 kB / 453.8 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.4675, allocations: 8.703 kB / 453.8 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4676, allocations: 10.45 kB / 453.9 MB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.4789, allocations: 6.851 MB / 460.7 MB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4789, allocations: 2.906 kB / 460.7 MB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/0.4799, allocations: 288.4 kB / 461 MB, free: 119.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/0.4836, allocations: 1.215 MB / 462.2 MB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.4838, allocations: 34.31 kB / 462.2 MB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.4899, allocations: 4.228 MB / 466.5 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4899, allocations: 7.562 kB / 466.5 MB, free: 117.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006678/0.4966, allocations: 3.795 MB / 470.3 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.4972, allocations: 364.7 kB / 470.6 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/0.4975, allocations: 38.36 kB / 470.7 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.4989, allocations: 195.5 kB / 470.9 MB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.4992, allocations: 126.9 kB / 471 MB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.4993, allocations: 54.12 kB / 471 MB, free: 115.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002069/0.5014, allocations: 1.596 MB / 472.6 MB, free: 115.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5014, allocations: 0 / 472.6 MB, free: 115.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004043/0.5054, allocations: 1.316 MB / 473.9 MB, free: 115.2 MB / 394.7 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.0004068/0.5058, allocations: 180 kB / 474.1 MB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01151/0.5173, allocations: 4.05 MB / 478.2 MB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5173, allocations: 0 / 478.2 MB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.5186, allocations: 1.119 MB / 479.3 MB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.5205, allocations: 0.5267 MB / 479.8 MB, free: 110.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008459/0.529, allocations: 8.269 MB / 488.1 MB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/0.5298, allocations: 1.318 MB / 489.4 MB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00189/0.5317, allocations: 1.577 MB / 491 MB, free: 99.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/0.5321, allocations: 236.5 kB / 491.2 MB, free: 99.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.5321, allocations: 0 / 491.2 MB, free: 99.12 MB / 394.7 MB Notification: Performance of Templates: time 0.04664/0.5788, allocations: 48.07 MB / 0.5266 GB, free: 51.61 MB / 394.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.012321357848123]