Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.1 kB / 8.518 MB, free: 1.855 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.188/1.188, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0009709/0.0009709, allocations: 90.55 kB / 281.2 MB, free: 5.457 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.1568/0.1568, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.111e-06/6.151e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09546, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2736/0.3691, allocations: 104.8 MB / 0.5964 GB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.3693, allocations: 75.95 kB / 0.5965 GB, free: 7.902 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2264/0.5958, allocations: 91.53 MB / 0.6859 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002155/0.596, allocations: 95.94 kB / 0.686 GB, free: 11.58 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01647/0.6125, allocations: 4.302 MB / 0.6902 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6126, allocations: 11.97 kB / 0.6902 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.6277, allocations: 2.864 MB / 0.693 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1633/0.791, allocations: 4.666 MB / 0.6975 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.7913, allocations: 147.6 kB / 0.6977 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.7933, allocations: 265.1 kB / 0.6979 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01111/0.8044, allocations: 8.017 MB / 0.7058 GB, free: 174.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/0.8242, allocations: 10.48 MB / 0.716 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.8244, allocations: 22.12 kB / 0.716 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007898/0.8252, allocations: 17.19 kB / 0.716 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.8264, allocations: 1.278 MB / 0.7173 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04709/0.8735, allocations: 35.49 MB / 0.7519 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.8767, allocations: 2.416 MB / 0.7543 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.879, allocations: 2.173 MB / 0.7564 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.8913, allocations: 9.364 MB / 0.7656 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.8913, allocations: 54 kB / 0.7656 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=204): time 5.23e-06/0.8914, allocations: 0 / 0.7656 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=222): time 0.02359/0.915, allocations: 8.723 MB / 0.7741 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.915, allocations: 71.91 kB / 0.7742 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/0.9191, allocations: 2.719 MB / 0.7769 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.9195, allocations: 25.7 kB / 0.7769 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.9208, allocations: 3.075 MB / 0.7799 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008684/0.9217, allocations: 0.823 MB / 0.7807 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.922, allocations: 4 kB / 0.7807 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.9223, allocations: 0.5709 MB / 0.7813 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.9247, allocations: 2.295 MB / 0.7835 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/0.9282, allocations: 5.702 MB / 0.7891 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.9326, allocations: 3.692 MB / 0.7927 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.153e-05/0.9327, allocations: 32 kB / 0.7927 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01281/0.9455, allocations: 7.994 MB / 0.8005 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.9456, allocations: 4 kB / 0.8005 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.9457, allocations: 123.3 kB / 0.8006 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/0.9492, allocations: 0.9381 MB / 0.8016 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004733/0.9539, allocations: 1.377 MB / 0.8029 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.9561, allocations: 2.363 MB / 0.8052 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.9604, allocations: 167 kB / 0.8054 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/0.9609, allocations: 363.8 kB / 0.8057 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 29 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,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 (762): * Single equations (assignments): 753 * 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 prepare postOptimizeDAE: time 0.0006467/0.9615, allocations: 417 kB / 0.8061 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.9618, allocations: 288.2 kB / 0.8064 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00719/0.969, allocations: 4.342 MB / 0.8106 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/0.9691, allocations: 31.47 kB / 0.8107 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9691, allocations: 7.938 kB / 0.8107 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.9692, allocations: 10.59 kB / 0.8107 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/0.9833, allocations: 8.658 MB / 0.8191 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.9833, allocations: 0 / 0.8191 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.9848, allocations: 316.6 kB / 0.8194 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.988, allocations: 0.7732 MB / 0.8202 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.9882, allocations: 15.8 kB / 0.8202 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.99, allocations: 2.133 MB / 0.8223 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.99, allocations: 0 / 0.8223 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008971/0.999, allocations: 6.619 MB / 0.8287 GB, free: 95.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/0.9999, allocations: 336.5 kB / 0.8291 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/1, allocations: 12.61 kB / 0.8291 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.001, allocations: 55.67 kB / 0.8291 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/1.002, allocations: 96.81 kB / 0.8292 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.002, allocations: 56.73 kB / 0.8293 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002385/1.004, allocations: 1.785 MB / 0.831 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003973/1.008, allocations: 0.8884 MB / 0.8319 GB, free: 92.83 MB / 0.4948 GB 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 (174): * Single equations (assignments): 165 * 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.000377/1.009, allocations: 150.4 kB / 0.832 GB, free: 92.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008384/1.017, allocations: 5.816 MB / 0.8377 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.017, allocations: 0 / 0.8377 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/1.02, allocations: 2.278 MB / 0.8399 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.023, allocations: 345.9 kB / 0.8403 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.038, allocations: 8.908 MB / 0.849 GB, free: 75.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004452/1.042, allocations: 3.924 MB / 0.8528 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of SimCode: time 9.41e-07/1.043, allocations: 0 / 0.8528 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.06071/1.103, allocations: 36.68 MB / 0.8886 GB, free: 36.23 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches