Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001041/0.001041, allocations: 204 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 225.5 MB / 234.4 MB, free: 3.496 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008992/0.0008995, allocations: 97.69 kB / 286.3 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1825/0.1825, allocations: 45.14 MB / 383.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.725e-06, allocations: 4 kB / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4455, allocations: 105.4 MB / 0.6067 GB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4458, allocations: 68.78 kB / 0.6068 GB, free: 13.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1422/0.588, allocations: 60.01 MB / 0.6654 GB, free: 10.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001275/0.5882, allocations: 67.94 kB / 0.6655 GB, free: 10.14 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006657/0.5949, allocations: 2.885 MB / 0.6683 GB, free: 7.199 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5949, allocations: 8.031 kB / 0.6683 GB, free: 7.191 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007325/0.6022, allocations: 1.556 MB / 0.6698 GB, free: 5.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004822/0.6071, allocations: 1.887 MB / 0.6717 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.6073, allocations: 108 kB / 0.6718 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.6086, allocations: 196 kB / 0.672 GB, free: 3.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008928/0.6175, allocations: 4.893 MB / 0.6767 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.6309, allocations: 6.721 MB / 0.6833 GB, free: 7.398 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.6311, allocations: 15.88 kB / 0.6833 GB, free: 7.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008594/0.6319, allocations: 11.91 kB / 0.6833 GB, free: 7.371 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008931/0.6328, allocations: 0.744 MB / 0.6841 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/0.6666, allocations: 24.42 MB / 0.7079 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.6684, allocations: 1.481 MB / 0.7093 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.669, allocations: 0.5462 MB / 0.7099 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.6691, allocations: 12.64 kB / 0.7099 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6691, allocations: 47.2 kB / 0.7099 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 3.246e-06/0.6692, allocations: 0 / 0.7099 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.003877/0.673, allocations: 1.639 MB / 0.7115 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.6731, allocations: 60.06 kB / 0.7116 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.6752, allocations: 1.673 MB / 0.7132 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.6753, allocations: 25.7 kB / 0.7133 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.6764, allocations: 2.037 MB / 0.7152 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.6767, allocations: 379.2 kB / 0.7156 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.6768, allocations: 3.938 kB / 0.7156 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.6771, allocations: 0.494 MB / 0.7161 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6783, allocations: 0.9202 MB / 0.717 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.6805, allocations: 2.971 MB / 0.7199 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.6825, allocations: 1.704 MB / 0.7216 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.6826, allocations: 20 kB / 0.7216 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.004917/0.6875, allocations: 3.426 MB / 0.7249 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6875, allocations: 8.25 kB / 0.7249 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.515e-05/0.6876, allocations: 76 kB / 0.725 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.753e-05/0.6877, allocations: 112 kB / 0.7251 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.6898, allocations: 0.7408 MB / 0.7258 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.535e-05/0.6899, allocations: 143.4 kB / 0.726 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.6918, allocations: 367.4 kB / 0.7263 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/0.6921, allocations: 212 kB / 0.7265 GB, free: 9.152 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (413): * Single equations (assignments): 410 * 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.0003378/0.6924, allocations: 299.1 kB / 0.7268 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6926, allocations: 169.8 kB / 0.727 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.6944, allocations: 1.276 MB / 0.7282 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.6945, allocations: 8 kB / 0.7282 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6945, allocations: 4 kB / 0.7282 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6945, allocations: 3.984 kB / 0.7282 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/0.7018, allocations: 4.774 MB / 0.7329 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.7018, allocations: 12 kB / 0.7329 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.7024, allocations: 131.7 kB / 0.733 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.594e-05/0.7024, allocations: 16 kB / 0.733 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.7025, allocations: 12 kB / 0.7331 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/0.7025, allocations: 23.83 kB / 0.7331 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.7025, allocations: 15.94 kB / 0.7331 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001999/0.7045, allocations: 2.154 MB / 0.7352 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.7049, allocations: 254.6 kB / 0.7354 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.7051, allocations: 12 kB / 0.7355 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.7057, allocations: 15.98 kB / 0.7355 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.7058, allocations: 67.78 kB / 0.7355 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/0.7059, allocations: 39.98 kB / 0.7356 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001543/0.7074, allocations: 1.118 MB / 0.7367 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002948/0.7104, allocations: 0.773 MB / 0.7374 GB, free: 13.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * 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.0003407/0.7107, allocations: 146.9 kB / 0.7376 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003256/0.714, allocations: 2.167 MB / 0.7397 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.714, allocations: 8.25 kB / 0.7397 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/0.7147, allocations: 0.5662 MB / 0.7402 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.7158, allocations: 214 kB / 0.7404 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.7262, allocations: 5.026 MB / 0.7453 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003229/0.7295, allocations: 2.837 MB / 0.7481 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.7295, allocations: 0 / 0.7481 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of Templates: time 0.2505/0.9801, allocations: 15.8 MB / 0.7635 GB, free: 126.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches