Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 175.8 kB / 8.148 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 95.08 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2556/0.2556, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/7.965e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 58.85 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4408, allocations: 104.6 MB / 0.5675 GB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4411, allocations: 67.97 kB / 0.5676 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6391/1.08, allocations: 88.73 MB / 0.6542 GB, free: 109.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001881/1.08, allocations: 79.3 kB / 0.6543 GB, free: 109.2 MB / 474.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.01394/1.094, allocations: 3.926 MB / 0.6581 GB, free: 107.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.094, allocations: 7.219 kB / 0.6581 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02518/1.12, allocations: 2.85 MB / 0.6609 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/1.136, allocations: 4.492 MB / 0.6653 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/1.136, allocations: 138.8 kB / 0.6654 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.139, allocations: 249.6 kB / 0.6657 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/1.158, allocations: 7.866 MB / 0.6734 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/1.186, allocations: 10.22 MB / 0.6833 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/1.186, allocations: 30.06 kB / 0.6834 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001803/1.188, allocations: 16.81 kB / 0.6834 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003084/1.191, allocations: 1.324 MB / 0.6847 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08328/1.275, allocations: 35.69 MB / 0.7195 GB, free: 81.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006654/1.281, allocations: 3.11 MB / 0.7226 GB, free: 78.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005225/1.287, allocations: 2.469 MB / 0.725 GB, free: 76.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02531/1.312, allocations: 9.716 MB / 0.7345 GB, free: 67.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/1.312, allocations: 56.58 kB / 0.7345 GB, free: 67.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 6.582e-06/1.312, allocations: 0 / 0.7345 GB, free: 67.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=232): time 0.05462/1.367, allocations: 15.61 MB / 0.7498 GB, free: 54.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.367, allocations: 69.41 kB / 0.7498 GB, free: 53.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006152/1.373, allocations: 2.567 MB / 0.7523 GB, free: 51.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005988/1.374, allocations: 25.7 kB / 0.7524 GB, free: 51.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002108/1.376, allocations: 2.93 MB / 0.7552 GB, free: 48.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.377, allocations: 0.8324 MB / 0.756 GB, free: 47.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/1.378, allocations: 0 / 0.756 GB, free: 47.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005551/1.379, allocations: 0.5668 MB / 0.7566 GB, free: 46.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/1.385, allocations: 2.39 MB / 0.7589 GB, free: 44.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00799/1.393, allocations: 5.586 MB / 0.7644 GB, free: 37.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/1.401, allocations: 3.708 MB / 0.768 GB, free: 33.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.401, allocations: 32 kB / 0.768 GB, free: 33.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.02361/1.425, allocations: 8.032 MB / 0.7759 GB, free: 25.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.425, allocations: 8 kB / 0.7759 GB, free: 25.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.425, allocations: 115.9 kB / 0.776 GB, free: 25.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004822/1.43, allocations: 0.8907 MB / 0.7769 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00899/1.439, allocations: 1.314 MB / 0.7781 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/1.45, allocations: 4.765 MB / 0.7828 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.455, allocations: 163.9 kB / 0.783 GB, free: 18.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009836/1.456, allocations: 340 kB / 0.7833 GB, free: 17.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 713 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001047/1.457, allocations: 328 kB / 0.7836 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006437/1.458, allocations: 276.3 kB / 0.7839 GB, free: 17.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.472, allocations: 4.745 MB / 0.7885 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/1.473, allocations: 39.98 kB / 0.7885 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/1.473, allocations: 7.812 kB / 0.7885 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/1.473, allocations: 11.88 kB / 0.7885 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02749/1.5, allocations: 9.333 MB / 0.7977 GB, free: 3.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.5, allocations: 4 kB / 0.7977 GB, free: 3.066 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.504, allocations: 331.9 kB / 0.798 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004593/1.508, allocations: 0.6952 MB / 0.7987 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/1.509, allocations: 8 kB / 0.7987 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009109/1.518, allocations: 3.809 MB / 0.8024 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.518, allocations: 4 kB / 0.8024 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02114/1.539, allocations: 7.446 MB / 0.8097 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002852/1.542, allocations: 0.6692 MB / 0.8103 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.543, allocations: 7.984 kB / 0.8103 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.546, allocations: 63.91 kB / 0.8104 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/1.546, allocations: 101.7 kB / 0.8105 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.547, allocations: 59.98 kB / 0.8105 GB, free: 5.562 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.004451/1.551, allocations: 1.692 MB / 0.8122 GB, free: 3.867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006651/1.558, allocations: 0.8945 MB / 0.8131 GB, free: 2.973 MB / 490.7 MB 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.0006059/1.558, allocations: 146.9 kB / 0.8132 GB, free: 2.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.572, allocations: 5.587 MB / 0.8187 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.572, allocations: 0 / 0.8187 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004973/1.577, allocations: 2.037 MB / 0.8206 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.579, allocations: 221 kB / 0.8209 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/1.61, allocations: 8.842 MB / 0.8295 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1784/1.788, allocations: 3.809 MB / 0.8332 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/1.788, allocations: 0 / 0.8332 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1298/1.918, allocations: 74.44 MB / 0.9059 GB, free: 154.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches