Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.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.001125/0.001125, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001153/0.001153, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9376/0.9376, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1647/0.1647, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.864e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.1667/0.1667, allocations: 13.05 MB / 312.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009298/0.176, allocations: 4.271 MB / 316.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.1788, allocations: 81.81 kB / 316.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.182, allocations: 1.965 MB / 318.4 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005366/0.1874, allocations: 1.998 MB / 320.4 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1889, allocations: 0.6179 MB / 321.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004817/0.1937, allocations: 4.306 MB / 325.4 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.1966, allocations: 2.739 MB / 328.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.1999, allocations: 2.245 MB / 330.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.203, allocations: 2.03 MB / 332.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008298/0.2038, allocations: 292 kB / 332.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.2055, allocations: 0.9633 MB / 333.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.2069, allocations: 1.92 MB / 335.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.2089, allocations: 1.183 MB / 336.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.2146, allocations: 4.537 MB / 341.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2146, allocations: 4 kB / 341.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2146, allocations: 0 / 341.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002515/0.2148, allocations: 0 / 341.3 MB, free: 3.887 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.007303/0.2221, allocations: 4.333 MB / 345.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2222, allocations: 8.031 kB / 345.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.2261, allocations: 1.471 MB / 347.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.2288, allocations: 1.6 MB / 348.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2289, allocations: 229.9 kB / 348.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.2293, allocations: 290.1 kB / 349.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/0.2366, allocations: 4.867 MB / 354.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/0.2367, allocations: 35.69 kB / 354.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.237, allocations: 139.8 kB / 354.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002816/0.2399, allocations: 2.305 MB / 356.5 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00765/0.2475, allocations: 2.76 MB / 359.3 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.2827, allocations: 27.52 MB / 386.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.2874, allocations: 1.48 MB / 388.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/0.2881, allocations: 362.7 kB / 388.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/0.2962, allocations: 3.816 MB / 392.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.2962, allocations: 55.75 kB / 392.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=180): time 5.6e-06/0.2962, allocations: 0 / 392.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=187): time 0.01122/0.3075, allocations: 5.012 MB / 397.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3075, allocations: 72.66 kB / 397.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.3096, allocations: 2.521 MB / 400.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.3097, allocations: 49.69 kB / 400.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.3112, allocations: 3.049 MB / 403.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.3117, allocations: 0.7207 MB / 404 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/0.3125, allocations: 1.009 MB / 405 MB, free: 2.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.3126, allocations: 301.1 kB / 405.3 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3137, allocations: 0.6743 MB / 405.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.3162, allocations: 3.686 MB / 409.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.3203, allocations: 4.817 MB / 414.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.332e-05/0.3204, allocations: 36 kB / 414.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.004449/0.3248, allocations: 3.557 MB / 418 MB, free: 2.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.3249, allocations: 52 kB / 418.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/0.325, allocations: 116.1 kB / 418.2 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002596/0.3252, allocations: 183.6 kB / 418.4 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.3272, allocations: 1.17 MB / 419.5 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008993/0.3281, allocations: 1.451 MB / 421 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.3301, allocations: 212 kB / 421.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/0.3305, allocations: 280 kB / 421.5 MB, free: 14.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 659 * Array equations: 6 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.3317, allocations: 0.5526 MB / 422 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.332, allocations: 175.8 kB / 422.2 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.3331, allocations: 0.9169 MB / 423.1 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.3331, allocations: 24 kB / 423.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3332, allocations: 4 kB / 423.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3332, allocations: 11.91 kB / 423.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.3392, allocations: 4.125 MB / 427.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.3392, allocations: 8 kB / 427.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.3397, allocations: 231.6 kB / 427.5 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.3399, allocations: 48.2 kB / 427.6 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.3399, allocations: 40 kB / 427.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.341, allocations: 1.382 MB / 429 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.341, allocations: 15.94 kB / 429 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.3429, allocations: 1.479 MB / 430.5 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.3437, allocations: 382 kB / 430.8 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.3439, allocations: 39.98 kB / 430.9 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.3444, allocations: 28 kB / 430.9 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3445, allocations: 124.5 kB / 431 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.3446, allocations: 47.98 kB / 431.1 MB, free: 4.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.3456, allocations: 0.8942 MB / 432 MB, free: 3.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3456, allocations: 4 kB / 432 MB, free: 3.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003075/0.3487, allocations: 0.9491 MB / 432.9 MB, free: 2.809 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004012/0.3491, allocations: 175.9 kB / 433.1 MB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002822/0.3519, allocations: 2.232 MB / 435.3 MB, free: 416 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001166/0.3521, allocations: 63.94 kB / 435.4 MB, free: 344 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.353, allocations: 0.5385 MB / 435.9 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.3549, allocations: 0.6027 MB / 436.5 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.3653, allocations: 7.706 MB / 444.2 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.3666, allocations: 1.272 MB / 445.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001195/0.3678, allocations: 438.1 kB / 445.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/0.3684, allocations: 469.2 kB / 446.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3684, allocations: 0 / 446.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of Templates: time 0.1709/0.5393, allocations: 23.41 MB / 469.8 MB, free: 137.6 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.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.078294479753822]