Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009515/0.0009515, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009192/0.0009192, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8507/0.8507, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.203e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0131/0.01312, allocations: 11.96 MB / 263.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.02209, allocations: 4.363 MB / 267.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.02379, allocations: 103.4 kB / 267.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00389/0.02768, allocations: 3.122 MB / 270.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.03202, allocations: 2.158 MB / 272.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.0337, allocations: 1.165 MB / 274 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006075/0.03978, allocations: 6 MB / 280 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.04325, allocations: 3.789 MB / 283.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003082/0.04633, allocations: 2.76 MB / 286.5 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003009/0.04934, allocations: 2.751 MB / 289.3 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006497/0.04999, allocations: 396 kB / 289.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.05152, allocations: 1.221 MB / 290.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.05302, allocations: 2.361 MB / 293.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.05449, allocations: 1.484 MB / 294.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005162/0.05965, allocations: 5.271 MB / 300 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.05966, allocations: 0 / 300 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.05966, allocations: 0 / 300 MB, free: 6.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.05979, allocations: 4 kB / 300 MB, free: 6.676 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.007857/0.06764, allocations: 5.885 MB / 305.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.06769, allocations: 11.98 kB / 305.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.08113, allocations: 3.764 MB / 309.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/0.08618, allocations: 3.288 MB / 313 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.08634, allocations: 252.6 kB / 313.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/0.08692, allocations: 331.8 kB / 313.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007806/0.09473, allocations: 6.163 MB / 319.7 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.514e-05/0.09482, allocations: 55.58 kB / 319.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.09511, allocations: 155.8 kB / 319.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002052/0.09716, allocations: 2.033 MB / 321.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.1041, allocations: 3.312 MB / 325.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/0.2638, allocations: 42.27 MB / 367.5 MB, free: 67.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/0.2677, allocations: 1.817 MB / 369.3 MB, free: 67.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/0.2687, allocations: 0.6765 MB / 370 MB, free: 67.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/0.269, allocations: 197.9 kB / 370.2 MB, free: 67.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.269, allocations: 57.2 kB / 370.3 MB, free: 67.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=175): time 5.01e-06/0.269, allocations: 0 / 370.3 MB, free: 67.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.03057/0.2996, allocations: 16.21 MB / 386.5 MB, free: 58.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.2996, allocations: 252.6 kB / 386.7 MB, free: 58.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3027, allocations: 3.688 MB / 390.4 MB, free: 54.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.3029, allocations: 57.7 kB / 390.5 MB, free: 54.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.304, allocations: 3.493 MB / 394 MB, free: 51.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000513/0.3045, allocations: 0.8584 MB / 394.8 MB, free: 50.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3055, allocations: 1.364 MB / 396.2 MB, free: 49.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.3056, allocations: 488.5 kB / 396.7 MB, free: 48.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.3068, allocations: 0.8243 MB / 397.5 MB, free: 47.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.3092, allocations: 6.202 MB / 403.7 MB, free: 39.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/0.314, allocations: 7.651 MB / 411.3 MB, free: 29.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.608e-05/0.3141, allocations: 36 kB / 411.4 MB, free: 29.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01005/0.3242, allocations: 6.892 MB / 418.3 MB, free: 22.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.3242, allocations: 60 kB / 418.3 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.758e-05/0.3243, allocations: 124 kB / 418.5 MB, free: 22.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/0.3284, allocations: 1.872 MB / 420.3 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.3306, allocations: 1.349 MB / 421.7 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/0.3395, allocations: 10.29 MB / 432 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.3426, allocations: 443.3 kB / 432.4 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.343, allocations: 372 kB / 432.8 MB, free: 7.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.3442, allocations: 0.6484 MB / 433.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.3448, allocations: 429.5 kB / 433.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.3489, allocations: 2.712 MB / 436.5 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.3489, allocations: 24 kB / 436.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3489, allocations: 8 kB / 436.6 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.3489, allocations: 15.95 kB / 436.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009847/0.3587, allocations: 7.083 MB / 443.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.3588, allocations: 0 / 443.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.3596, allocations: 307.5 kB / 444 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.3626, allocations: 1.22 MB / 445.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.3628, allocations: 39.94 kB / 445.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.3683, allocations: 4.203 MB / 449.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3683, allocations: 1.172 kB / 449.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/0.3748, allocations: 3.883 MB / 453.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.3767, allocations: 0.677 MB / 454 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/0.3771, allocations: 32 kB / 454 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.3786, allocations: 215.6 kB / 454.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/0.379, allocations: 121.1 kB / 454.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.3791, allocations: 52 kB / 454.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002607/0.3818, allocations: 1.646 MB / 456.1 MB, free: 224 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3818, allocations: 3.938 kB / 456.1 MB, free: 220 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.004837/0.3866, allocations: 1.359 MB / 457.4 MB, free: 14.86 MB / 362.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005016/0.3871, allocations: 190.6 kB / 457.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007124/0.3942, allocations: 4.132 MB / 461.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3942, allocations: 0 / 461.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.3962, allocations: 1.176 MB / 462.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.3989, allocations: 0.5255 MB / 463.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.4132, allocations: 8.709 MB / 472.1 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.4147, allocations: 1.378 MB / 473.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003435/0.4182, allocations: 1.609 MB / 475.1 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/0.4189, allocations: 248.4 kB / 475.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.4189, allocations: 0 / 475.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of Templates: time 0.1649/0.5838, allocations: 49.44 MB / 0.5125 GB, free: 139.8 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3179498529061675]