Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") [: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.001671/0.001671, allocations: 172.8 kB / 8.146 MB, free: 2.195 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 1.715/1.715, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001245/0.001244, allocations: 88.64 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.2592/0.2592, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.198e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2798, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.5134, allocations: 105.4 MB / 0.5683 GB, free: 9.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5137, allocations: 79.45 kB / 0.5684 GB, free: 9.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6739/1.188, allocations: 114.1 MB / 0.6798 GB, free: 110 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000256/1.188, allocations: 90.94 kB / 0.6799 GB, free: 110 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01694/1.205, allocations: 4.421 MB / 0.6842 GB, free: 107.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.205, allocations: 11.03 kB / 0.6842 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02716/1.232, allocations: 2.944 MB / 0.6871 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/1.253, allocations: 4.868 MB / 0.6919 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004449/1.253, allocations: 165.1 kB / 0.692 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003454/1.257, allocations: 290.7 kB / 0.6923 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02619/1.283, allocations: 8.661 MB / 0.7008 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/1.318, allocations: 11.41 MB / 0.7119 GB, free: 95.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/1.318, allocations: 40.97 kB / 0.7119 GB, free: 95.03 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002672/1.321, allocations: 16 kB / 0.712 GB, free: 95.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003188/1.324, allocations: 1.471 MB / 0.7134 GB, free: 93.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08525/1.409, allocations: 40.26 MB / 0.7527 GB, free: 53.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006612/1.416, allocations: 3.073 MB / 0.7557 GB, free: 49.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005131/1.421, allocations: 2.503 MB / 0.7582 GB, free: 47.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02449/1.445, allocations: 10.07 MB / 0.768 GB, free: 36.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.446, allocations: 52.56 kB / 0.768 GB, free: 36.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 5.24e-06/1.446, allocations: 0 / 0.768 GB, free: 36.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=245): time 0.05652/1.502, allocations: 16.56 MB / 0.7842 GB, free: 20.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.502, allocations: 73.41 kB / 0.7843 GB, free: 20.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/1.509, allocations: 2.916 MB / 0.7871 GB, free: 17.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005484/1.51, allocations: 25.7 kB / 0.7872 GB, free: 17.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/1.512, allocations: 3.325 MB / 0.7904 GB, free: 13.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.513, allocations: 0.8942 MB / 0.7913 GB, free: 12.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000831/1.514, allocations: 4 kB / 0.7913 GB, free: 12.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006011/1.515, allocations: 0.5957 MB / 0.7919 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006213/1.521, allocations: 2.547 MB / 0.7943 GB, free: 9.719 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00847/1.53, allocations: 6.196 MB / 0.8004 GB, free: 1.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/1.539, allocations: 4.028 MB / 0.8043 GB, free: 13.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.54, allocations: 36 kB / 0.8044 GB, free: 13.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.02962/1.569, allocations: 8.735 MB / 0.8129 GB, free: 4.883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.569, allocations: 8.281 kB / 0.8129 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/1.57, allocations: 132 kB / 0.813 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/1.576, allocations: 0.9931 MB / 0.814 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/1.586, allocations: 1.478 MB / 0.8154 GB, free: 2.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/1.6, allocations: 5.074 MB / 0.8204 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.606, allocations: 176.1 kB / 0.8206 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/1.608, allocations: 384 kB / 0.8209 GB, free: 12.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (808): * Single equations (assignments): 801 * 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,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001782/1.61, allocations: 367.7 kB / 0.8213 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008914/1.61, allocations: 311.9 kB / 0.8216 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.628, allocations: 4.943 MB / 0.8264 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/1.628, allocations: 39.98 kB / 0.8264 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/1.628, allocations: 4 kB / 0.8265 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/1.628, allocations: 7.969 kB / 0.8265 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2005/1.829, allocations: 10.18 MB / 0.8364 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-05/1.829, allocations: 7.719 kB / 0.8364 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/1.833, allocations: 347.6 kB / 0.8367 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00546/1.838, allocations: 0.7951 MB / 0.8375 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.839, allocations: 10.08 kB / 0.8375 GB, free: 179.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009649/1.848, allocations: 4.161 MB / 0.8416 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.848, allocations: 11.53 kB / 0.8416 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01952/1.868, allocations: 7.951 MB / 0.8494 GB, free: 177.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/1.871, allocations: 0.7145 MB / 0.8501 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.872, allocations: 10.34 kB / 0.8501 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/1.875, allocations: 68.75 kB / 0.8501 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/1.876, allocations: 108.6 kB / 0.8502 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/1.876, allocations: 60 kB / 0.8503 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004769/1.881, allocations: 1.926 MB / 0.8522 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007275/1.888, allocations: 0.9844 MB / 0.8531 GB, free: 177.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 181 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008782/1.889, allocations: 162.3 kB / 0.8533 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.902, allocations: 5.971 MB / 0.8591 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.902, allocations: 3.75 kB / 0.8591 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.908, allocations: 2.125 MB / 0.8612 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.91, allocations: 255.7 kB / 0.8614 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.94, allocations: 10 MB / 0.8712 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01138/1.952, allocations: 4.221 MB / 0.8753 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.704e-06/1.952, allocations: 3.906 kB / 0.8753 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1462/2.098, allocations: 83.8 MB / 0.9572 GB, free: 110 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches