Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00188/0.00188, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 344.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 79.34 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01092/0.1318, allocations: 9.502 MB / 491 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.1377, allocations: 2.932 MB / 493.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.1387, allocations: 51.94 kB / 493.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.1422, allocations: 1.998 MB / 495.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.1447, allocations: 1.109 MB / 497 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006747/0.1454, allocations: 291.4 kB / 497.3 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002876/0.1483, allocations: 2.322 MB / 499.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.1508, allocations: 2.313 MB / 0.4902 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009844/0.1518, allocations: 0.88 MB / 0.4911 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.153, allocations: 1.153 MB / 0.4922 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.1533, allocations: 196 kB / 0.4924 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1544, allocations: 0.6943 MB / 0.4931 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008393/0.1552, allocations: 1.107 MB / 0.4941 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.1564, allocations: 1.308 MB / 0.4954 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.1605, allocations: 4.309 MB / 0.4996 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1606, allocations: 0 / 0.4996 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1606, allocations: 4 kB / 0.4996 GB, free: 6.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.574e-05/0.1607, allocations: 0 / 0.4996 GB, free: 6.207 MB / 382.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.004658/0.1653, allocations: 2.861 MB / 0.5024 GB, free: 3.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1654, allocations: 12.03 kB / 0.5024 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.1699, allocations: 1.561 MB / 0.504 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.1727, allocations: 1.34 MB / 0.5053 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.1728, allocations: 144 kB / 0.5054 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.1731, allocations: 187.8 kB / 0.5056 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1921/0.3652, allocations: 6.24 MB / 0.5117 GB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.3653, allocations: 13.12 kB / 0.5117 GB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.3655, allocations: 88.31 kB / 0.5118 GB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/0.3673, allocations: 1.344 MB / 0.5131 GB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009401/0.3767, allocations: 5.333 MB / 0.5183 GB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/0.3988, allocations: 19.99 MB / 0.5378 GB, free: 20.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.4021, allocations: 2.079 MB / 0.5398 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.4028, allocations: 0.6953 MB / 0.5405 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004701/0.4075, allocations: 3.484 MB / 0.5439 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4076, allocations: 35 kB / 0.5439 GB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.4076, allocations: 0 / 0.5439 GB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004321/0.4119, allocations: 1.977 MB / 0.5459 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.412, allocations: 59.83 kB / 0.5459 GB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.4138, allocations: 1.937 MB / 0.5478 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4138, allocations: 41.69 kB / 0.5479 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.4144, allocations: 1.829 MB / 0.5497 GB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4146, allocations: 316 kB / 0.55 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005393/0.4151, allocations: 0.619 MB / 0.5506 GB, free: 7.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.4152, allocations: 361.9 kB / 0.5509 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.4162, allocations: 0.8803 MB / 0.5518 GB, free: 6.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.4178, allocations: 2.751 MB / 0.5545 GB, free: 2.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.4214, allocations: 3.973 MB / 0.5583 GB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/0.4214, allocations: 20 kB / 0.5584 GB, free: 13.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005225/0.4267, allocations: 3.523 MB / 0.5618 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.4267, allocations: 32.94 kB / 0.5618 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-05/0.4268, allocations: 68 kB / 0.5619 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.771e-05/0.4269, allocations: 88 kB / 0.562 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.4286, allocations: 0.6589 MB / 0.5626 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.934e-05/0.4287, allocations: 131.5 kB / 0.5627 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4304, allocations: 415.5 kB / 0.5631 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.4306, allocations: 191.9 kB / 0.5633 GB, free: 8.625 MB / 398.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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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.001716/0.4323, allocations: 1.342 MB / 0.5646 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4326, allocations: 157.9 kB / 0.5648 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.4329, allocations: 192.8 kB / 0.565 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.4329, allocations: 8 kB / 0.565 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4329, allocations: 7.938 kB / 0.565 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4329, allocations: 3.984 kB / 0.565 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006188/0.4391, allocations: 4.073 MB / 0.569 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.4391, allocations: 8 kB / 0.569 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.4395, allocations: 95.81 kB / 0.5691 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.4396, allocations: 11.98 kB / 0.5691 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.4396, allocations: 23.94 kB / 0.5691 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4396, allocations: 15.88 kB / 0.5691 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4396, allocations: 7.984 kB / 0.5691 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4411, allocations: 1.236 MB / 0.5703 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.4415, allocations: 238.8 kB / 0.5706 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4416, allocations: 23.92 kB / 0.5706 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.4421, allocations: 31.88 kB / 0.5706 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.4422, allocations: 55.83 kB / 0.5707 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.4422, allocations: 27.98 kB / 0.5707 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00168/0.4439, allocations: 1.267 MB / 0.5719 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4439, allocations: 4 kB / 0.5719 GB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002465/0.4464, allocations: 0.6829 MB / 0.5726 GB, free: 14.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0002759/0.4467, allocations: 140.4 kB / 0.5727 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.4498, allocations: 2.044 MB / 0.5747 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4498, allocations: 0 / 0.5747 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.4504, allocations: 465.3 kB / 0.5752 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4515, allocations: 233.6 kB / 0.5754 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.4603, allocations: 4.998 MB / 0.5803 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002366/0.4628, allocations: 2.271 MB / 0.5825 GB, free: 4.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001964/0.4647, allocations: 0.9556 MB / 0.5834 GB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.465, allocations: 119.4 kB / 0.5835 GB, free: 3.547 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.465, allocations: 0 / 0.5835 GB, free: 3.547 MB / 414.1 MB Notification: Performance of Templates: time 0.02599/0.491, allocations: 14.14 MB / 0.5973 GB, free: 5.434 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches