Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001581/0.001581, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001961/0.001961, allocations: 210.1 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 256.2 MB, free: 8.57 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 53.33 MB / 429.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01435/0.3134, allocations: 11.87 MB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009082/0.3225, allocations: 4.38 MB / 446.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.3245, allocations: 79.75 kB / 446.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005585/0.3301, allocations: 2.92 MB / 449.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.3358, allocations: 1.977 MB / 451 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3384, allocations: 1.049 MB / 452.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.3494, allocations: 5.591 MB / 457.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005517/0.355, allocations: 2.829 MB / 460.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.3591, allocations: 1.713 MB / 462.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005416/0.3645, allocations: 2.473 MB / 464.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.3659, allocations: 363.9 kB / 465 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.3693, allocations: 1.272 MB / 466.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003447/0.3727, allocations: 2.131 MB / 468.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003899/0.3766, allocations: 2.338 MB / 470.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3868, allocations: 7.588 MB / 478.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3868, allocations: 0 / 478.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3868, allocations: 0 / 478.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.387, allocations: 0 / 478.4 MB, free: 6.902 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.01214/0.3991, allocations: 5.322 MB / 483.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3992, allocations: 8.031 kB / 483.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02611/0.4253, allocations: 3.185 MB / 486.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008809/0.4341, allocations: 3.545 MB / 490.4 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.4343, allocations: 234.1 kB / 490.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.4354, allocations: 335.8 kB / 491 MB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.4531, allocations: 9.839 MB / 0.4891 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.4533, allocations: 55.59 kB / 0.4891 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004266/0.4537, allocations: 155.8 kB / 0.4893 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003363/0.457, allocations: 1.904 MB / 0.4911 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4738, allocations: 8.48 MB / 0.4994 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2613/0.7351, allocations: 38.27 MB / 0.5368 GB, free: 90.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007361/0.7424, allocations: 3.833 MB / 0.5405 GB, free: 90.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.7446, allocations: 2.036 MB / 0.5425 GB, free: 90.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.7451, allocations: 0.6446 MB / 0.5432 GB, free: 89.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7451, allocations: 52.94 kB / 0.5432 GB, free: 89.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.729e-06/0.7451, allocations: 0.8438 kB / 0.5432 GB, free: 89.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05117/0.7963, allocations: 22.74 MB / 0.5654 GB, free: 78.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.7964, allocations: 256.1 kB / 0.5657 GB, free: 78.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00451/0.8009, allocations: 4.173 MB / 0.5697 GB, free: 74.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.8012, allocations: 49.7 kB / 0.5698 GB, free: 74.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.8024, allocations: 3.207 MB / 0.5729 GB, free: 71.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005936/0.803, allocations: 0.8017 MB / 0.5737 GB, free: 70.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.8042, allocations: 1.26 MB / 0.5749 GB, free: 69.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.8043, allocations: 305.1 kB / 0.5752 GB, free: 68.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/0.8069, allocations: 2.487 MB / 0.5777 GB, free: 66.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003852/0.8108, allocations: 5.982 MB / 0.5835 GB, free: 58.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/0.8186, allocations: 9.06 MB / 0.5923 GB, free: 48.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.225e-05/0.8186, allocations: 40 kB / 0.5924 GB, free: 47.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01735/0.836, allocations: 10.53 MB / 0.6027 GB, free: 37.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.8361, allocations: 59.98 kB / 0.6027 GB, free: 37.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.65e-05/0.8361, allocations: 124 kB / 0.6028 GB, free: 37.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006405/0.8426, allocations: 2.591 MB / 0.6054 GB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.8461, allocations: 1.306 MB / 0.6066 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.8653, allocations: 18.66 MB / 0.6249 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/0.8699, allocations: 363.5 kB / 0.6252 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/0.8705, allocations: 360 kB / 0.6256 GB, free: 13.57 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.002616/0.8731, allocations: 2.143 MB / 0.6276 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.8737, allocations: 389.4 kB / 0.628 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007688/0.8814, allocations: 4.995 MB / 0.6329 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.8814, allocations: 24 kB / 0.6329 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.8814, allocations: 8 kB / 0.6329 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.8814, allocations: 11.95 kB / 0.6329 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.8982, allocations: 10.7 MB / 0.6434 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8982, allocations: 0 / 0.6434 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.8995, allocations: 287.5 kB / 0.6437 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005218/0.9047, allocations: 1.842 MB / 0.6455 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.905, allocations: 39.98 kB / 0.6455 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.9205, allocations: 10.4 MB / 0.6557 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9205, allocations: 4.031 kB / 0.6557 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.9351, allocations: 8.168 MB / 0.6636 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.9365, allocations: 446.4 kB / 0.6641 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/0.9372, allocations: 32 kB / 0.6641 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.9389, allocations: 135.8 kB / 0.6642 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.9394, allocations: 117.1 kB / 0.6643 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.9395, allocations: 55.84 kB / 0.6644 GB, free: 5.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004473/0.944, allocations: 2.619 MB / 0.6669 GB, free: 2.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.944, allocations: 0 / 0.6669 GB, free: 2.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005915/0.9499, allocations: 1.164 MB / 0.6681 GB, free: 1.727 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.0006653/0.9506, allocations: 174.8 kB / 0.6683 GB, free: 1.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/0.9619, allocations: 6.256 MB / 0.6744 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.9619, allocations: 0 / 0.6744 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003511/0.9654, allocations: 1.991 MB / 0.6763 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.969, allocations: 0.56 MB / 0.6769 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/0.9889, allocations: 10.5 MB / 0.6871 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004434/0.9934, allocations: 3.393 MB / 0.6904 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004667/0.998, allocations: 1.88 MB / 0.6923 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/0.9988, allocations: 243.4 kB / 0.6925 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of SimCode: time 1.493e-06/0.9988, allocations: 0 / 0.6925 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.3159/1.315, allocations: 50.69 MB / 0.742 GB, free: 176.7 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.116984609514475]