Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.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.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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001714, allocations: 174.8 kB / 8.518 MB, free: 1.832 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.262/1.262, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.0008949/0.0008947, allocations: 76.75 kB / 281.2 MB, free: 5.504 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.168/0.168, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.785e-06, allocations: 4.219 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 61.91 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3293/0.4639, allocations: 102.7 MB / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4642, allocations: 71.97 kB / 0.5945 GB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2133/0.6775, allocations: 83.88 MB / 0.6764 GB, free: 5.445 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001236/0.6777, allocations: 71.94 kB / 0.6765 GB, free: 5.375 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.008327/0.686, allocations: 3.56 MB / 0.6799 GB, free: 1.754 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6861, allocations: 11.97 kB / 0.68 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.7004, allocations: 2.931 MB / 0.6828 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/0.714, allocations: 4.795 MB / 0.6875 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001988/0.7142, allocations: 120 kB / 0.6876 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.7159, allocations: 219.9 kB / 0.6878 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01205/0.7279, allocations: 7.247 MB / 0.6949 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1883/0.9163, allocations: 9.493 MB / 0.7042 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.9164, allocations: 30.97 kB / 0.7042 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004898/0.9169, allocations: 13.38 kB / 0.7042 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.9181, allocations: 1.236 MB / 0.7054 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04275/0.9609, allocations: 33.82 MB / 0.7384 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.9642, allocations: 2.683 MB / 0.7411 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/0.9664, allocations: 2.216 MB / 0.7432 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.9781, allocations: 9.437 MB / 0.7524 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.9781, allocations: 54.34 kB / 0.7525 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=205): time 4.198e-06/0.9781, allocations: 0 / 0.7525 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.02835/1.006, allocations: 15.17 MB / 0.7673 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/1.007, allocations: 70.28 kB / 0.7674 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005795/1.012, allocations: 2.567 MB / 0.7699 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.013, allocations: 25.7 kB / 0.7699 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.015, allocations: 2.718 MB / 0.7726 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/1.016, allocations: 0.8443 MB / 0.7734 GB, free: 150 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.016, allocations: 0 / 0.7734 GB, free: 150 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002872/1.016, allocations: 0.5611 MB / 0.7739 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.019, allocations: 2.492 MB / 0.7764 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/1.023, allocations: 5.66 MB / 0.7819 GB, free: 141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.027, allocations: 3.822 MB / 0.7856 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/1.027, allocations: 32 kB / 0.7857 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01786/1.045, allocations: 8.829 MB / 0.7943 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.045, allocations: 4 kB / 0.7943 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01171/1.057, allocations: 4.338 MB / 0.7985 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009783/1.067, allocations: 1.608 MB / 0.8001 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.072, allocations: 1.301 MB / 0.8014 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/1.077, allocations: 4.568 MB / 0.8058 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004924/1.082, allocations: 220 kB / 0.806 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008896/1.083, allocations: 339.3 kB / 0.8064 GB, free: 120 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (722): * Single equations (assignments): 710 * Array equations: 8 * 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 prepare postOptimizeDAE: time 0.0007875/1.084, allocations: 395 kB / 0.8067 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/1.084, allocations: 277.5 kB / 0.807 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/1.085, allocations: 442.7 kB / 0.8074 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007274/1.092, allocations: 4.405 MB / 0.8117 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.092, allocations: 4.844 kB / 0.8117 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.092, allocations: 8.156 kB / 0.8117 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.112, allocations: 11.59 MB / 0.8231 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.112, allocations: 8.031 kB / 0.8231 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.114, allocations: 327.5 kB / 0.8234 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/1.118, allocations: 1.014 MB / 0.8244 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002432/1.118, allocations: 23.97 kB / 0.8244 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003715/1.122, allocations: 4.226 MB / 0.8285 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006716/1.122, allocations: 1.372 MB / 0.8299 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01052/1.133, allocations: 7.79 MB / 0.8375 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.134, allocations: 341.4 kB / 0.8378 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/1.134, allocations: 11.98 kB / 0.8378 GB, free: 88.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.136, allocations: 91.86 kB / 0.8379 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/1.136, allocations: 97.84 kB / 0.838 GB, free: 88.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.136, allocations: 63.92 kB / 0.838 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002321/1.139, allocations: 1.699 MB / 0.8397 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004766/1.143, allocations: 0.9615 MB / 0.8406 GB, free: 86 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 (172): * Single equations (assignments): 162 * 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.0004589/1.144, allocations: 162.3 kB / 0.8408 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008788/1.153, allocations: 6.366 MB / 0.847 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.153, allocations: 0 / 0.847 GB, free: 79.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00392/1.157, allocations: 2.687 MB / 0.8496 GB, free: 76.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.158, allocations: 244.2 kB / 0.8499 GB, free: 76.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.174, allocations: 8.677 MB / 0.8583 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004025/1.178, allocations: 3.567 MB / 0.8618 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of SimCode: time 1.954e-06/1.178, allocations: 0 / 0.8618 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.0628/1.24, allocations: 38.96 MB / 0.8999 GB, free: 26.04 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches