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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.6 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2068/0.2068, allocations: 43.51 MB / 314.7 MB, free: 496 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 71.09 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1166, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0134/0.13, allocations: 13.92 MB / 455.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1401, allocations: 4.202 MB / 460.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004582/0.1448, allocations: 75.81 kB / 460.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006725/0.1515, allocations: 1.829 MB / 462 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009321/0.161, allocations: 1.864 MB / 463.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.1634, allocations: 0.5576 MB / 464.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009025/0.1725, allocations: 3.964 MB / 468.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005675/0.1782, allocations: 2.716 MB / 471.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.182, allocations: 1.409 MB / 472.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/0.1867, allocations: 1.982 MB / 474.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.1878, allocations: 296 kB / 474.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.191, allocations: 1.002 MB / 475.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002974/0.194, allocations: 1.808 MB / 477.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004415/0.1985, allocations: 2.166 MB / 479.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.2108, allocations: 7.072 MB / 486.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.2109, allocations: 0 / 486.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2109, allocations: 0 / 486.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001934/0.2111, allocations: 0 / 486.8 MB, free: 9.098 MB / 366.1 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.01687/0.228, allocations: 4.638 MB / 491.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.2281, allocations: 8.031 kB / 491.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.2458, allocations: 3.118 MB / 494.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007013/0.2528, allocations: 2.214 MB / 496.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.2531, allocations: 221.9 kB / 497 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.2543, allocations: 299.7 kB / 497.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.2743, allocations: 11.32 MB / 0.4967 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.2745, allocations: 27.72 kB / 0.4967 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.2749, allocations: 139.8 kB / 0.4969 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004144/0.2791, allocations: 2.71 MB / 0.4995 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.2987, allocations: 10.48 MB / 0.5098 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2916/0.5904, allocations: 37.27 MB / 0.5462 GB, free: 63.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008868/0.5993, allocations: 4.57 MB / 0.5506 GB, free: 62.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.6026, allocations: 2.4 MB / 0.553 GB, free: 62.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.6037, allocations: 1.316 MB / 0.5542 GB, free: 61.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6037, allocations: 59.23 kB / 0.5543 GB, free: 61.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=242): time 5.22e-06/0.6037, allocations: 0 / 0.5543 GB, free: 61.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=254): time 0.03609/0.6398, allocations: 17.63 MB / 0.5715 GB, free: 55.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.6399, allocations: 75.28 kB / 0.5716 GB, free: 55.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.6431, allocations: 2.793 MB / 0.5743 GB, free: 54.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.6434, allocations: 67 kB / 0.5744 GB, free: 53.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.6449, allocations: 2.849 MB / 0.5772 GB, free: 51.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007616/0.6457, allocations: 0.9162 MB / 0.5781 GB, free: 50.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/0.6469, allocations: 1.094 MB / 0.5791 GB, free: 49.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.6469, allocations: 305.1 kB / 0.5794 GB, free: 48.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.6493, allocations: 2.33 MB / 0.5817 GB, free: 46.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/0.6532, allocations: 5.309 MB / 0.5869 GB, free: 39.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006805/0.66, allocations: 8.387 MB / 0.5951 GB, free: 29.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-05/0.6601, allocations: 28 kB / 0.5951 GB, free: 29.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01176/0.6719, allocations: 8.385 MB / 0.6033 GB, free: 21.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.672, allocations: 52 kB / 0.6033 GB, free: 21.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.947e-05/0.6721, allocations: 104.2 kB / 0.6034 GB, free: 21.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.6745, allocations: 0.9527 MB / 0.6044 GB, free: 20.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/0.6784, allocations: 1.244 MB / 0.6056 GB, free: 19.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005415/0.6839, allocations: 5.145 MB / 0.6106 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.6879, allocations: 307.7 kB / 0.6109 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005793/0.6885, allocations: 315.8 kB / 0.6112 GB, free: 13.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (669): * Single equations (assignments): 662 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003053/0.6916, allocations: 2.187 MB / 0.6133 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/0.6921, allocations: 283.7 kB / 0.6136 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/0.6991, allocations: 5.129 MB / 0.6186 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.518e-05/0.6992, allocations: 47.98 kB / 0.6187 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6992, allocations: 4 kB / 0.6187 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/0.6992, allocations: 11.95 kB / 0.6187 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/0.7176, allocations: 11.95 MB / 0.6303 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.7177, allocations: 8 kB / 0.6303 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.7193, allocations: 399.3 kB / 0.6307 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.7216, allocations: 0.7819 MB / 0.6315 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.7218, allocations: 44 kB / 0.6315 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/0.7277, allocations: 4.387 MB / 0.6358 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.7277, allocations: 15.88 kB / 0.6358 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.74, allocations: 7.63 MB / 0.6433 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/0.7426, allocations: 0.681 MB / 0.644 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/0.7431, allocations: 50.95 kB / 0.644 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.7445, allocations: 143.8 kB / 0.6441 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/0.7449, allocations: 157.6 kB / 0.6443 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/0.7451, allocations: 75.5 kB / 0.6444 GB, free: 10.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.7477, allocations: 1.725 MB / 0.646 GB, free: 9.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7477, allocations: 0 / 0.646 GB, free: 9.102 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00546/0.7532, allocations: 0.9987 MB / 0.647 GB, free: 8.105 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (196): * Single equations (assignments): 189 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005092/0.7537, allocations: 193 kB / 0.6472 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008945/0.7627, allocations: 5.717 MB / 0.6528 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.7628, allocations: 448 / 0.6528 GB, free: 2.219 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.7659, allocations: 2.156 MB / 0.6549 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.7688, allocations: 391.4 kB / 0.6553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.7876, allocations: 10.28 MB / 0.6653 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003927/0.7916, allocations: 3.44 MB / 0.6687 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004379/0.796, allocations: 1.998 MB / 0.6706 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.7967, allocations: 227.3 kB / 0.6708 GB, free: 15.58 MB / 478.1 MB Notification: Performance of SimCode: time 1.903e-06/0.7967, allocations: 0 / 0.6708 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Templates: time 0.05955/0.8563, allocations: 29.88 MB / 0.7 GB, free: 1.855 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches