Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,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.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,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.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 194.4 kB / 16.78 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 226.5 MB / 244.1 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008075/0.0008075, allocations: 105.8 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3004/0.3004, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002495, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2851, allocations: 62.96 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4049, allocations: 103.9 MB / 0.6179 GB, free: 1.473 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4052, allocations: 75.97 kB / 0.618 GB, free: 1.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1198/0.525, allocations: 53.87 MB / 0.6706 GB, free: 11.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5251, allocations: 0 / 0.6706 GB, free: 11.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.542e-05/0.5251, allocations: 48 kB / 0.6706 GB, free: 11.13 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.004298/0.5294, allocations: 2.546 MB / 0.6731 GB, free: 8.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5295, allocations: 8.875 kB / 0.6731 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/0.5362, allocations: 1.803 MB / 0.6749 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.5399, allocations: 1.685 MB / 0.6765 GB, free: 4.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.5401, allocations: 209.8 kB / 0.6767 GB, free: 4.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.5412, allocations: 276.3 kB / 0.677 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2184/0.7595, allocations: 6.29 MB / 0.6831 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-05/0.7596, allocations: 19.5 kB / 0.6832 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000376/0.76, allocations: 124.3 kB / 0.6833 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008646/0.7609, allocations: 0.6437 MB / 0.6839 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009334/0.7702, allocations: 5.455 MB / 0.6892 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.7937, allocations: 22.3 MB / 0.711 GB, free: 93.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.7976, allocations: 1.995 MB / 0.713 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000938/0.7986, allocations: 0.6933 MB / 0.7136 GB, free: 91.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.8048, allocations: 3.672 MB / 0.7172 GB, free: 90.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.8049, allocations: 44.41 kB / 0.7173 GB, free: 90.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.8049, allocations: 0 / 0.7173 GB, free: 90.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.00521/0.8101, allocations: 1.974 MB / 0.7192 GB, free: 89.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.8102, allocations: 57.97 kB / 0.7192 GB, free: 89.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.8137, allocations: 1.945 MB / 0.7211 GB, free: 88.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.8138, allocations: 31.98 kB / 0.7212 GB, free: 88.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.8149, allocations: 1.884 MB / 0.723 GB, free: 87.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.8152, allocations: 319.7 kB / 0.7233 GB, free: 87.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.8153, allocations: 55.47 kB / 0.7234 GB, free: 87.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.8156, allocations: 494.5 kB / 0.7238 GB, free: 86.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.8168, allocations: 0.8524 MB / 0.7247 GB, free: 86.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.8186, allocations: 2.723 MB / 0.7273 GB, free: 83.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.8217, allocations: 3.892 MB / 0.7311 GB, free: 80.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/0.8218, allocations: 19.22 kB / 0.7312 GB, free: 80.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004134/0.8259, allocations: 3.446 MB / 0.7345 GB, free: 79.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.826, allocations: 42.34 kB / 0.7346 GB, free: 79.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.783e-05/0.826, allocations: 65.41 kB / 0.7346 GB, free: 79.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-05/0.8261, allocations: 87.28 kB / 0.7347 GB, free: 79.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.8276, allocations: 0.6574 MB / 0.7353 GB, free: 79.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.286e-05/0.8276, allocations: 130.9 kB / 0.7355 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.8293, allocations: 408.5 kB / 0.7359 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001699/0.8294, allocations: 193.2 kB / 0.736 GB, free: 78.78 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.001612/0.8311, allocations: 1.375 MB / 0.7374 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.8312, allocations: 162.1 kB / 0.7375 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.8315, allocations: 197.5 kB / 0.7377 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.8316, allocations: 7.594 kB / 0.7377 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.8316, allocations: 0 / 0.7377 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8316, allocations: 3.844 kB / 0.7377 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.8366, allocations: 4.11 MB / 0.7418 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8366, allocations: 5.188 kB / 0.7418 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.8369, allocations: 106.7 kB / 0.7419 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.837, allocations: 7.438 kB / 0.7419 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.837, allocations: 22.52 kB / 0.7419 GB, free: 76.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.837, allocations: 11.59 kB / 0.7419 GB, free: 76.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.837, allocations: 10.22 kB / 0.7419 GB, free: 76.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.838, allocations: 1.26 MB / 0.7431 GB, free: 75.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.8383, allocations: 259.2 kB / 0.7434 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.8385, allocations: 14.97 kB / 0.7434 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.8389, allocations: 37.66 kB / 0.7434 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.839, allocations: 61.02 kB / 0.7435 GB, free: 75.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.8391, allocations: 30.33 kB / 0.7435 GB, free: 75.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.8404, allocations: 1.269 MB / 0.7448 GB, free: 74.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8404, allocations: 0 / 0.7448 GB, free: 74.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00208/0.8425, allocations: 0.7142 MB / 0.7455 GB, free: 74.59 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.0002501/0.8428, allocations: 147.6 kB / 0.7456 GB, free: 74.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.845, allocations: 1.987 MB / 0.7475 GB, free: 73.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.845, allocations: 0 / 0.7475 GB, free: 73.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.8455, allocations: 462.3 kB / 0.748 GB, free: 73.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.8479, allocations: 228.2 kB / 0.7482 GB, free: 73.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.8555, allocations: 6.605 MB / 0.7547 GB, free: 69.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/0.8574, allocations: 2.327 MB / 0.7569 GB, free: 68.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.8578, allocations: 150.8 kB / 0.7571 GB, free: 68.83 MB / 490.7 MB Notification: Performance of SimCode: time 8.72e-07/0.8578, allocations: 0 / 0.7571 GB, free: 68.83 MB / 490.7 MB Notification: Performance of Templates: time 0.03616/0.894, allocations: 30.16 MB / 0.7865 GB, free: 50.11 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches