Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") [: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.001626/0.001626, allocations: 174.4 kB / 8.148 MB, free: 2.223 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.633/1.633, 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.001247/0.001247, allocations: 90.81 kB / 261.8 MB, free: 13.63 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.2595/0.2595, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.665e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.4498, allocations: 101.6 MB / 0.5646 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.4501, allocations: 79.47 kB / 0.5646 GB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5507/1.001, allocations: 84.97 MB / 0.6476 GB, free: 111 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000171/1.001, allocations: 68.55 kB / 0.6477 GB, free: 111 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01255/1.014, allocations: 3.638 MB / 0.6512 GB, free: 109.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.014, allocations: 14.25 kB / 0.6512 GB, free: 109.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02629/1.04, allocations: 2.95 MB / 0.6541 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/1.058, allocations: 5.014 MB / 0.659 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/1.058, allocations: 133.1 kB / 0.6591 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/1.06, allocations: 216.5 kB / 0.6594 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02297/1.083, allocations: 7.453 MB / 0.6666 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/1.117, allocations: 9.758 MB / 0.6762 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/1.118, allocations: 31.84 kB / 0.6762 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002516/1.12, allocations: 14.47 kB / 0.6762 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/1.123, allocations: 1.272 MB / 0.6774 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0814/1.205, allocations: 34.57 MB / 0.7112 GB, free: 85.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/1.212, allocations: 2.716 MB / 0.7139 GB, free: 84.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.217, allocations: 2.249 MB / 0.7161 GB, free: 83.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02397/1.241, allocations: 9.576 MB / 0.7254 GB, free: 75.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.241, allocations: 55.81 kB / 0.7255 GB, free: 75.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 6.812e-06/1.241, allocations: 0 / 0.7255 GB, free: 75.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=239): time 0.05523/1.296, allocations: 15.43 MB / 0.7405 GB, free: 62.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.297, allocations: 73.41 kB / 0.7406 GB, free: 62.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/1.302, allocations: 2.632 MB / 0.7432 GB, free: 59.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005291/1.302, allocations: 25.7 kB / 0.7432 GB, free: 59.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.304, allocations: 2.799 MB / 0.7459 GB, free: 57.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.306, allocations: 0.8719 MB / 0.7468 GB, free: 56.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/1.306, allocations: 0 / 0.7468 GB, free: 56.53 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004267/1.307, allocations: 0.58 MB / 0.7473 GB, free: 56.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005837/1.312, allocations: 2.544 MB / 0.7498 GB, free: 53.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008335/1.321, allocations: 5.821 MB / 0.7555 GB, free: 46.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008437/1.329, allocations: 3.907 MB / 0.7593 GB, free: 42.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.522e-05/1.329, allocations: 40 kB / 0.7594 GB, free: 42.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0372/1.367, allocations: 8.959 MB / 0.7681 GB, free: 33.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/1.367, allocations: 4 kB / 0.7681 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03805/1.405, allocations: 4.422 MB / 0.7724 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02102/1.426, allocations: 1.591 MB / 0.774 GB, free: 27.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/1.436, allocations: 1.353 MB / 0.7753 GB, free: 26.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009618/1.446, allocations: 2.439 MB / 0.7777 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009716/1.456, allocations: 219.8 kB / 0.7779 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.458, allocations: 352 kB / 0.7782 GB, free: 23.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (747): * Single equations (assignments): 735 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002012/1.46, allocations: 330.3 kB / 0.7786 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.461, allocations: 288.2 kB / 0.7788 GB, free: 22.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/1.485, allocations: 5.019 MB / 0.7837 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02098/1.506, allocations: 4.491 MB / 0.7881 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/1.506, allocations: 4 kB / 0.7881 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/1.506, allocations: 7.969 kB / 0.7881 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0861/1.592, allocations: 11.86 MB / 0.7997 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.592, allocations: 4 kB / 0.7997 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/1.596, allocations: 343.5 kB / 0.8 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008409/1.605, allocations: 1.014 MB / 0.801 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.605, allocations: 31.88 kB / 0.8011 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008632/1.614, allocations: 4.219 MB / 0.8052 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001426/1.615, allocations: 1.384 MB / 0.8065 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02416/1.639, allocations: 7.936 MB / 0.8143 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.641, allocations: 349.3 kB / 0.8146 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000993/1.642, allocations: 8 kB / 0.8146 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.645, allocations: 103.8 kB / 0.8147 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/1.645, allocations: 109.8 kB / 0.8148 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003489/1.646, allocations: 63.98 kB / 0.8149 GB, free: 0.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006439/1.652, allocations: 1.737 MB / 0.8166 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01252/1.665, allocations: 0.9804 MB / 0.8175 GB, free: 14.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 172 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.001395/1.666, allocations: 150.9 kB / 0.8177 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0198/1.686, allocations: 6.591 MB / 0.8241 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.686, allocations: 0 / 0.8241 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009116/1.695, allocations: 2.749 MB / 0.8268 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.698, allocations: 231.9 kB / 0.827 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/1.888, allocations: 9.385 MB / 0.8362 GB, free: 181.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009039/1.897, allocations: 3.689 MB / 0.8398 GB, free: 180.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.784e-06/1.897, allocations: 3.969 kB / 0.8398 GB, free: 180.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.1802/2.078, allocations: 126.7 MB / 0.9635 GB, free: 97.68 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches