Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,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.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,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.Parts.BodyShape") [: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.001369/0.001369, allocations: 183.1 kB / 8.52 MB, free: 1.859 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.206/1.206, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0009215/0.0009214, allocations: 91.11 kB / 281.2 MB, free: 5.523 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.1726/0.1726, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4423, allocations: 107.7 MB / 0.5993 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4426, allocations: 79.95 kB / 0.5994 GB, free: 4.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2008/0.6434, allocations: 80.05 MB / 0.6775 GB, free: 4.391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001602/0.6436, allocations: 79.98 kB / 0.6776 GB, free: 4.312 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.009509/0.6531, allocations: 3.873 MB / 0.6814 GB, free: 384 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6532, allocations: 11.97 kB / 0.6814 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.6633, allocations: 1.94 MB / 0.6833 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.6759, allocations: 5.094 MB / 0.6883 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.6761, allocations: 132 kB / 0.6884 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.6774, allocations: 248 kB / 0.6887 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/0.6876, allocations: 6.127 MB / 0.6946 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1491/0.8368, allocations: 9.382 MB / 0.7038 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.837, allocations: 59.53 kB / 0.7039 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.8375, allocations: 30.19 kB / 0.7039 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/0.8386, allocations: 1.047 MB / 0.7049 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/0.8782, allocations: 48.14 MB / 0.7519 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.8809, allocations: 2.499 MB / 0.7544 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.8824, allocations: 1.622 MB / 0.7559 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007103/0.8896, allocations: 5.795 MB / 0.7616 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.8896, allocations: 52.53 kB / 0.7617 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=144): time 3.527e-06/0.8896, allocations: 0 / 0.7617 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=161): time 0.02187/0.9115, allocations: 12.05 MB / 0.7734 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.9116, allocations: 147.1 kB / 0.7736 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.9161, allocations: 3.068 MB / 0.7766 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.9164, allocations: 29.78 kB / 0.7766 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.9178, allocations: 2.941 MB / 0.7795 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/0.9185, allocations: 0.6326 MB / 0.7801 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.9187, allocations: 0 / 0.7801 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003267/0.919, allocations: 0.5666 MB / 0.7806 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.9216, allocations: 1.925 MB / 0.7825 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/0.9267, allocations: 5.769 MB / 0.7881 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.9307, allocations: 3.328 MB / 0.7914 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.854e-05/0.9308, allocations: 41.44 kB / 0.7914 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.0175/0.9483, allocations: 7.497 MB / 0.7988 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9483, allocations: 6.094 kB / 0.7988 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004745/0.9531, allocations: 2.463 MB / 0.8012 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/0.9564, allocations: 1.07 MB / 0.8022 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.961, allocations: 1.393 MB / 0.8036 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.9653, allocations: 4.438 MB / 0.8079 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/0.9703, allocations: 220.8 kB / 0.8081 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/0.9717, allocations: 390.5 kB / 0.8085 GB, free: 109.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 758 * Array equations: 5 * 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.001743/0.9735, allocations: 453.3 kB / 0.8089 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008513/0.9743, allocations: 315.9 kB / 0.8092 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/0.9802, allocations: 2.792 MB / 0.8119 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004277/0.9845, allocations: 2.376 MB / 0.8143 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.9846, allocations: 4 kB / 0.8143 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.9846, allocations: 11.22 kB / 0.8143 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.002, allocations: 8.481 MB / 0.8226 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.002, allocations: 6.531 kB / 0.8226 GB, free: 97.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.004, allocations: 241.9 kB / 0.8228 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/1.006, allocations: 0.9389 MB / 0.8237 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/1.007, allocations: 23.69 kB / 0.8237 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/1.011, allocations: 4.609 MB / 0.8282 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006603/1.012, allocations: 1.362 MB / 0.8296 GB, free: 90.89 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008179/1.02, allocations: 5.609 MB / 0.835 GB, free: 85.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.021, allocations: 368.2 kB / 0.8354 GB, free: 85.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/1.022, allocations: 15.52 kB / 0.8354 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.024, allocations: 64.98 kB / 0.8355 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.024, allocations: 88.03 kB / 0.8356 GB, free: 85.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.024, allocations: 47.19 kB / 0.8356 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004282/1.029, allocations: 2.04 MB / 0.8376 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006758/1.036, allocations: 0.9009 MB / 0.8385 GB, free: 82.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (127): * Single equations (assignments): 120 * Array equations: 3 * 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 {(3,100.0%),(4,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.0008176/1.036, allocations: 156.9 kB / 0.8386 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00989/1.046, allocations: 5.17 MB / 0.8437 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.046, allocations: 4 kB / 0.8437 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.05, allocations: 1.962 MB / 0.8456 GB, free: 76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.052, allocations: 356.2 kB / 0.8459 GB, free: 75.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.07, allocations: 7.761 MB / 0.8535 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005815/1.076, allocations: 3.53 MB / 0.857 GB, free: 64.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/1.076, allocations: 0 / 0.857 GB, free: 64.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.0679/1.144, allocations: 34.34 MB / 0.8905 GB, free: 31.41 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches