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.001218/0.001218, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4225, 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.01061/0.4331, allocations: 9.522 MB / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006011/0.4392, allocations: 2.921 MB / 0.5431 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.4407, allocations: 48.56 kB / 0.5432 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.4445, allocations: 2.001 MB / 0.5451 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.4474, allocations: 1.103 MB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.4482, allocations: 286 kB / 0.5465 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.4517, allocations: 2.341 MB / 0.5488 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.455, allocations: 2.301 MB / 0.551 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.4567, allocations: 0.88 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.4586, allocations: 1.153 MB / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006098/0.4592, allocations: 196 kB / 0.5532 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.4609, allocations: 0.6982 MB / 0.5539 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.4624, allocations: 1.099 MB / 0.5549 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.4645, allocations: 1.305 MB / 0.5562 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.47, allocations: 4.33 MB / 0.5604 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.47, allocations: 3.938 kB / 0.5604 GB, free: 3.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.47, allocations: 0 / 0.5604 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.4702, allocations: 0 / 0.5604 GB, free: 3.441 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.007348/0.4775, allocations: 2.942 MB / 0.5633 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.106e-05/0.4776, allocations: 8.031 kB / 0.5633 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.483, allocations: 1.578 MB / 0.5649 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.486, allocations: 1.344 MB / 0.5662 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.4862, allocations: 144 kB / 0.5663 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.4865, allocations: 191.8 kB / 0.5665 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009001/0.4955, allocations: 6.238 MB / 0.5726 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.4956, allocations: 15.88 kB / 0.5726 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.4958, allocations: 87.91 kB / 0.5727 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001934/0.4977, allocations: 1.34 MB / 0.574 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008408/0.5061, allocations: 5.334 MB / 0.5792 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.5282, allocations: 20.05 MB / 0.5988 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/0.5321, allocations: 2.081 MB / 0.6008 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.533, allocations: 0.6953 MB / 0.6015 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00537/0.5383, allocations: 3.492 MB / 0.6049 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5384, allocations: 42.94 kB / 0.605 GB, free: 4.613 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.318e-06/0.5384, allocations: 0 / 0.605 GB, free: 4.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005637/0.5441, allocations: 1.982 MB / 0.6069 GB, free: 2.621 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.5441, allocations: 59.84 kB / 0.6069 GB, free: 2.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.5471, allocations: 1.938 MB / 0.6088 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.5471, allocations: 37.69 kB / 0.6089 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.5483, allocations: 1.911 MB / 0.6107 GB, free: 14.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.5486, allocations: 329.5 kB / 0.6111 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007376/0.5493, allocations: 0.6195 MB / 0.6117 GB, free: 13.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5495, allocations: 353.9 kB / 0.612 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.5507, allocations: 0.892 MB / 0.6129 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.553, allocations: 2.755 MB / 0.6156 GB, free: 8.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.557, allocations: 3.958 MB / 0.6194 GB, free: 3.863 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-05/0.5571, allocations: 20 kB / 0.6194 GB, free: 3.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005062/0.5622, allocations: 3.532 MB / 0.6229 GB, free: 312 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.5623, allocations: 38.34 kB / 0.6229 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.227e-05/0.5623, allocations: 71.98 kB / 0.623 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-05/0.5624, allocations: 88 kB / 0.6231 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/0.5642, allocations: 0.6557 MB / 0.6237 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.231e-05/0.5643, allocations: 131.5 kB / 0.6238 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.566, allocations: 436.6 kB / 0.6243 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.5662, allocations: 184 kB / 0.6244 GB, free: 14.72 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.001708/0.5679, allocations: 1.342 MB / 0.6257 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.5681, allocations: 162.9 kB / 0.6259 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.5684, allocations: 204.9 kB / 0.6261 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5685, allocations: 8 kB / 0.6261 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5685, allocations: 0 / 0.6261 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5685, allocations: 7.922 kB / 0.6261 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.5745, allocations: 4.069 MB / 0.6301 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5745, allocations: 8.125 kB / 0.6301 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.5749, allocations: 99.81 kB / 0.6302 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.5749, allocations: 12 kB / 0.6302 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.575, allocations: 19.94 kB / 0.6302 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-05/0.575, allocations: 11.94 kB / 0.6302 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/0.575, allocations: 11.94 kB / 0.6302 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.5765, allocations: 1.239 MB / 0.6315 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.5768, allocations: 255.7 kB / 0.6317 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5769, allocations: 19.92 kB / 0.6317 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5774, allocations: 31.97 kB / 0.6317 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.5775, allocations: 47.83 kB / 0.6318 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.5775, allocations: 28 kB / 0.6318 GB, free: 6.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.5791, allocations: 1.279 MB / 0.6331 GB, free: 5.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5791, allocations: 0 / 0.6331 GB, free: 5.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002579/0.5817, allocations: 0.689 MB / 0.6337 GB, free: 4.93 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.0003311/0.5821, allocations: 139 kB / 0.6339 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003021/0.5851, allocations: 2.041 MB / 0.6359 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5851, allocations: 0 / 0.6359 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.5857, allocations: 463 kB / 0.6363 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.5869, allocations: 245.1 kB / 0.6365 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.5948, allocations: 5.088 MB / 0.6415 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.5972, allocations: 2.275 MB / 0.6437 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0022/0.5994, allocations: 0.948 MB / 0.6447 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.5997, allocations: 123.4 kB / 0.6448 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.5997, allocations: 0 / 0.6448 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.02886/0.6286, allocations: 15.03 MB / 0.6595 GB, free: 10.49 MB / 0.5137 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