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.0008792/0.0008792, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001183/0.001183, allocations: 165 kB / 23.8 MB, free: 0.7773 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.9083/0.9083, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1187/0.1187, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.653e-06/1.653e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.278e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.008809/0.008832, allocations: 13.43 MB / 361.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006823/0.01566, allocations: 4.14 MB / 365.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.01679, allocations: 79.69 kB / 365.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.01905, allocations: 1.954 MB / 367.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.02168, allocations: 2.003 MB / 369.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.02257, allocations: 0.608 MB / 369.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.02618, allocations: 4.303 MB / 374.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/0.02895, allocations: 2.672 MB / 376.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.03111, allocations: 2.245 MB / 379.1 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.03352, allocations: 2.139 MB / 381.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000629/0.03415, allocations: 292 kB / 381.5 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.03544, allocations: 0.9673 MB / 382.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.03645, allocations: 1.916 MB / 384.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.03724, allocations: 1.183 MB / 385.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.04086, allocations: 4.545 MB / 390.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.04087, allocations: 0 / 390.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04087, allocations: 0 / 390.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.576e-05/0.04091, allocations: 4 kB / 390.2 MB, free: 14.77 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.004988/0.0459, allocations: 5.114 MB / 395.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.04594, allocations: 8.031 kB / 395.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/0.05192, allocations: 3.73 MB / 399 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.05403, allocations: 1.994 MB / 401 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.05414, allocations: 222 kB / 401.2 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.05447, allocations: 292.1 kB / 401.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.06069, allocations: 5.793 MB / 407.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.06075, allocations: 31.7 kB / 407.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.061, allocations: 139.8 kB / 407.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.06345, allocations: 2.636 MB / 410.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005868/0.06931, allocations: 3.434 MB / 413.5 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.09667, allocations: 37.08 MB / 450.6 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1618/0.2585, allocations: 1.594 MB / 452.2 MB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/0.2595, allocations: 0.5335 MB / 452.7 MB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007573/0.267, allocations: 4.329 MB / 457.1 MB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2671, allocations: 56.64 kB / 457.1 MB, free: 81.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 3.537e-06/0.2671, allocations: 3.469 kB / 457.1 MB, free: 81.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01238/0.2795, allocations: 6.538 MB / 463.7 MB, free: 80.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2795, allocations: 66.19 kB / 463.7 MB, free: 80.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.2817, allocations: 2.826 MB / 466.6 MB, free: 80.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.2818, allocations: 52.8 kB / 466.6 MB, free: 80.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.2829, allocations: 3.292 MB / 469.9 MB, free: 78.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.2832, allocations: 0.764 MB / 470.7 MB, free: 77.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/0.284, allocations: 1.162 MB / 471.8 MB, free: 77.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.2841, allocations: 480.7 kB / 472.3 MB, free: 77.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/0.2849, allocations: 0.586 MB / 472.9 MB, free: 77.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.2869, allocations: 5.245 MB / 478.1 MB, free: 71.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.2904, allocations: 6.443 MB / 484.6 MB, free: 64.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.358e-05/0.2904, allocations: 30.38 kB / 484.6 MB, free: 64.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.004607/0.295, allocations: 4.553 MB / 489.2 MB, free: 61.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.2951, allocations: 52 kB / 489.2 MB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.206e-05/0.2952, allocations: 109.9 kB / 489.3 MB, free: 61.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.2954, allocations: 194.9 kB / 489.5 MB, free: 61.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.2972, allocations: 1.24 MB / 490.7 MB, free: 60.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/0.298, allocations: 2.022 MB / 492.8 MB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.2997, allocations: 327 kB / 493.1 MB, free: 58.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.3, allocations: 329.5 kB / 493.4 MB, free: 57.88 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.0009893/0.3009, allocations: 0.5927 MB / 494 MB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.3012, allocations: 314.2 kB / 494.3 MB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3026, allocations: 1.211 MB / 495.5 MB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/0.3026, allocations: 23.94 kB / 495.5 MB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3026, allocations: 4 kB / 495.5 MB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.3026, allocations: 7.5 kB / 495.5 MB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.3081, allocations: 5.205 MB / 0.489 GB, free: 51.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.3081, allocations: 8.938 kB / 0.489 GB, free: 51.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.3087, allocations: 294.8 kB / 0.4893 GB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.3088, allocations: 58.55 kB / 0.4894 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.3088, allocations: 40 kB / 0.4894 GB, free: 50.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005635/0.3094, allocations: 1.821 MB / 0.4912 GB, free: 48.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3094, allocations: 15.94 kB / 0.4912 GB, free: 48.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3111, allocations: 1.999 MB / 0.4931 GB, free: 46.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.3116, allocations: 450.8 kB / 0.4936 GB, free: 46.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3117, allocations: 45.47 kB / 0.4936 GB, free: 46.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.3123, allocations: 131.5 kB / 0.4937 GB, free: 46.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3124, allocations: 125.5 kB / 0.4939 GB, free: 46.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.3125, allocations: 63.75 kB / 0.4939 GB, free: 46.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009675/0.3134, allocations: 1.19 MB / 0.4951 GB, free: 45.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3134, allocations: 0 / 0.4951 GB, free: 45.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002518/0.3159, allocations: 0.9557 MB / 0.496 GB, free: 44.32 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.0003204/0.3163, allocations: 201.1 kB / 0.4962 GB, free: 44.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.3187, allocations: 2.633 MB / 0.4988 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3187, allocations: 0 / 0.4988 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.3192, allocations: 0.7285 MB / 0.4995 GB, free: 40.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.3201, allocations: 295.1 kB / 0.4998 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0068/0.3269, allocations: 7.938 MB / 0.5075 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007799/0.3277, allocations: 1.291 MB / 0.5088 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.3294, allocations: 1.555 MB / 0.5103 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.3297, allocations: 218.7 kB / 0.5105 GB, free: 29.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3297, allocations: 0 / 0.5105 GB, free: 29.39 MB / 378.7 MB Notification: Performance of Templates: time 0.03056/0.3603, allocations: 21.85 MB / 0.5319 GB, free: 7.773 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.0169841749593616]