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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 71.89 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.387, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0121/0.3991, allocations: 9.527 MB / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007733/0.4069, allocations: 2.917 MB / 0.5431 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.4098, allocations: 52.5 kB / 0.5432 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005022/0.4149, allocations: 2.002 MB / 0.5451 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.4189, allocations: 1.11 MB / 0.5462 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.42, allocations: 286.3 kB / 0.5465 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004048/0.424, allocations: 2.332 MB / 0.5488 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003427/0.4275, allocations: 2.301 MB / 0.551 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.4289, allocations: 0.88 MB / 0.5519 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.4309, allocations: 1.149 MB / 0.553 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007048/0.4316, allocations: 196 kB / 0.5532 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4332, allocations: 0.7021 MB / 0.5539 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.4345, allocations: 1.11 MB / 0.555 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.4364, allocations: 1.308 MB / 0.5562 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.4413, allocations: 4.323 MB / 0.5605 GB, free: 3.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4414, allocations: 0 / 0.5605 GB, free: 3.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4414, allocations: 0 / 0.5605 GB, free: 3.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001451/0.4415, allocations: 3.938 kB / 0.5605 GB, free: 3.414 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004791/0.4463, allocations: 2.861 MB / 0.5633 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4464, allocations: 8.031 kB / 0.5633 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.4514, allocations: 1.553 MB / 0.5648 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.4539, allocations: 1.344 MB / 0.5661 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/0.454, allocations: 140 kB / 0.5662 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003322/0.4544, allocations: 199.8 kB / 0.5664 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008544/0.4629, allocations: 6.242 MB / 0.5725 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.463, allocations: 15.88 kB / 0.5725 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.4632, allocations: 87.91 kB / 0.5726 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/0.4652, allocations: 1.34 MB / 0.5739 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00951/0.4747, allocations: 5.323 MB / 0.5791 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.4987, allocations: 20.04 MB / 0.5987 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.5027, allocations: 2.003 MB / 0.6006 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008991/0.5036, allocations: 0.6953 MB / 0.6013 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005968/0.5096, allocations: 3.612 MB / 0.6048 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.5096, allocations: 39 kB / 0.6049 GB, free: 4.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/0.5096, allocations: 0 / 0.6049 GB, free: 4.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005178/0.5148, allocations: 1.977 MB / 0.6068 GB, free: 2.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5149, allocations: 63.72 kB / 0.6069 GB, free: 2.598 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.5173, allocations: 1.937 MB / 0.6088 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.5174, allocations: 37.7 kB / 0.6088 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.5185, allocations: 1.84 MB / 0.6106 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.5188, allocations: 304.1 kB / 0.6109 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000689/0.5195, allocations: 0.619 MB / 0.6115 GB, free: 13.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5196, allocations: 361.9 kB / 0.6118 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.5208, allocations: 0.8881 MB / 0.6127 GB, free: 12.56 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.5233, allocations: 2.751 MB / 0.6154 GB, free: 8.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/0.5273, allocations: 3.963 MB / 0.6193 GB, free: 3.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-05/0.5273, allocations: 23.94 kB / 0.6193 GB, free: 3.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005044/0.5324, allocations: 3.525 MB / 0.6227 GB, free: 448 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.5324, allocations: 36 kB / 0.6228 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.106e-05/0.5325, allocations: 64.88 kB / 0.6228 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.523e-05/0.5326, allocations: 88 kB / 0.6229 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.5344, allocations: 0.6627 MB / 0.6236 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/0.5345, allocations: 131.5 kB / 0.6237 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5361, allocations: 407.6 kB / 0.6241 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.5363, allocations: 192 kB / 0.6243 GB, free: 14.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001673/0.538, allocations: 1.338 MB / 0.6256 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5382, allocations: 161.9 kB / 0.6257 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.5385, allocations: 192.9 kB / 0.6259 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.5385, allocations: 11.94 kB / 0.6259 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5385, allocations: 4 kB / 0.6259 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5385, allocations: 3.984 kB / 0.6259 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.5444, allocations: 4.025 MB / 0.6299 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5445, allocations: 8 kB / 0.6299 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.5449, allocations: 103.8 kB / 0.63 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.5449, allocations: 8 kB / 0.63 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.5449, allocations: 20 kB / 0.63 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.5449, allocations: 15.92 kB / 0.63 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.545, allocations: 8 kB / 0.63 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5463, allocations: 1.274 MB / 0.6313 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.5467, allocations: 246.8 kB / 0.6315 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.5468, allocations: 19.98 kB / 0.6315 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.5473, allocations: 27.89 kB / 0.6315 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.5474, allocations: 55.83 kB / 0.6316 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.5475, allocations: 31.98 kB / 0.6316 GB, free: 7.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.549, allocations: 1.267 MB / 0.6329 GB, free: 5.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.549, allocations: 3.938 kB / 0.6329 GB, free: 5.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002295/0.5513, allocations: 0.6766 MB / 0.6335 GB, free: 5.102 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.5516, allocations: 150.9 kB / 0.6337 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.5543, allocations: 2.046 MB / 0.6357 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5544, allocations: 0 / 0.6357 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.5549, allocations: 469.5 kB / 0.6361 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5561, allocations: 245.9 kB / 0.6363 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.5642, allocations: 5.049 MB / 0.6413 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002215/0.5665, allocations: 2.275 MB / 0.6435 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002076/0.5686, allocations: 0.9558 MB / 0.6444 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.5689, allocations: 119.4 kB / 0.6445 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.5689, allocations: 0 / 0.6445 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.02963/0.5985, allocations: 14.7 MB / 0.6589 GB, free: 11 MB / 0.5137 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches