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.001646/0.001647, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.09 MB / 343.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001514, allocations: 75.56 kB / 416.8 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1478, allocations: 62.45 MB / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0325/0.1803, allocations: 30.3 MB / 0.4976 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1969, allocations: 6.321 MB / 0.5038 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00634/0.2033, allocations: 131.7 kB / 0.5039 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.28/0.4834, allocations: 1.988 MB / 0.5059 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.4866, allocations: 1.039 MB / 0.5069 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.4873, allocations: 273.8 kB / 0.5072 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004786/0.4921, allocations: 3.362 MB / 0.5104 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003321/0.4955, allocations: 2.291 MB / 0.5127 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.497, allocations: 0.7786 MB / 0.5134 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.499, allocations: 1.222 MB / 0.5146 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.4994, allocations: 147.2 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.5012, allocations: 0.698 MB / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.5024, allocations: 1.069 MB / 0.5165 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.5038, allocations: 1.267 MB / 0.5177 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.5084, allocations: 4.125 MB / 0.5218 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5085, allocations: 1.531 kB / 0.5218 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5085, allocations: 3.188 kB / 0.5218 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.5086, allocations: 0 / 0.5218 GB, free: 8.832 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.006822/0.5155, allocations: 2.865 MB / 0.5246 GB, free: 6.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5155, allocations: 7.812 kB / 0.5246 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.5202, allocations: 1.556 MB / 0.5261 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.5226, allocations: 1.319 MB / 0.5274 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5227, allocations: 147.5 kB / 0.5275 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.5231, allocations: 185.1 kB / 0.5277 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/0.5324, allocations: 6.25 MB / 0.5338 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.5325, allocations: 11.03 kB / 0.5338 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.5327, allocations: 88.67 kB / 0.5339 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.5345, allocations: 1.347 MB / 0.5352 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008972/0.5434, allocations: 5.344 MB / 0.5404 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.5691, allocations: 20.13 MB / 0.5601 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.5733, allocations: 2.072 MB / 0.5621 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/0.5742, allocations: 0.6914 MB / 0.5628 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005823/0.5801, allocations: 3.492 MB / 0.5662 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.5801, allocations: 38.98 kB / 0.5662 GB, free: 2.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.5801, allocations: 0 / 0.5662 GB, free: 2.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005187/0.5853, allocations: 1.972 MB / 0.5682 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5854, allocations: 55.84 kB / 0.5682 GB, free: 0.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/0.5885, allocations: 1.933 MB / 0.5701 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.5885, allocations: 40.2 kB / 0.5701 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.5903, allocations: 1.84 MB / 0.5719 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.5906, allocations: 309.7 kB / 0.5722 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009942/0.5916, allocations: 0.614 MB / 0.5728 GB, free: 11.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.5919, allocations: 357.9 kB / 0.5732 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.5932, allocations: 0.8842 MB / 0.574 GB, free: 10.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.596, allocations: 2.764 MB / 0.5767 GB, free: 6.973 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/0.6004, allocations: 3.969 MB / 0.5806 GB, free: 2.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.6004, allocations: 20 kB / 0.5806 GB, free: 2.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005195/0.6056, allocations: 3.521 MB / 0.5841 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.6057, allocations: 32 kB / 0.5841 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/0.6058, allocations: 68 kB / 0.5842 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.961e-05/0.6059, allocations: 84 kB / 0.5843 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.6078, allocations: 0.6611 MB / 0.5849 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001232/0.6079, allocations: 133.8 kB / 0.585 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.61, allocations: 419.9 kB / 0.5854 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.6103, allocations: 191 kB / 0.5856 GB, free: 13.73 MB / 446.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.002535/0.6128, allocations: 1.336 MB / 0.5869 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.6131, allocations: 157.9 kB / 0.5871 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.6134, allocations: 196.9 kB / 0.5872 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.6134, allocations: 14.72 kB / 0.5873 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.6134, allocations: 4 kB / 0.5873 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6134, allocations: 3.984 kB / 0.5873 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.62, allocations: 4.067 MB / 0.5912 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.62, allocations: 8.75 kB / 0.5913 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.6204, allocations: 91.89 kB / 0.5913 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.6204, allocations: 15.94 kB / 0.5914 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.6205, allocations: 27.98 kB / 0.5914 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.6205, allocations: 11.94 kB / 0.5914 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.6205, allocations: 11.94 kB / 0.5914 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.622, allocations: 1.227 MB / 0.5926 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.6223, allocations: 246.7 kB / 0.5928 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.6225, allocations: 16 kB / 0.5929 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.623, allocations: 34.02 kB / 0.5929 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6231, allocations: 55.77 kB / 0.5929 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.6232, allocations: 28 kB / 0.593 GB, free: 6.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001839/0.625, allocations: 1.271 MB / 0.5942 GB, free: 4.742 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.625, allocations: 0 / 0.5942 GB, free: 4.742 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002766/0.6278, allocations: 0.6866 MB / 0.5949 GB, free: 4.055 MB / 446.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.0003188/0.6281, allocations: 142.2 kB / 0.595 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.6312, allocations: 2.016 MB / 0.597 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6312, allocations: 4 kB / 0.597 GB, free: 1.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.6318, allocations: 462.2 kB / 0.5974 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.633, allocations: 223.2 kB / 0.5976 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/0.6423, allocations: 6.351 MB / 0.6038 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002312/0.6446, allocations: 2.267 MB / 0.6061 GB, free: 8.492 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002245/0.6469, allocations: 0.9596 MB / 0.607 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.6472, allocations: 119.4 kB / 0.6071 GB, free: 7.41 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6472, allocations: 0 / 0.6071 GB, free: 7.41 MB / 462.1 MB Notification: Performance of Templates: time 0.03126/0.6784, allocations: 13.69 MB / 0.6205 GB, free: 9.805 MB / 478.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 -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