Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009531/0.0009532, allocations: 183.8 kB / 8.52 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009163, allocations: 85.86 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1839/0.1839, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.656e-06, allocations: 4 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4724, allocations: 106.1 MB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.4728, allocations: 75.95 kB / 0.5978 GB, free: 6.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2231/0.6959, allocations: 88.22 MB / 0.6839 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001505/0.6961, allocations: 76 kB / 0.684 GB, free: 13.62 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01177/0.7079, allocations: 3.844 MB / 0.6878 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.708, allocations: 19.91 kB / 0.6878 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/0.7227, allocations: 2.821 MB / 0.6905 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.735, allocations: 4.311 MB / 0.6948 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.7352, allocations: 132 kB / 0.6949 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/0.7378, allocations: 251.9 kB / 0.6951 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2346/0.9724, allocations: 7.746 MB / 0.7027 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.9902, allocations: 10.05 MB / 0.7125 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.9904, allocations: 29.44 kB / 0.7125 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006406/0.9911, allocations: 14.38 kB / 0.7125 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/0.9923, allocations: 1.289 MB / 0.7138 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04855/1.041, allocations: 34.97 MB / 0.7479 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/1.045, allocations: 3.105 MB / 0.751 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/1.048, allocations: 2.469 MB / 0.7534 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/1.061, allocations: 9.676 MB / 0.7628 GB, free: 153 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.061, allocations: 54.47 kB / 0.7629 GB, free: 153 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=211): time 5.21e-06/1.061, allocations: 0 / 0.7629 GB, free: 153 MB / 0.4948 GB Notification: Performance of matching and sorting (n=232): time 0.0288/1.09, allocations: 15.53 MB / 0.7781 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/1.09, allocations: 69.41 kB / 0.7781 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.094, allocations: 2.512 MB / 0.7806 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003098/1.094, allocations: 25.7 kB / 0.7806 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.095, allocations: 2.834 MB / 0.7834 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/1.096, allocations: 0.8331 MB / 0.7842 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/1.096, allocations: 8.25 kB / 0.7842 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000248/1.096, allocations: 0.5545 MB / 0.7847 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/1.1, allocations: 2.366 MB / 0.787 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/1.105, allocations: 5.479 MB / 0.7924 GB, free: 129 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006478/1.112, allocations: 3.672 MB / 0.796 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.941e-05/1.112, allocations: 32 kB / 0.796 GB, free: 126 MB / 0.4948 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.02048/1.132, allocations: 7.984 MB / 0.8038 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.132, allocations: 4 kB / 0.8038 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.133, allocations: 115.9 kB / 0.8039 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003865/1.136, allocations: 0.8941 MB / 0.8048 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006926/1.143, allocations: 1.283 MB / 0.806 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/1.152, allocations: 4.488 MB / 0.8104 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/1.159, allocations: 165.5 kB / 0.8106 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.16, allocations: 339.2 kB / 0.8109 GB, free: 112.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (705): * Single equations (assignments): 698 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002489/1.163, allocations: 385.6 kB / 0.8113 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.164, allocations: 272.4 kB / 0.8115 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/1.176, allocations: 4.734 MB / 0.8162 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.483e-05/1.176, allocations: 35.8 kB / 0.8162 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.176, allocations: 7.938 kB / 0.8162 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.176, allocations: 11.31 kB / 0.8162 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02311/1.199, allocations: 9.287 MB / 0.8253 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.199, allocations: 0 / 0.8253 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/1.202, allocations: 327 kB / 0.8256 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.206, allocations: 0.6986 MB / 0.8263 GB, free: 99.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004141/1.206, allocations: 13.39 kB / 0.8263 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006827/1.213, allocations: 3.803 MB / 0.83 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.213, allocations: 7.562 kB / 0.83 GB, free: 96.38 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01388/1.227, allocations: 7.441 MB / 0.8373 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.228, allocations: 325.4 kB / 0.8376 GB, free: 88.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007222/1.229, allocations: 4 kB / 0.8376 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.231, allocations: 67.89 kB / 0.8377 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/1.231, allocations: 101.8 kB / 0.8378 GB, free: 88.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.231, allocations: 56 kB / 0.8378 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003265/1.235, allocations: 1.655 MB / 0.8394 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006834/1.241, allocations: 0.8813 MB / 0.8403 GB, free: 85.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006272/1.242, allocations: 155.5 kB / 0.8404 GB, free: 85.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009973/1.252, allocations: 5.559 MB / 0.8459 GB, free: 80.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.252, allocations: 4.062 kB / 0.8459 GB, free: 80.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.256, allocations: 2.025 MB / 0.8478 GB, free: 77.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.258, allocations: 232.8 kB / 0.8481 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.278, allocations: 8.196 MB / 0.8561 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007114/1.286, allocations: 3.724 MB / 0.8597 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/1.286, allocations: 0 / 0.8597 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.07693/1.363, allocations: 36.13 MB / 0.895 GB, free: 30.55 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches