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.001684/0.001683, allocations: 117.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001557, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2529/0.2529, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 79.86 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4198, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01588/0.4357, allocations: 9.52 MB / 0.5403 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008147/0.4439, allocations: 2.921 MB / 0.5431 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.4464, allocations: 48.97 kB / 0.5432 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.4506, allocations: 1.994 MB / 0.5451 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.4544, allocations: 1.11 MB / 0.5462 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.4555, allocations: 289.5 kB / 0.5465 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.4597, allocations: 2.331 MB / 0.5488 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00307/0.4628, allocations: 2.3 MB / 0.551 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.4645, allocations: 0.8839 MB / 0.5519 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.4664, allocations: 1.153 MB / 0.553 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.4671, allocations: 196 kB / 0.5532 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4689, allocations: 0.6943 MB / 0.5539 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.4704, allocations: 1.099 MB / 0.5549 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.4725, allocations: 1.308 MB / 0.5562 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004462/0.477, allocations: 4.335 MB / 0.5605 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.477, allocations: 0 / 0.5605 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.477, allocations: 0 / 0.5605 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.178e-05/0.4771, allocations: 0 / 0.5605 GB, free: 3.477 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.00418/0.4812, allocations: 2.938 MB / 0.5633 GB, free: 488 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4813, allocations: 8.031 kB / 0.5633 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004704/0.486, allocations: 1.578 MB / 0.5649 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.4884, allocations: 1.344 MB / 0.5662 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.4885, allocations: 144 kB / 0.5663 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.4888, allocations: 191.8 kB / 0.5665 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008761/0.4976, allocations: 6.242 MB / 0.5726 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.4976, allocations: 15.86 kB / 0.5726 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.4978, allocations: 87.91 kB / 0.5727 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001947/0.4998, allocations: 1.344 MB / 0.574 GB, free: 5.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.5109, allocations: 5.331 MB / 0.5792 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.538, allocations: 20.04 MB / 0.5988 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.5421, allocations: 2.089 MB / 0.6008 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.543, allocations: 0.6898 MB / 0.6015 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005385/0.5484, allocations: 3.492 MB / 0.6049 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5485, allocations: 46.92 kB / 0.605 GB, free: 4.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.5485, allocations: 0 / 0.605 GB, free: 4.648 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005014/0.5535, allocations: 1.978 MB / 0.6069 GB, free: 2.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.5536, allocations: 55.84 kB / 0.6069 GB, free: 2.594 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.5562, allocations: 1.934 MB / 0.6088 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.5563, allocations: 37.7 kB / 0.6089 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.5575, allocations: 1.915 MB / 0.6107 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.5578, allocations: 333.5 kB / 0.6111 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/0.5586, allocations: 0.6156 MB / 0.6117 GB, free: 13.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5588, allocations: 365.8 kB / 0.612 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.5599, allocations: 0.8803 MB / 0.6129 GB, free: 12.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.5623, allocations: 2.763 MB / 0.6156 GB, free: 8.781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.5664, allocations: 3.966 MB / 0.6194 GB, free: 3.891 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.143e-05/0.5664, allocations: 20 kB / 0.6195 GB, free: 3.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005312/0.5718, allocations: 3.528 MB / 0.6229 GB, free: 344 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.5718, allocations: 32 kB / 0.6229 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-05/0.5719, allocations: 68 kB / 0.623 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-05/0.572, allocations: 88 kB / 0.6231 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5738, allocations: 0.6589 MB / 0.6237 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.5739, allocations: 131.5 kB / 0.6238 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.5762, allocations: 428.8 kB / 0.6243 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.5764, allocations: 196 kB / 0.6244 GB, free: 14.75 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.002564/0.579, allocations: 1.338 MB / 0.6257 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.5793, allocations: 170.9 kB / 0.6259 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.5798, allocations: 192.9 kB / 0.6261 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.5798, allocations: 8 kB / 0.6261 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.5798, allocations: 4 kB / 0.6261 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5799, allocations: 3.984 kB / 0.6261 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006886/0.5868, allocations: 4.069 MB / 0.6301 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5868, allocations: 8 kB / 0.6301 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.5872, allocations: 95.83 kB / 0.6302 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.5873, allocations: 8 kB / 0.6302 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/0.5873, allocations: 28.64 kB / 0.6302 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.5873, allocations: 11.94 kB / 0.6302 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.5874, allocations: 11.94 kB / 0.6302 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5891, allocations: 1.239 MB / 0.6314 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/0.5896, allocations: 259.7 kB / 0.6317 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5898, allocations: 19.94 kB / 0.6317 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.5903, allocations: 31.95 kB / 0.6317 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5904, allocations: 51.83 kB / 0.6318 GB, free: 6.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.5905, allocations: 28 kB / 0.6318 GB, free: 6.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.5923, allocations: 1.271 MB / 0.6331 GB, free: 5.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5923, allocations: 0 / 0.6331 GB, free: 5.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003199/0.5955, allocations: 0.6929 MB / 0.6337 GB, free: 4.965 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.0004199/0.5959, allocations: 139 kB / 0.6339 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.5991, allocations: 2.037 MB / 0.6359 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5991, allocations: 4.062 kB / 0.6359 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.5997, allocations: 467.8 kB / 0.6363 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6008, allocations: 235.5 kB / 0.6365 GB, free: 2.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008493/0.6094, allocations: 5.091 MB / 0.6415 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.6117, allocations: 2.267 MB / 0.6437 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00201/0.6137, allocations: 0.948 MB / 0.6446 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.614, allocations: 123.4 kB / 0.6448 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.614, allocations: 0 / 0.6448 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.03071/0.6447, allocations: 15.03 MB / 0.6594 GB, free: 10.54 MB / 0.5138 GB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches