Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, 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.001157/0.001157, 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.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2872/0.2872, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 79.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3947, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01293/0.4077, allocations: 9.526 MB / 0.5403 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.415, allocations: 2.925 MB / 0.5431 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.4168, allocations: 51.47 kB / 0.5432 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.421, allocations: 1.998 MB / 0.5451 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.4244, allocations: 1.107 MB / 0.5462 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.4253, allocations: 285.8 kB / 0.5465 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.4287, allocations: 2.328 MB / 0.5488 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.4314, allocations: 2.305 MB / 0.551 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.4328, allocations: 0.8723 MB / 0.5519 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.4344, allocations: 1.16 MB / 0.553 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.4349, allocations: 192 kB / 0.5532 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.4364, allocations: 0.6982 MB / 0.5539 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.4375, allocations: 1.114 MB / 0.5549 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.4388, allocations: 1.305 MB / 0.5562 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.4438, allocations: 4.315 MB / 0.5604 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4438, allocations: 0 / 0.5604 GB, free: 3.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4438, allocations: 0 / 0.5604 GB, free: 3.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.094e-05/0.4439, allocations: 8 kB / 0.5604 GB, free: 3.422 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.005228/0.4491, allocations: 2.861 MB / 0.5632 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4492, allocations: 12.03 kB / 0.5632 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.4541, allocations: 1.557 MB / 0.5648 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.457, allocations: 1.34 MB / 0.5661 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4571, allocations: 148 kB / 0.5662 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.4574, allocations: 187.8 kB / 0.5664 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009834/0.4673, allocations: 6.242 MB / 0.5725 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.4674, allocations: 11.88 kB / 0.5725 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.4676, allocations: 87.91 kB / 0.5726 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.4697, allocations: 1.344 MB / 0.5739 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009676/0.4794, allocations: 5.331 MB / 0.5791 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.5074, allocations: 20.01 MB / 0.5986 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.5119, allocations: 2.081 MB / 0.6007 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009976/0.513, allocations: 0.6898 MB / 0.6013 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006657/0.5196, allocations: 3.491 MB / 0.6048 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5197, allocations: 38.94 kB / 0.6048 GB, free: 4.746 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.567e-06/0.5197, allocations: 0 / 0.6048 GB, free: 4.746 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005306/0.525, allocations: 1.977 MB / 0.6067 GB, free: 2.758 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5251, allocations: 55.84 kB / 0.6068 GB, free: 2.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.5279, allocations: 1.937 MB / 0.6087 GB, free: 0.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.5279, allocations: 41.69 kB / 0.6087 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.5292, allocations: 1.829 MB / 0.6105 GB, free: 14.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.5295, allocations: 316.1 kB / 0.6108 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/0.5302, allocations: 0.619 MB / 0.6114 GB, free: 13.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.5304, allocations: 353.9 kB / 0.6117 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5316, allocations: 0.8881 MB / 0.6126 GB, free: 12.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.5339, allocations: 2.755 MB / 0.6153 GB, free: 8.969 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.538, allocations: 3.968 MB / 0.6192 GB, free: 4.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.538, allocations: 16 kB / 0.6192 GB, free: 4.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005163/0.5432, allocations: 3.526 MB / 0.6226 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.5433, allocations: 35.98 kB / 0.6227 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.027e-05/0.5433, allocations: 72.12 kB / 0.6227 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-05/0.5434, allocations: 84 kB / 0.6228 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5453, allocations: 0.655 MB / 0.6235 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.882e-05/0.5454, allocations: 131.4 kB / 0.6236 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.5472, allocations: 419.5 kB / 0.624 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.5475, allocations: 188 kB / 0.6242 GB, free: 14.96 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 (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.002006/0.5495, allocations: 1.338 MB / 0.6255 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.5497, allocations: 153.9 kB / 0.6256 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.55, allocations: 200.8 kB / 0.6258 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.5501, allocations: 11.98 kB / 0.6258 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5501, allocations: 0 / 0.6258 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5501, allocations: 7.922 kB / 0.6258 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006399/0.5565, allocations: 4.073 MB / 0.6298 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5565, allocations: 4 kB / 0.6298 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.5569, allocations: 99.81 kB / 0.6299 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.557, allocations: 8 kB / 0.6299 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.557, allocations: 23.94 kB / 0.6299 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.557, allocations: 11.94 kB / 0.6299 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.557, allocations: 4 kB / 0.6299 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.5585, allocations: 1.238 MB / 0.6312 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.5589, allocations: 250.7 kB / 0.6314 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5591, allocations: 31.91 kB / 0.6314 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.5595, allocations: 23.98 kB / 0.6314 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/0.5596, allocations: 47.83 kB / 0.6315 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.5597, allocations: 27.98 kB / 0.6315 GB, free: 7.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.5614, allocations: 1.275 MB / 0.6328 GB, free: 5.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5614, allocations: 0 / 0.6328 GB, free: 5.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002576/0.564, allocations: 0.6765 MB / 0.6334 GB, free: 5.207 MB / 494.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.0003161/0.5643, allocations: 147 kB / 0.6336 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.5673, allocations: 2.038 MB / 0.6356 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5673, allocations: 0 / 0.6356 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.5679, allocations: 464 kB / 0.636 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.569, allocations: 242.1 kB / 0.6362 GB, free: 2.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/0.5763, allocations: 5.003 MB / 0.6411 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/0.5785, allocations: 2.267 MB / 0.6433 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001903/0.5804, allocations: 0.9519 MB / 0.6443 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.5807, allocations: 119.4 kB / 0.6444 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.5807, allocations: 0 / 0.6444 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of Templates: time 0.02995/0.6107, allocations: 14.75 MB / 0.6588 GB, free: 11.14 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches