Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [: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.001135/0.001135, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008348/0.0008348, allocations: 95.28 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1771/0.1771, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09756, allocations: 63.25 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4361, allocations: 107.4 MB / 0.6087 GB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4363, allocations: 80.52 kB / 0.6088 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6487/1.085, allocations: 176.5 MB / 0.7811 GB, free: 98.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003701/1.085, allocations: 179.6 kB / 0.7813 GB, free: 98.16 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02236/1.108, allocations: 8.31 MB / 0.7894 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.108, allocations: 10.81 kB / 0.7894 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/1.125, allocations: 3.146 MB / 0.7925 GB, free: 94.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/1.144, allocations: 8.62 MB / 0.8009 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/1.144, allocations: 300.4 kB / 0.8012 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003713/1.148, allocations: 0.5386 MB / 0.8017 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02063/1.169, allocations: 12.79 MB / 0.8142 GB, free: 93.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.206, allocations: 18.32 MB / 0.8321 GB, free: 89.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003737/1.207, allocations: 90.5 kB / 0.8322 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/1.209, allocations: 45.31 kB / 0.8322 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/1.211, allocations: 1.983 MB / 0.8342 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09867/1.31, allocations: 85.96 MB / 0.9181 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/1.313, allocations: 2.824 MB / 0.9209 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/1.315, allocations: 1.503 MB / 0.9223 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.327, allocations: 7.62 MB / 0.9298 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.327, allocations: 55.5 kB / 0.9298 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=164): time 4.659e-06/1.327, allocations: 0 / 0.9298 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=164): time 0.01442/1.341, allocations: 4.801 MB / 0.9345 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/1.341, allocations: 141.5 kB / 0.9347 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007651/1.349, allocations: 5.35 MB / 0.9399 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/1.349, allocations: 26.64 kB / 0.9399 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004042/1.353, allocations: 5.661 MB / 0.9454 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008386/1.354, allocations: 0.6854 MB / 0.9461 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.355, allocations: 0 / 0.9461 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004955/1.355, allocations: 0.6749 MB / 0.9468 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.358, allocations: 2.174 MB / 0.9489 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1946/1.553, allocations: 8.06 MB / 0.9568 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/1.558, allocations: 4.149 MB / 0.9608 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.559, allocations: 61.56 kB / 0.9609 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01551/1.574, allocations: 8.761 MB / 0.9694 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.574, allocations: 5.594 kB / 0.9694 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002506/1.574, allocations: 216.2 kB / 0.9696 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.575, allocations: 314.5 kB / 0.9699 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007517/1.582, allocations: 2.14 MB / 0.972 GB, free: 150.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002426/1.582, allocations: 412.8 kB / 0.9724 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009129/1.592, allocations: 1.149 MB / 0.9735 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/1.593, allocations: 0.5554 MB / 0.9741 GB, free: 150.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 88 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1129): * Single equations (assignments): 1126 * 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.001415/1.595, allocations: 0.631 MB / 0.9747 GB, free: 150.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.596, allocations: 0.5265 MB / 0.9752 GB, free: 150.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.597, allocations: 0.6274 MB / 0.9758 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/1.597, allocations: 16.78 kB / 0.9758 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.597, allocations: 3.094 kB / 0.9758 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/1.597, allocations: 9.328 kB / 0.9758 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02858/1.626, allocations: 19.95 MB / 0.9953 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/1.626, allocations: 23.75 kB / 0.9954 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.627, allocations: 275.9 kB / 0.9956 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-05/1.627, allocations: 33.38 kB / 0.9957 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/1.627, allocations: 54.31 kB / 0.9957 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.727e-05/1.627, allocations: 45.03 kB / 0.9957 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.463e-05/1.628, allocations: 39.28 kB / 0.9958 GB, free: 148.5 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005015/1.633, allocations: 7.69 MB / 1.003 GB, free: 142.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.634, allocations: 0.5876 MB / 1.004 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007448/1.635, allocations: 40.95 kB / 1.004 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.637, allocations: 144.3 kB / 1.004 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.637, allocations: 162.4 kB / 1.004 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.637, allocations: 74.38 kB / 1.004 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.006289/1.644, allocations: 3.585 MB / 1.008 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01007/1.654, allocations: 2.064 MB / 1.01 GB, free: 141.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 137 * 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.000711/1.654, allocations: 180.5 kB / 1.01 GB, free: 141 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00782/1.662, allocations: 5.099 MB / 1.015 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.51e-05/1.662, allocations: 6.812 kB / 1.015 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.664, allocations: 1.035 MB / 1.016 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/1.667, allocations: 0.7468 MB / 1.017 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/1.694, allocations: 13.46 MB / 1.03 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0108/1.705, allocations: 6.57 MB / 1.036 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.363e-06/1.705, allocations: 0 / 1.036 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.09123/1.797, allocations: 44.42 MB / 1.08 GB, free: 120.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches