Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 193.9 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007702/0.0007702, allocations: 101 kB / 296.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.289/0.289, allocations: 44.81 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2737, allocations: 62.94 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.3903, allocations: 103.9 MB / 0.6179 GB, free: 1.438 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.3907, allocations: 79.97 kB / 0.618 GB, free: 1.359 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/0.5112, allocations: 53.88 MB / 0.6706 GB, free: 11.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5112, allocations: 0 / 0.6706 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.5113, allocations: 48 kB / 0.6707 GB, free: 11.08 MB / 490.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.005648/0.517, allocations: 2.542 MB / 0.6732 GB, free: 8.477 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.517, allocations: 12.86 kB / 0.6732 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006823/0.5239, allocations: 1.799 MB / 0.6749 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.5273, allocations: 1.692 MB / 0.6766 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.5275, allocations: 205.9 kB / 0.6768 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008297/0.5284, allocations: 276.2 kB / 0.677 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2106/0.7389, allocations: 6.287 MB / 0.6832 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.739, allocations: 20 kB / 0.6832 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.7394, allocations: 126.6 kB / 0.6833 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008482/0.7403, allocations: 0.6371 MB / 0.6839 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00906/0.7493, allocations: 5.454 MB / 0.6893 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.7755, allocations: 22.29 MB / 0.711 GB, free: 93.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.7797, allocations: 1.999 MB / 0.713 GB, free: 92.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.7808, allocations: 0.6931 MB / 0.7137 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007342/0.7882, allocations: 3.676 MB / 0.7172 GB, free: 90.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.7883, allocations: 38.5 kB / 0.7173 GB, free: 90.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.248e-06/0.7883, allocations: 0 / 0.7173 GB, free: 90.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005657/0.794, allocations: 1.978 MB / 0.7192 GB, free: 89.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.794, allocations: 59.66 kB / 0.7193 GB, free: 89.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.7981, allocations: 1.944 MB / 0.7212 GB, free: 88.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.7981, allocations: 32.02 kB / 0.7212 GB, free: 88.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.7994, allocations: 1.883 MB / 0.723 GB, free: 87.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.7997, allocations: 320.7 kB / 0.7233 GB, free: 87.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.7998, allocations: 63.62 kB / 0.7234 GB, free: 87.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002581/0.8001, allocations: 488.9 kB / 0.7239 GB, free: 86.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.8015, allocations: 0.8503 MB / 0.7247 GB, free: 86.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.8036, allocations: 2.722 MB / 0.7274 GB, free: 83.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.8072, allocations: 3.886 MB / 0.7312 GB, free: 80.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.505e-05/0.8073, allocations: 19.06 kB / 0.7312 GB, free: 80.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004722/0.8121, allocations: 3.455 MB / 0.7345 GB, free: 79.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.8121, allocations: 34.78 kB / 0.7346 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.225e-05/0.8122, allocations: 64.5 kB / 0.7346 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.151e-05/0.8123, allocations: 86.53 kB / 0.7347 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.814, allocations: 0.669 MB / 0.7354 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-05/0.814, allocations: 130.2 kB / 0.7355 GB, free: 78.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.8159, allocations: 404.6 kB / 0.7359 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.8161, allocations: 186.3 kB / 0.7361 GB, free: 78.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.00179/0.8179, allocations: 1.373 MB / 0.7374 GB, free: 78.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.8181, allocations: 159.6 kB / 0.7376 GB, free: 77.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.8185, allocations: 206.2 kB / 0.7378 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.8185, allocations: 6.875 kB / 0.7378 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.8185, allocations: 3.969 kB / 0.7378 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.8186, allocations: 0 / 0.7378 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/0.825, allocations: 4.11 MB / 0.7418 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.825, allocations: 5.781 kB / 0.7418 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.8254, allocations: 101.9 kB / 0.7419 GB, free: 76.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.8254, allocations: 10.41 kB / 0.7419 GB, free: 76.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.8255, allocations: 24.83 kB / 0.7419 GB, free: 76.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.8255, allocations: 8.281 kB / 0.7419 GB, free: 76.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.8255, allocations: 14.41 kB / 0.7419 GB, free: 76.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.8267, allocations: 1.264 MB / 0.7432 GB, free: 75.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.8271, allocations: 262.2 kB / 0.7434 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.8273, allocations: 20.27 kB / 0.7434 GB, free: 75.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/0.8279, allocations: 29.45 kB / 0.7435 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.828, allocations: 57.03 kB / 0.7435 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.828, allocations: 33.11 kB / 0.7436 GB, free: 75.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001652/0.8297, allocations: 1.272 MB / 0.7448 GB, free: 74.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8297, allocations: 0 / 0.7448 GB, free: 74.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002381/0.8321, allocations: 0.7085 MB / 0.7455 GB, free: 74.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0003026/0.8324, allocations: 149.6 kB / 0.7456 GB, free: 74.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002512/0.8349, allocations: 1.985 MB / 0.7476 GB, free: 73.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8349, allocations: 0 / 0.7476 GB, free: 73.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.8354, allocations: 464.8 kB / 0.748 GB, free: 73.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.8378, allocations: 231 kB / 0.7482 GB, free: 73.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.8472, allocations: 6.608 MB / 0.7547 GB, free: 69.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/0.8498, allocations: 2.323 MB / 0.757 GB, free: 68.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.8502, allocations: 142.6 kB / 0.7571 GB, free: 68.77 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8502, allocations: 7.281 kB / 0.7571 GB, free: 68.76 MB / 490.7 MB Notification: Performance of Templates: time 0.03722/0.8875, allocations: 30.17 MB / 0.7866 GB, free: 49.98 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches