Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [: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.000898/0.0008982, allocations: 184.6 kB / 7.808 MB, free: 2.492 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.034/1.034, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008239/0.0008238, allocations: 101.1 kB / 261.4 MB, free: 13.55 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.1536/0.1536, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.422e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3361, allocations: 104.4 MB / 0.5673 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3364, allocations: 75.95 kB / 0.5674 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1425/0.4789, allocations: 64.13 MB / 0.63 GB, free: 9.789 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.584e-05/0.479, allocations: 67.84 kB / 0.6301 GB, free: 9.727 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.004738/0.4838, allocations: 3.141 MB / 0.6332 GB, free: 6.527 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.4838, allocations: 8.031 kB / 0.6332 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/0.4909, allocations: 1.614 MB / 0.6348 GB, free: 4.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.4945, allocations: 2.052 MB / 0.6368 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.667e-05/0.4946, allocations: 120 kB / 0.6369 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/0.4951, allocations: 208 kB / 0.6371 GB, free: 2.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1179/0.613, allocations: 5.482 MB / 0.6424 GB, free: 168.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/0.6209, allocations: 7.496 MB / 0.6497 GB, free: 167.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.78e-05/0.621, allocations: 22.84 kB / 0.6498 GB, free: 167.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003581/0.6214, allocations: 11.16 kB / 0.6498 GB, free: 167.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007224/0.6221, allocations: 0.8531 MB / 0.6506 GB, free: 167.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/0.6462, allocations: 26.72 MB / 0.6767 GB, free: 154.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.6484, allocations: 1.73 MB / 0.6784 GB, free: 153.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.6496, allocations: 0.7216 MB / 0.6791 GB, free: 153.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.6497, allocations: 26.41 kB / 0.6791 GB, free: 153.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.6498, allocations: 50.56 kB / 0.6792 GB, free: 153.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 4.388e-06/0.6498, allocations: 3.156 kB / 0.6792 GB, free: 153.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.006862/0.6566, allocations: 1.945 MB / 0.6811 GB, free: 153.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6567, allocations: 66.52 kB / 0.6811 GB, free: 153 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/0.6607, allocations: 1.798 MB / 0.6829 GB, free: 152.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002105/0.6609, allocations: 25.7 kB / 0.6829 GB, free: 152.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.6623, allocations: 2.266 MB / 0.6851 GB, free: 150.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/0.6628, allocations: 486.7 kB / 0.6856 GB, free: 150.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.663, allocations: 7.031 kB / 0.6856 GB, free: 150.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002882/0.6633, allocations: 0.5199 MB / 0.6861 GB, free: 150.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.6655, allocations: 1.087 MB / 0.6872 GB, free: 149.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.6686, allocations: 3.388 MB / 0.6905 GB, free: 146.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.6721, allocations: 1.967 MB / 0.6924 GB, free: 145.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/0.6721, allocations: 23.62 kB / 0.6924 GB, free: 145.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.0088/0.681, allocations: 3.992 MB / 0.6963 GB, free: 144.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.681, allocations: 9.312 kB / 0.6963 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.6812, allocations: 83.06 kB / 0.6964 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.6813, allocations: 120.6 kB / 0.6965 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/0.6867, allocations: 0.8737 MB / 0.6974 GB, free: 144.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001523/0.6868, allocations: 161.8 kB / 0.6975 GB, free: 144.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.6912, allocations: 424.8 kB / 0.6979 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/0.6918, allocations: 236.6 kB / 0.6982 GB, free: 144 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (484): * Single equations (assignments): 481 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006248/0.6924, allocations: 327.7 kB / 0.6985 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.6928, allocations: 191.3 kB / 0.6987 GB, free: 143.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.6958, allocations: 1.664 MB / 0.7003 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.6959, allocations: 10.91 kB / 0.7003 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6959, allocations: 0 / 0.7003 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6959, allocations: 3.609 kB / 0.7003 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00936/0.7052, allocations: 7.953 MB / 0.7081 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.7053, allocations: 16 kB / 0.7081 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/0.7061, allocations: 208.7 kB / 0.7083 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/0.7061, allocations: 24 kB / 0.7083 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/0.7062, allocations: 39.7 kB / 0.7083 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.7062, allocations: 37.59 kB / 0.7084 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.7062, allocations: 19.94 kB / 0.7084 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001945/0.7082, allocations: 3.366 MB / 0.7117 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.7085, allocations: 281.5 kB / 0.712 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.7087, allocations: 27.66 kB / 0.712 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.7095, allocations: 26.89 kB / 0.712 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7096, allocations: 112.4 kB / 0.7121 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.7097, allocations: 59.47 kB / 0.7122 GB, free: 134.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001189/0.7109, allocations: 1.201 MB / 0.7133 GB, free: 133.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002808/0.7137, allocations: 0.8795 MB / 0.7142 GB, free: 132.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.7139, allocations: 168.5 kB / 0.7144 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.7166, allocations: 2.599 MB / 0.7169 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.7166, allocations: 1.625 kB / 0.7169 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.7172, allocations: 0.7621 MB / 0.7176 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.7181, allocations: 210.4 kB / 0.7178 GB, free: 129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.726, allocations: 5.948 MB / 0.7237 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002627/0.7286, allocations: 3.104 MB / 0.7267 GB, free: 120.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7286, allocations: 0 / 0.7267 GB, free: 120.9 MB / 474.7 MB Notification: Performance of Templates: time 0.0318/0.7604, allocations: 18.7 MB / 0.7449 GB, free: 106.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches