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.001011/0.001011, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00099/0.00099, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9184/0.9184, allocations: 177.2 MB / 205 MB, free: 5.297 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.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.819e-05, allocations: 5.125 kB / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.025/0.02503, allocations: 11.48 MB / 284.5 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.03574, allocations: 4.281 MB / 288.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.03705, allocations: 99.44 kB / 288.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1304/0.1675, allocations: 3.074 MB / 291.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00459/0.1721, allocations: 2.06 MB / 294 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.1738, allocations: 1.15 MB / 295.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006365/0.1802, allocations: 6.337 MB / 301.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.183, allocations: 3.704 MB / 305.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003055/0.186, allocations: 3.618 MB / 308.8 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002053/0.1881, allocations: 2.609 MB / 311.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.1886, allocations: 373.2 kB / 311.8 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1898, allocations: 1.192 MB / 313 MB, free: 7.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009792/0.1908, allocations: 2.252 MB / 315.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.1921, allocations: 1.39 MB / 316.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.1955, allocations: 5.019 MB / 321.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1955, allocations: 0 / 321.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1955, allocations: 8 kB / 321.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.072e-05/0.1956, allocations: 0 / 321.6 MB, free: 15.47 MB / 282.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.006539/0.2021, allocations: 5.726 MB / 327.4 MB, free: 9.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2022, allocations: 12.03 kB / 327.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.2139, allocations: 3.634 MB / 331 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.2169, allocations: 2.821 MB / 333.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.217, allocations: 237.9 kB / 334.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.2173, allocations: 327.8 kB / 334.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.2239, allocations: 5.955 MB / 340.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.224, allocations: 44.48 kB / 340.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.2244, allocations: 150.2 kB / 340.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.2264, allocations: 1.795 MB / 342.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.2332, allocations: 3.005 MB / 345.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/0.2637, allocations: 41.35 MB / 386.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.2682, allocations: 1.509 MB / 388.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007681/0.2689, allocations: 472.5 kB / 388.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006046/0.275, allocations: 3.922 MB / 392.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.275, allocations: 53.98 kB / 392.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.186e-06/0.275, allocations: 0 / 392.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=143): time 0.01984/0.2949, allocations: 10.94 MB / 403.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.295, allocations: 256.2 kB / 403.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.2986, allocations: 3.724 MB / 407.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.2987, allocations: 41.7 kB / 407.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.3003, allocations: 3.485 MB / 411.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.3008, allocations: 0.62 MB / 411.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3018, allocations: 1.291 MB / 413 MB, free: 2.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.3019, allocations: 476.8 kB / 413.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.3032, allocations: 0.6205 MB / 414.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.3068, allocations: 6.152 MB / 420.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005319/0.3121, allocations: 7.323 MB / 427.5 MB, free: 15.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-05/0.3121, allocations: 44 kB / 427.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.007047/0.3192, allocations: 5.42 MB / 433 MB, free: 9.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.3192, allocations: 63.94 kB / 433.1 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.3193, allocations: 128 kB / 433.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.3209, allocations: 0.7897 MB / 434 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.323, allocations: 1.322 MB / 435.3 MB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1299/0.4529, allocations: 7.458 MB / 442.7 MB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.4565, allocations: 410.6 kB / 443.1 MB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006031/0.4571, allocations: 355.8 kB / 443.5 MB, free: 117.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (723): * Single equations (assignments): 717 * 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 {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.4585, allocations: 0.6456 MB / 444.1 MB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005396/0.459, allocations: 385.6 kB / 444.5 MB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.4609, allocations: 1.084 MB / 445.6 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.4609, allocations: 20.31 kB / 445.6 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.4609, allocations: 6.156 kB / 445.6 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4609, allocations: 6.953 kB / 445.6 MB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/0.4678, allocations: 4.847 MB / 450.5 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4678, allocations: 9.766 kB / 450.5 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.4684, allocations: 234.2 kB / 450.7 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007019/0.4691, allocations: 267.7 kB / 451 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.4691, allocations: 31.03 kB / 451 MB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.4708, allocations: 2.579 MB / 453.6 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4708, allocations: 11.91 kB / 453.6 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.473, allocations: 2.257 MB / 455.9 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.4734, allocations: 361.1 kB / 456.2 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.4737, allocations: 35.47 kB / 456.2 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.4744, allocations: 135.5 kB / 456.4 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.4745, allocations: 110 kB / 456.5 MB, free: 113.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.4746, allocations: 49.27 kB / 456.5 MB, free: 113.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001667/0.4763, allocations: 1.635 MB / 458.2 MB, free: 113.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4763, allocations: 0 / 458.2 MB, free: 113.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003282/0.4796, allocations: 1.063 MB / 459.2 MB, free: 113.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (116): * Single equations (assignments): 112 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.4799, allocations: 188.8 kB / 459.4 MB, free: 113.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.4833, allocations: 3.321 MB / 462.7 MB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4833, allocations: 0 / 462.7 MB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.4839, allocations: 0.6595 MB / 463.4 MB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.4853, allocations: 0.5253 MB / 463.9 MB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.4927, allocations: 7.778 MB / 471.7 MB, free: 109.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.4935, allocations: 1.268 MB / 473 MB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001775/0.4953, allocations: 1.515 MB / 474.5 MB, free: 109.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.4957, allocations: 224.2 kB / 474.7 MB, free: 109.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4957, allocations: 0 / 474.7 MB, free: 109.1 MB / 394.7 MB Notification: Performance of Templates: time 0.04702/0.5427, allocations: 33.48 MB / 0.4963 GB, free: 77.86 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: 3.94210111675784]