Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [: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.00171/0.00171, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008335/0.0008338, allocations: 93.5 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1746/0.1746, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.181e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09827/0.09829, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4376, allocations: 103.1 MB / 0.6045 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.4379, allocations: 70.59 kB / 0.6046 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1266/0.5645, allocations: 53.17 MB / 0.6565 GB, free: 2.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.5647, allocations: 55.98 kB / 0.6565 GB, free: 2.746 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006295/0.571, allocations: 2.517 MB / 0.659 GB, free: 392 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.571, allocations: 8.031 kB / 0.659 GB, free: 384 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007599/0.5787, allocations: 1.473 MB / 0.6605 GB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.5834, allocations: 1.67 MB / 0.6621 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5835, allocations: 88 kB / 0.6622 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008092/0.5843, allocations: 160 kB / 0.6623 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006526/0.5909, allocations: 4.215 MB / 0.6664 GB, free: 9.008 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008534/0.5994, allocations: 5.849 MB / 0.6721 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.984e-05/0.5995, allocations: 15.88 kB / 0.6722 GB, free: 2.801 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.5998, allocations: 12 kB / 0.6722 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006958/0.6005, allocations: 0.6651 MB / 0.6728 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02491/0.6254, allocations: 22.23 MB / 0.6945 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.627, allocations: 1.383 MB / 0.6959 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.6276, allocations: 0.495 MB / 0.6964 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.6276, allocations: 12.55 kB / 0.6964 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6277, allocations: 51.2 kB / 0.6964 GB, free: 9.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.861e-06/0.6277, allocations: 7.922 kB / 0.6964 GB, free: 9.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.00302/0.6307, allocations: 1.39 MB / 0.6978 GB, free: 7.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.6308, allocations: 60.06 kB / 0.6978 GB, free: 7.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.6329, allocations: 1.596 MB / 0.6994 GB, free: 5.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.6329, allocations: 25.7 kB / 0.6994 GB, free: 5.957 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.634, allocations: 1.824 MB / 0.7012 GB, free: 4.102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.6342, allocations: 351.5 kB / 0.7015 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.6343, allocations: 0 / 0.7015 GB, free: 3.754 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/0.6346, allocations: 493.5 kB / 0.702 GB, free: 3.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.6358, allocations: 0.8652 MB / 0.7029 GB, free: 2.395 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.638, allocations: 2.875 MB / 0.7057 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.64, allocations: 1.622 MB / 0.7073 GB, free: 12.88 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-05/0.64, allocations: 20 kB / 0.7073 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004686/0.6447, allocations: 3.266 MB / 0.7105 GB, free: 9.578 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.6447, allocations: 4 kB / 0.7105 GB, free: 9.574 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.315e-05/0.6448, allocations: 72 kB / 0.7105 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.542e-05/0.6449, allocations: 108 kB / 0.7106 GB, free: 9.398 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.6469, allocations: 0.7134 MB / 0.7113 GB, free: 8.684 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.982e-05/0.647, allocations: 155.3 kB / 0.7115 GB, free: 8.531 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.6488, allocations: 352.1 kB / 0.7118 GB, free: 8.184 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.649, allocations: 200 kB / 0.712 GB, free: 7.988 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (393): * Single equations (assignments): 390 * 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.0003097/0.6494, allocations: 285.7 kB / 0.7123 GB, free: 7.703 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.6496, allocations: 157.9 kB / 0.7124 GB, free: 7.547 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.6512, allocations: 1.174 MB / 0.7136 GB, free: 6.352 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.6513, allocations: 8.141 kB / 0.7136 GB, free: 6.344 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6513, allocations: 7.891 kB / 0.7136 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6513, allocations: 0 / 0.7136 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.6571, allocations: 3.91 MB / 0.7174 GB, free: 2.246 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.6572, allocations: 8 kB / 0.7174 GB, free: 2.238 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.6577, allocations: 115.8 kB / 0.7175 GB, free: 2.125 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.6577, allocations: 8 kB / 0.7175 GB, free: 2.117 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.6578, allocations: 12.66 kB / 0.7176 GB, free: 2.105 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.6578, allocations: 19.92 kB / 0.7176 GB, free: 2.086 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.6578, allocations: 15.94 kB / 0.7176 GB, free: 2.07 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001679/0.6595, allocations: 1.829 MB / 0.7194 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6598, allocations: 238.8 kB / 0.7196 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.66, allocations: 8 kB / 0.7196 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.6605, allocations: 15.89 kB / 0.7196 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.6606, allocations: 55.8 kB / 0.7197 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.6606, allocations: 35.98 kB / 0.7197 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001345/0.662, allocations: 1.066 MB / 0.7208 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002635/0.6646, allocations: 0.6568 MB / 0.7214 GB, free: 13.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.0003138/0.665, allocations: 154.9 kB / 0.7215 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.6678, allocations: 2.033 MB / 0.7235 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6678, allocations: 4 kB / 0.7235 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.6684, allocations: 0.5175 MB / 0.724 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.6692, allocations: 187.8 kB / 0.7242 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008326/0.6776, allocations: 4.365 MB / 0.7285 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/0.6805, allocations: 2.526 MB / 0.7309 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.6805, allocations: 0 / 0.7309 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of Templates: time 0.03179/0.7123, allocations: 14.42 MB / 0.745 GB, free: 5.52 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches