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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 200 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008755/0.0008761, allocations: 103.2 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3232/0.3232, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002753, allocations: 8.219 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3257, allocations: 62.95 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.4655, allocations: 103.9 MB / 0.6199 GB, free: 1.402 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.4659, allocations: 91.94 kB / 0.62 GB, free: 1.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1409/0.6068, allocations: 53.87 MB / 0.6726 GB, free: 11.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.6068, allocations: 0 / 0.6726 GB, free: 11.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000193/0.607, allocations: 52 kB / 0.6726 GB, free: 11.03 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.008831/0.6159, allocations: 2.546 MB / 0.6751 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.616, allocations: 8.875 kB / 0.6751 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008272/0.6242, allocations: 1.791 MB / 0.6769 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/0.6295, allocations: 1.692 MB / 0.6785 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.6299, allocations: 217.8 kB / 0.6787 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.6316, allocations: 268.3 kB / 0.679 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2817/0.9133, allocations: 6.291 MB / 0.6851 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/0.9134, allocations: 21.12 kB / 0.6851 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/0.9139, allocations: 121.4 kB / 0.6853 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009828/0.9149, allocations: 0.6384 MB / 0.6859 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009614/0.9245, allocations: 5.46 MB / 0.6912 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.9505, allocations: 22.29 MB / 0.713 GB, free: 93.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.9548, allocations: 1.997 MB / 0.7149 GB, free: 92.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.9559, allocations: 0.6947 MB / 0.7156 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007352/0.9632, allocations: 3.668 MB / 0.7192 GB, free: 90.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.9633, allocations: 38.3 kB / 0.7192 GB, free: 90.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 4.178e-06/0.9633, allocations: 3.938 kB / 0.7192 GB, free: 90.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.005784/0.9691, allocations: 1.973 MB / 0.7212 GB, free: 89.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.9692, allocations: 57.47 kB / 0.7212 GB, free: 89.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.9726, allocations: 1.946 MB / 0.7231 GB, free: 89.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.9727, allocations: 35.23 kB / 0.7232 GB, free: 89.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.974, allocations: 1.883 MB / 0.725 GB, free: 87.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.9743, allocations: 321.5 kB / 0.7253 GB, free: 87.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.9745, allocations: 56.69 kB / 0.7253 GB, free: 87.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.9747, allocations: 493.9 kB / 0.7258 GB, free: 87.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.9761, allocations: 0.8474 MB / 0.7266 GB, free: 86.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.9787, allocations: 2.719 MB / 0.7293 GB, free: 84.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.9824, allocations: 3.896 MB / 0.7331 GB, free: 80.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.582e-05/0.9825, allocations: 18.69 kB / 0.7331 GB, free: 80.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004609/0.9871, allocations: 3.451 MB / 0.7365 GB, free: 79.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.9872, allocations: 34.59 kB / 0.7365 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-05/0.9872, allocations: 66.19 kB / 0.7366 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.067e-05/0.9873, allocations: 88.81 kB / 0.7367 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.9889, allocations: 0.6592 MB / 0.7373 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.692e-05/0.989, allocations: 131.3 kB / 0.7374 GB, free: 79.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.9911, allocations: 413.5 kB / 0.7378 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.9913, allocations: 185.3 kB / 0.738 GB, free: 78.92 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.002466/0.9938, allocations: 1.36 MB / 0.7393 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.9941, allocations: 164.1 kB / 0.7395 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.9944, allocations: 208.6 kB / 0.7397 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.9944, allocations: 10.28 kB / 0.7397 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.9945, allocations: 0 / 0.7397 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.9945, allocations: 6.688 kB / 0.7397 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/1.001, allocations: 4.11 MB / 0.7437 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.001, allocations: 7.594 kB / 0.7437 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/1.001, allocations: 102.9 kB / 0.7438 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.001, allocations: 10.67 kB / 0.7438 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/1.001, allocations: 20.78 kB / 0.7439 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.001, allocations: 13.75 kB / 0.7439 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.001, allocations: 12.52 kB / 0.7439 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.002, allocations: 1.259 MB / 0.7451 GB, free: 75.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/1.003, allocations: 259.5 kB / 0.7454 GB, free: 75.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/1.003, allocations: 25.72 kB / 0.7454 GB, free: 75.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/1.003, allocations: 28.14 kB / 0.7454 GB, free: 75.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/1.003, allocations: 51.94 kB / 0.7455 GB, free: 75.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/1.003, allocations: 33.69 kB / 0.7455 GB, free: 75.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001677/1.005, allocations: 1.276 MB / 0.7467 GB, free: 74.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.005, allocations: 3.531 kB / 0.7468 GB, free: 74.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002726/1.008, allocations: 0.7099 MB / 0.7474 GB, free: 74.73 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.0003131/1.008, allocations: 138.1 kB / 0.7476 GB, free: 74.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/1.011, allocations: 1.995 MB / 0.7495 GB, free: 73.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.011, allocations: 4.125 kB / 0.7495 GB, free: 73.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/1.012, allocations: 458.2 kB / 0.75 GB, free: 73.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.014, allocations: 233.8 kB / 0.7502 GB, free: 73.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008135/1.022, allocations: 6.281 MB / 0.7563 GB, free: 70.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/1.024, allocations: 2.324 MB / 0.7586 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002263/1.026, allocations: 0.9689 MB / 0.7595 GB, free: 69.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/1.027, allocations: 122.8 kB / 0.7597 GB, free: 69.1 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/1.027, allocations: 0 / 0.7597 GB, free: 69.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02637/1.053, allocations: 13.79 MB / 0.7731 GB, free: 65.09 MB / 490.7 MB 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/jenkins1/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