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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 76.47 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1416, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02818/0.1698, allocations: 30.31 MB / 0.498 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.1848, allocations: 6.267 MB / 0.5041 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005492/0.1903, allocations: 131.7 kB / 0.5042 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2196/0.41, allocations: 1.919 MB / 0.5061 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.4125, allocations: 1.033 MB / 0.5071 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.4132, allocations: 273.1 kB / 0.5073 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.4163, allocations: 2.352 MB / 0.5096 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.4192, allocations: 2.42 MB / 0.512 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.4204, allocations: 0.8904 MB / 0.5129 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.4223, allocations: 1.261 MB / 0.5141 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.4228, allocations: 193.8 kB / 0.5143 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.4242, allocations: 0.7116 MB / 0.515 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.4255, allocations: 1.117 MB / 0.5161 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.4267, allocations: 1.318 MB / 0.5174 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.4314, allocations: 4.183 MB / 0.5214 GB, free: 8.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4314, allocations: 0 / 0.5214 GB, free: 8.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4314, allocations: 5.531 kB / 0.5215 GB, free: 8.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.4315, allocations: 0 / 0.5215 GB, free: 8.77 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.005285/0.4368, allocations: 2.854 MB / 0.5242 GB, free: 7.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4368, allocations: 12.25 kB / 0.5243 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006379/0.4375, allocations: 487.8 kB / 0.5247 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.4422, allocations: 1.559 MB / 0.5262 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/0.4455, allocations: 1.313 MB / 0.5275 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4457, allocations: 143.9 kB / 0.5277 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005488/0.4462, allocations: 189 kB / 0.5278 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.457, allocations: 6.251 MB / 0.5339 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.4571, allocations: 14.5 kB / 0.534 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.4574, allocations: 88.94 kB / 0.534 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/0.4591, allocations: 1.345 MB / 0.5354 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009388/0.4685, allocations: 5.328 MB / 0.5406 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.4959, allocations: 20.13 MB / 0.5602 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.5004, allocations: 2.074 MB / 0.5622 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.5014, allocations: 0.6976 MB / 0.5629 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.5078, allocations: 3.494 MB / 0.5663 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.5079, allocations: 35 kB / 0.5664 GB, free: 2.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.356e-06/0.5079, allocations: 0 / 0.5664 GB, free: 2.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005458/0.5133, allocations: 1.976 MB / 0.5683 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5134, allocations: 55.84 kB / 0.5684 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.517, allocations: 1.933 MB / 0.5702 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.5171, allocations: 40.83 kB / 0.5703 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.5186, allocations: 1.84 MB / 0.5721 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.5191, allocations: 307.1 kB / 0.5724 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.5202, allocations: 0.6204 MB / 0.573 GB, free: 11.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5204, allocations: 357.9 kB / 0.5733 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.5219, allocations: 0.8881 MB / 0.5742 GB, free: 10.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/0.5247, allocations: 2.748 MB / 0.5769 GB, free: 6.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004715/0.5295, allocations: 3.971 MB / 0.5807 GB, free: 2.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/0.5296, allocations: 20 kB / 0.5808 GB, free: 2.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006508/0.5361, allocations: 3.524 MB / 0.5842 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.072e-05/0.5362, allocations: 32 kB / 0.5842 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001255/0.5363, allocations: 68 kB / 0.5843 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.5365, allocations: 84 kB / 0.5844 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.5388, allocations: 0.6573 MB / 0.585 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/0.539, allocations: 125.9 kB / 0.5851 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.5414, allocations: 423.8 kB / 0.5855 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/0.5419, allocations: 195 kB / 0.5857 GB, free: 13.7 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.002915/0.5449, allocations: 1.341 MB / 0.587 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.5452, allocations: 161.4 kB / 0.5872 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.5457, allocations: 196.9 kB / 0.5874 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5457, allocations: 8 kB / 0.5874 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.5457, allocations: 8 kB / 0.5874 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5457, allocations: 0 / 0.5874 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008802/0.5545, allocations: 4.071 MB / 0.5914 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.5546, allocations: 8 kB / 0.5914 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.5551, allocations: 100.6 kB / 0.5915 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/0.5551, allocations: 11.98 kB / 0.5915 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.5552, allocations: 20 kB / 0.5915 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.5552, allocations: 15.92 kB / 0.5915 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.5552, allocations: 7.938 kB / 0.5915 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.5571, allocations: 1.23 MB / 0.5927 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006479/0.5578, allocations: 246.7 kB / 0.593 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/0.5582, allocations: 22.58 kB / 0.593 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.5589, allocations: 27.91 kB / 0.593 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.559, allocations: 59.77 kB / 0.5931 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.5591, allocations: 28 kB / 0.5931 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002497/0.5616, allocations: 1.263 MB / 0.5943 GB, free: 4.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5616, allocations: 0 / 0.5943 GB, free: 4.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003104/0.5647, allocations: 0.6875 MB / 0.595 GB, free: 4.008 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.001979/0.5667, allocations: 1.847 MB / 0.5968 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.5701, allocations: 2.245 MB / 0.599 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5701, allocations: 0 / 0.599 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.5707, allocations: 457.5 kB / 0.5994 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5721, allocations: 245 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/0.6091, allocations: 23.24 MB / 0.6224 GB, free: 4.973 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/0.6122, allocations: 2.276 MB / 0.6246 GB, free: 2.668 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002493/0.6148, allocations: 0.9518 MB / 0.6255 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/0.6166, allocations: 1.03 MB / 0.6265 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6166, allocations: 0 / 0.6265 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.6706, allocations: 31.83 MB / 0.6576 GB, free: 1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6708, allocations: 197.6 kB / 0.6578 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.294, allocations: 0 / 0.6578 GB, free: 0.7461 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches