Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") [: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.001634/0.001634, allocations: 171.6 kB / 8.147 MB, free: 2.211 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.672/1.672, 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.001284/0.001284, allocations: 102.5 kB / 261.8 MB, free: 13.61 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.2588/0.2588, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.874e-06/8.005e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.284, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.4885, allocations: 103.8 MB / 0.5667 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.4889, allocations: 71.97 kB / 0.5668 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5965/1.085, allocations: 92.7 MB / 0.6573 GB, free: 109.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002356/1.086, allocations: 90.98 kB / 0.6574 GB, free: 109.7 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.0223/1.108, allocations: 4.395 MB / 0.6617 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.108, allocations: 14.06 kB / 0.6617 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/1.134, allocations: 2.883 MB / 0.6645 GB, free: 107.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.153, allocations: 4.856 MB / 0.6692 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/1.154, allocations: 151 kB / 0.6694 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002858/1.156, allocations: 281.7 kB / 0.6697 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02396/1.18, allocations: 8.242 MB / 0.6777 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/1.213, allocations: 10.76 MB / 0.6882 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002538/1.213, allocations: 32.66 kB / 0.6883 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002281/1.216, allocations: 13.47 kB / 0.6883 GB, free: 102.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002631/1.218, allocations: 1.318 MB / 0.6896 GB, free: 102.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08059/1.299, allocations: 36.3 MB / 0.725 GB, free: 78.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006899/1.306, allocations: 2.47 MB / 0.7274 GB, free: 76.03 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006314/1.312, allocations: 2.206 MB / 0.7296 GB, free: 74.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03346/1.346, allocations: 9.509 MB / 0.7389 GB, free: 65.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/1.346, allocations: 47.88 kB / 0.7389 GB, free: 65.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 8.105e-06/1.346, allocations: 0 / 0.7389 GB, free: 65.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.05132/1.397, allocations: 10.79 MB / 0.7494 GB, free: 54.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.397, allocations: 73.34 kB / 0.7495 GB, free: 54.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/1.403, allocations: 2.782 MB / 0.7522 GB, free: 52.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005401/1.404, allocations: 25.7 kB / 0.7522 GB, free: 52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.406, allocations: 3.166 MB / 0.7553 GB, free: 48.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.407, allocations: 0.8673 MB / 0.7562 GB, free: 47.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/1.408, allocations: 0 / 0.7562 GB, free: 47.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004649/1.408, allocations: 0.5796 MB / 0.7567 GB, free: 47.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005651/1.414, allocations: 2.375 MB / 0.7591 GB, free: 44.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007941/1.422, allocations: 5.889 MB / 0.7648 GB, free: 37.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008333/1.43, allocations: 3.817 MB / 0.7685 GB, free: 33.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-05/1.43, allocations: 39.94 kB / 0.7686 GB, free: 33.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.02977/1.46, allocations: 8.197 MB / 0.7766 GB, free: 25.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.46, allocations: 4.219 kB / 0.7766 GB, free: 25.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.46, allocations: 128 kB / 0.7767 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006966/1.467, allocations: 0.9181 MB / 0.7776 GB, free: 24.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009359/1.477, allocations: 1.427 MB / 0.779 GB, free: 22.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001889/1.477, allocations: 255 kB / 0.7792 GB, free: 22.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/1.482, allocations: 171.8 kB / 0.7794 GB, free: 22.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.484, allocations: 383.2 kB / 0.7798 GB, free: 21.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (789): * Single equations (assignments): 780 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001274/1.485, allocations: 342.9 kB / 0.7801 GB, free: 21.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/1.486, allocations: 304.1 kB / 0.7804 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.502, allocations: 4.511 MB / 0.7848 GB, free: 16.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001622/1.502, allocations: 43.89 kB / 0.7848 GB, free: 16.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.502, allocations: 0 / 0.7848 GB, free: 16.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.958e-05/1.502, allocations: 7.969 kB / 0.7849 GB, free: 16.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03143/1.533, allocations: 8.995 MB / 0.7936 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-05/1.533, allocations: 3.938 kB / 0.7936 GB, free: 7.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003783/1.537, allocations: 343.5 kB / 0.794 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00672/1.544, allocations: 0.7632 MB / 0.7947 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006193/1.545, allocations: 23.97 kB / 0.7947 GB, free: 6.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/1.548, allocations: 2.133 MB / 0.7968 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.548, allocations: 3.938 kB / 0.7968 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02021/1.569, allocations: 6.855 MB / 0.8035 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.57, allocations: 349 kB / 0.8038 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.571, allocations: 8 kB / 0.8039 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.574, allocations: 67.66 kB / 0.8039 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005396/1.575, allocations: 97.83 kB / 0.804 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002935/1.575, allocations: 67.56 kB / 0.8041 GB, free: 12.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005155/1.58, allocations: 1.835 MB / 0.8059 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007093/1.587, allocations: 0.9062 MB / 0.8068 GB, free: 10.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 177 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008403/1.588, allocations: 148.6 kB / 0.8069 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01776/1.606, allocations: 6.093 MB / 0.8128 GB, free: 3.789 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.606, allocations: 0 / 0.8128 GB, free: 3.789 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008125/1.614, allocations: 2.376 MB / 0.8152 GB, free: 1.359 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/1.617, allocations: 324.4 kB / 0.8155 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/1.65, allocations: 9.766 MB / 0.825 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/1.662, allocations: 4.058 MB / 0.829 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/1.662, allocations: 0 / 0.829 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of Templates: time 0.3661/2.028, allocations: 119.8 MB / 0.946 GB, free: 111.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches