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.001094/0.001094, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001006/0.001006, allocations: 173 kB / 24.06 MB, free: 456 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.9913/0.9913, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1415/0.1415, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.883e-06/1.883e-06, allocations: 0 / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.621e-05, allocations: 8.219 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01104/0.01107, allocations: 13.07 MB / 361.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009715/0.02078, allocations: 4.105 MB / 365.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002635/0.02342, allocations: 79.69 kB / 365.4 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.02635, allocations: 1.931 MB / 367.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.03045, allocations: 2.007 MB / 369.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.03167, allocations: 0.6041 MB / 369.9 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004834/0.0365, allocations: 4.304 MB / 374.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003611/0.04012, allocations: 2.665 MB / 376.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.04388, allocations: 2.249 MB / 379.1 MB, free: 10 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.04684, allocations: 2.135 MB / 381.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000766/0.04761, allocations: 292 kB / 381.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.04926, allocations: 0.9673 MB / 382.5 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.05073, allocations: 1.916 MB / 384.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.05243, allocations: 1.18 MB / 385.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005132/0.05757, allocations: 4.552 MB / 390.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.05757, allocations: 0 / 390.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.05757, allocations: 0 / 390.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000149/0.05772, allocations: 0 / 390.2 MB, free: 14.93 MB / 330.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.006883/0.0646, allocations: 4.965 MB / 395.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.06466, allocations: 12.03 kB / 395.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.06946, allocations: 1.937 MB / 397.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.07242, allocations: 1.783 MB / 398.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.07256, allocations: 225.9 kB / 399.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005387/0.0731, allocations: 296.1 kB / 399.4 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00855/0.08165, allocations: 5.222 MB / 404.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.284e-05/0.08174, allocations: 23.77 kB / 404.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.08204, allocations: 139.8 kB / 404.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.08427, allocations: 2.313 MB / 407.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.09212, allocations: 2.719 MB / 409.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04178/0.1339, allocations: 36.18 MB / 446 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.1379, allocations: 1.453 MB / 447.4 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008018/0.1387, allocations: 449.4 kB / 447.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.184/0.3227, allocations: 4.032 MB / 451.9 MB, free: 97.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3228, allocations: 56.14 kB / 452 MB, free: 97.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.809e-06/0.3228, allocations: 0 / 452 MB, free: 97.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01222/0.335, allocations: 5.551 MB / 457.5 MB, free: 96.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.335, allocations: 68.58 kB / 457.6 MB, free: 96.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.3376, allocations: 2.822 MB / 460.4 MB, free: 96.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.3376, allocations: 47.27 kB / 460.4 MB, free: 96.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.3389, allocations: 3.312 MB / 463.8 MB, free: 94.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.3394, allocations: 0.7618 MB / 464.5 MB, free: 94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.3404, allocations: 1.186 MB / 465.7 MB, free: 93.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.3404, allocations: 476.8 kB / 466.2 MB, free: 93.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.3412, allocations: 0.5268 MB / 466.7 MB, free: 93.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.3433, allocations: 5.2 MB / 471.9 MB, free: 87.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.3469, allocations: 6.273 MB / 478.2 MB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.468e-05/0.347, allocations: 35.25 kB / 478.2 MB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.004826/0.3518, allocations: 4.216 MB / 482.4 MB, free: 78.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.3518, allocations: 54.25 kB / 482.5 MB, free: 78.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-05/0.3519, allocations: 112 kB / 482.6 MB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.3522, allocations: 190.4 kB / 482.8 MB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.354, allocations: 1.173 MB / 483.9 MB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3551, allocations: 1.987 MB / 485.9 MB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.3575, allocations: 208 kB / 486.1 MB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.3577, allocations: 286 kB / 486.4 MB, free: 74.8 MB / 378.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.001463/0.3592, allocations: 0.5833 MB / 487 MB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/0.3596, allocations: 325.9 kB / 487.3 MB, free: 73.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.3609, allocations: 1.099 MB / 488.4 MB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.3609, allocations: 26.34 kB / 488.4 MB, free: 72.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3609, allocations: 4 kB / 488.4 MB, free: 72.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3609, allocations: 3.75 kB / 488.4 MB, free: 72.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/0.3672, allocations: 5.037 MB / 493.5 MB, free: 68.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/0.3672, allocations: 12 kB / 493.5 MB, free: 68.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.3678, allocations: 223.7 kB / 493.7 MB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001416/0.3679, allocations: 51.64 kB / 493.8 MB, free: 68.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.368, allocations: 40.42 kB / 493.8 MB, free: 68.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006991/0.3687, allocations: 1.796 MB / 495.6 MB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3687, allocations: 11.94 kB / 495.6 MB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3704, allocations: 1.843 MB / 497.4 MB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006152/0.371, allocations: 394 kB / 497.8 MB, free: 63.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.3712, allocations: 36 kB / 497.9 MB, free: 63.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.3717, allocations: 28 kB / 497.9 MB, free: 63.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3718, allocations: 120.6 kB / 498 MB, free: 63.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.3719, allocations: 55.98 kB / 498.1 MB, free: 63.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008734/0.3727, allocations: 1.114 MB / 499.2 MB, free: 62.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 499.2 MB, free: 62.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00317/0.3759, allocations: 0.9608 MB / 0.4884 GB, free: 61.51 MB / 378.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.0003546/0.3763, allocations: 186.8 kB / 0.4886 GB, free: 61.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.3792, allocations: 2.476 MB / 0.491 GB, free: 58.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.3792, allocations: 0 / 0.491 GB, free: 58.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.3798, allocations: 0.666 MB / 0.4917 GB, free: 58.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.381, allocations: 299.2 kB / 0.492 GB, free: 57.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.3919, allocations: 7.909 MB / 0.4997 GB, free: 49.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.3931, allocations: 1.288 MB / 0.5009 GB, free: 48.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001353/0.3945, allocations: 442.4 kB / 0.5014 GB, free: 48.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.395, allocations: 498.1 kB / 0.5018 GB, free: 47.54 MB / 378.7 MB Notification: Performance of SimCode: time 4.318e-06/0.395, allocations: 4 kB / 0.5018 GB, free: 47.53 MB / 378.7 MB Notification: Performance of Templates: time 0.03965/0.4347, allocations: 23.5 MB / 0.5248 GB, free: 24.16 MB / 378.7 MB " [Timeout remaining time 660] 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.073785013053566]