Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 179 kB / 8.517 MB, free: 1.852 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.193/1.193, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0008988/0.0008988, allocations: 85.73 kB / 281.2 MB, free: 5.441 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.162/0.162, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.541e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 61.92 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/0.3723, allocations: 104.4 MB / 0.596 GB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/0.3725, allocations: 75.97 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1348/0.5073, allocations: 58.61 MB / 0.6533 GB, free: 13.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.704e-05/0.5074, allocations: 63.94 kB / 0.6534 GB, free: 13.2 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005097/0.5126, allocations: 2.877 MB / 0.6562 GB, free: 10.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5126, allocations: 15.97 kB / 0.6562 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.5197, allocations: 1.552 MB / 0.6577 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004339/0.5241, allocations: 1.899 MB / 0.6596 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.5243, allocations: 108 kB / 0.6597 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/0.525, allocations: 188 kB / 0.6599 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007197/0.5322, allocations: 4.893 MB / 0.6646 GB, free: 1.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009684/0.5419, allocations: 6.718 MB / 0.6712 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/0.542, allocations: 19.81 kB / 0.6712 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003284/0.5423, allocations: 15.98 kB / 0.6712 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007805/0.5431, allocations: 0.7401 MB / 0.672 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.5707, allocations: 24.42 MB / 0.6958 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.5724, allocations: 1.476 MB / 0.6973 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.5731, allocations: 0.5541 MB / 0.6978 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.5731, allocations: 20.58 kB / 0.6978 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.5731, allocations: 39.22 kB / 0.6979 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=99): time 3.276e-06/0.5732, allocations: 0 / 0.6979 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.00382/0.577, allocations: 1.639 MB / 0.6995 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.577, allocations: 60.06 kB / 0.6995 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.5791, allocations: 1.669 MB / 0.7011 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.5791, allocations: 25.7 kB / 0.7012 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.5802, allocations: 2.037 MB / 0.7032 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5805, allocations: 383.1 kB / 0.7035 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.5806, allocations: 4 kB / 0.7035 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.5808, allocations: 0.5018 MB / 0.704 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.582, allocations: 0.9085 MB / 0.7049 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.5843, allocations: 2.975 MB / 0.7078 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.5862, allocations: 1.699 MB / 0.7095 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/0.5863, allocations: 24 kB / 0.7095 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.1812/0.7674, allocations: 3.424 MB / 0.7128 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7675, allocations: 3.688 kB / 0.7128 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/0.7675, allocations: 73.25 kB / 0.7129 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.983e-05/0.7676, allocations: 112.1 kB / 0.713 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.7696, allocations: 0.7442 MB / 0.7137 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.778e-05/0.7697, allocations: 152.4 kB / 0.7139 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.7715, allocations: 361.8 kB / 0.7142 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.7718, allocations: 208 kB / 0.7144 GB, free: 125.1 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.0003167/0.7721, allocations: 295.2 kB / 0.7147 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.7723, allocations: 166.8 kB / 0.7149 GB, free: 125 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.7739, allocations: 1.285 MB / 0.7161 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.7739, allocations: 11.16 kB / 0.7161 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7739, allocations: 1.312 kB / 0.7161 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7739, allocations: 7.312 kB / 0.7161 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/0.7797, allocations: 4.76 MB / 0.7208 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.7797, allocations: 10.28 kB / 0.7208 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.7802, allocations: 130.3 kB / 0.7209 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.7802, allocations: 15.56 kB / 0.7209 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.7803, allocations: 15.12 kB / 0.721 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.7803, allocations: 25.56 kB / 0.721 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.7803, allocations: 9.281 kB / 0.721 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001439/0.7818, allocations: 2.155 MB / 0.7231 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.782, allocations: 253.5 kB / 0.7233 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.7822, allocations: 11.78 kB / 0.7233 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.7828, allocations: 19.72 kB / 0.7234 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.039e-05/0.7829, allocations: 68.34 kB / 0.7234 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.7829, allocations: 41.91 kB / 0.7235 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001096/0.784, allocations: 1.116 MB / 0.7246 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002395/0.7864, allocations: 0.7828 MB / 0.7253 GB, free: 122.3 MB / 0.5105 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.0002554/0.7867, allocations: 146.9 kB / 0.7255 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.7889, allocations: 2.165 MB / 0.7276 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7889, allocations: 3.406 kB / 0.7276 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.7895, allocations: 0.5672 MB / 0.7281 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.7902, allocations: 210.2 kB / 0.7283 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/0.7972, allocations: 5.04 MB / 0.7333 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/0.7998, allocations: 2.828 MB / 0.736 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.7998, allocations: 0 / 0.736 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02815/0.8279, allocations: 15.82 MB / 0.7515 GB, free: 119.1 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches