Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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 3.2.3+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 190 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.062/1.062, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007764, allocations: 87.39 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.154/0.154, allocations: 43.5 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.88e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.3409, allocations: 101.6 MB / 0.5646 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001623/0.3411, allocations: 75.95 kB / 0.5646 GB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3451/0.6862, allocations: 84.96 MB / 0.6476 GB, free: 111.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.561e-05/0.6863, allocations: 70.47 kB / 0.6477 GB, free: 111.1 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.005316/0.6916, allocations: 3.648 MB / 0.6512 GB, free: 109.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.6917, allocations: 6.375 kB / 0.6512 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.7038, allocations: 2.955 MB / 0.6541 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.7143, allocations: 5.007 MB / 0.659 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.7145, allocations: 129.4 kB / 0.6591 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.7158, allocations: 217.8 kB / 0.6594 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00876/0.7246, allocations: 7.454 MB / 0.6666 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.7367, allocations: 9.761 MB / 0.6762 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001479/0.7369, allocations: 31.53 kB / 0.6762 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.7374, allocations: 14.19 kB / 0.6762 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/0.7384, allocations: 1.273 MB / 0.6775 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/0.7773, allocations: 34.57 MB / 0.7112 GB, free: 85.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.7805, allocations: 2.721 MB / 0.7139 GB, free: 84.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.7828, allocations: 2.253 MB / 0.7161 GB, free: 84.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.7936, allocations: 9.576 MB / 0.7254 GB, free: 75.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.7936, allocations: 47.88 kB / 0.7255 GB, free: 75.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 3.486e-06/0.7936, allocations: 0 / 0.7255 GB, free: 75.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=239): time 0.02655/0.8202, allocations: 15.43 MB / 0.7405 GB, free: 62.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.8202, allocations: 69.41 kB / 0.7406 GB, free: 62.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/0.8235, allocations: 2.631 MB / 0.7432 GB, free: 59.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.8238, allocations: 25.7 kB / 0.7432 GB, free: 59.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.825, allocations: 2.796 MB / 0.7459 GB, free: 57.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/0.8256, allocations: 0.8717 MB / 0.7468 GB, free: 56.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.8259, allocations: 0 / 0.7468 GB, free: 56.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002673/0.8261, allocations: 0.567 MB / 0.7473 GB, free: 55.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.8289, allocations: 2.552 MB / 0.7498 GB, free: 53.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/0.8324, allocations: 5.82 MB / 0.7555 GB, free: 46.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/0.8359, allocations: 3.915 MB / 0.7593 GB, free: 42.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.782e-05/0.836, allocations: 32 kB / 0.7594 GB, free: 42.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0158/0.8518, allocations: 9.009 MB / 0.7682 GB, free: 33.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.8518, allocations: 4.938 kB / 0.7682 GB, free: 33.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01029/0.8621, allocations: 4.42 MB / 0.7725 GB, free: 28.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009043/0.8712, allocations: 1.622 MB / 0.7741 GB, free: 27.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.8752, allocations: 1.353 MB / 0.7754 GB, free: 25.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.88, allocations: 4.562 MB / 0.7798 GB, free: 21.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/0.8839, allocations: 227.8 kB / 0.7801 GB, free: 20.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/0.8843, allocations: 352 kB / 0.7804 GB, free: 20.61 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): 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.0005654/0.8849, allocations: 405.6 kB / 0.7808 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.8852, allocations: 280.3 kB / 0.7811 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007484/0.8927, allocations: 5.024 MB / 0.786 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00655/0.8993, allocations: 4.491 MB / 0.7903 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8993, allocations: 4 kB / 0.7903 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.8993, allocations: 7.969 kB / 0.7904 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.9157, allocations: 11.85 MB / 0.8019 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/0.9157, allocations: 4 kB / 0.8019 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.9174, allocations: 351.4 kB / 0.8023 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/0.9212, allocations: 1.022 MB / 0.8033 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.9214, allocations: 19.97 kB / 0.8033 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.9258, allocations: 4.235 MB / 0.8074 GB, free: 8.535 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008581/0.9267, allocations: 1.372 MB / 0.8088 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01115/0.9379, allocations: 7.936 MB / 0.8165 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.9385, allocations: 349.3 kB / 0.8168 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/0.939, allocations: 12 kB / 0.8169 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.9403, allocations: 99.66 kB / 0.817 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.9406, allocations: 105.8 kB / 0.8171 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.9407, allocations: 59.98 kB / 0.8171 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002225/0.943, allocations: 1.739 MB / 0.8188 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00357/0.9465, allocations: 0.9805 MB / 0.8198 GB, free: 11.58 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.0003609/0.9469, allocations: 163.5 kB / 0.8199 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009047/0.956, allocations: 6.509 MB / 0.8263 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.956, allocations: 0 / 0.8263 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/0.96, allocations: 2.73 MB / 0.8289 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.9611, allocations: 244 kB / 0.8292 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1322/1.093, allocations: 8.908 MB / 0.8379 GB, free: 182.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.097, allocations: 3.673 MB / 0.8415 GB, free: 181.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/1.097, allocations: 3.5 kB / 0.8415 GB, free: 181.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.05683/1.154, allocations: 39.83 MB / 0.8804 GB, free: 178.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches