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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2897, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01093/0.3007, allocations: 9.527 MB / 0.5399 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005663/0.3064, allocations: 2.925 MB / 0.5428 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009609/0.3074, allocations: 52.25 kB / 0.5428 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.3111, allocations: 1.993 MB / 0.5448 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.3136, allocations: 1.106 MB / 0.5458 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.3143, allocations: 290.8 kB / 0.5461 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.3173, allocations: 2.331 MB / 0.5484 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.3199, allocations: 2.308 MB / 0.5507 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.321, allocations: 0.8762 MB / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.3225, allocations: 1.153 MB / 0.5526 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.3229, allocations: 196 kB / 0.5528 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3241, allocations: 0.6943 MB / 0.5535 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000992/0.3251, allocations: 1.099 MB / 0.5546 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.3264, allocations: 1.312 MB / 0.5559 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004693/0.3311, allocations: 4.33 MB / 0.5601 GB, free: 3.402 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3311, allocations: 0 / 0.5601 GB, free: 3.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3311, allocations: 0 / 0.5601 GB, free: 3.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.609e-05/0.3312, allocations: 0 / 0.5601 GB, free: 3.402 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.005127/0.3363, allocations: 2.934 MB / 0.5629 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3364, allocations: 12.03 kB / 0.563 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006479/0.337, allocations: 483.1 kB / 0.5634 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.3423, allocations: 1.586 MB / 0.565 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.3446, allocations: 1.336 MB / 0.5663 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3448, allocations: 147.8 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.3451, allocations: 187.9 kB / 0.5666 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009496/0.3546, allocations: 6.242 MB / 0.5727 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.3547, allocations: 15.88 kB / 0.5727 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.355, allocations: 83.91 kB / 0.5728 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.3571, allocations: 1.344 MB / 0.5741 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.3668, allocations: 5.338 MB / 0.5793 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.3941, allocations: 20.03 MB / 0.5989 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.3986, allocations: 2.09 MB / 0.6009 GB, free: 8.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.3997, allocations: 0.6914 MB / 0.6016 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005919/0.4056, allocations: 3.496 MB / 0.605 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4057, allocations: 42.94 kB / 0.605 GB, free: 4.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.4057, allocations: 0 / 0.605 GB, free: 4.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005469/0.4112, allocations: 1.986 MB / 0.607 GB, free: 2.094 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4113, allocations: 59.84 kB / 0.607 GB, free: 2.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.414, allocations: 1.942 MB / 0.6089 GB, free: 80 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.4141, allocations: 29.7 kB / 0.609 GB, free: 44 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.4155, allocations: 1.911 MB / 0.6108 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.4158, allocations: 329.5 kB / 0.6111 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/0.4166, allocations: 0.6195 MB / 0.6118 GB, free: 13.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4168, allocations: 357.9 kB / 0.6121 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4181, allocations: 0.8881 MB / 0.613 GB, free: 11.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.4209, allocations: 2.747 MB / 0.6156 GB, free: 8.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00467/0.4256, allocations: 3.966 MB / 0.6195 GB, free: 3.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.984e-05/0.4257, allocations: 28 kB / 0.6195 GB, free: 3.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005685/0.4314, allocations: 3.528 MB / 0.623 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.4315, allocations: 39.19 kB / 0.623 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.823e-05/0.4315, allocations: 64 kB / 0.6231 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.4316, allocations: 92 kB / 0.6232 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.4337, allocations: 0.6511 MB / 0.6238 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.4338, allocations: 127.5 kB / 0.6239 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.4358, allocations: 432.7 kB / 0.6243 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.4361, allocations: 195.9 kB / 0.6245 GB, free: 14.19 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.002188/0.4383, allocations: 1.35 MB / 0.6259 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.4386, allocations: 162.9 kB / 0.626 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.439, allocations: 200.8 kB / 0.6262 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.439, allocations: 8 kB / 0.6262 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4391, allocations: 0 / 0.6262 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4391, allocations: 0 / 0.6262 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/0.4457, allocations: 4.077 MB / 0.6302 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.4457, allocations: 4 kB / 0.6302 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.4461, allocations: 99.81 kB / 0.6303 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.4461, allocations: 8 kB / 0.6303 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.4462, allocations: 19.94 kB / 0.6303 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.4462, allocations: 11.98 kB / 0.6303 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.4462, allocations: 11.94 kB / 0.6303 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4478, allocations: 1.243 MB / 0.6316 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/0.4482, allocations: 259.7 kB / 0.6318 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.4483, allocations: 19.94 kB / 0.6318 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.4488, allocations: 31.97 kB / 0.6318 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4489, allocations: 47.83 kB / 0.6319 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.449, allocations: 28 kB / 0.6319 GB, free: 6.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001786/0.4508, allocations: 1.267 MB / 0.6332 GB, free: 5.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4508, allocations: 4 kB / 0.6332 GB, free: 5.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002395/0.4532, allocations: 0.6929 MB / 0.6338 GB, free: 4.406 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.002077/0.4553, allocations: 1.849 MB / 0.6356 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003256/0.4586, allocations: 2.042 MB / 0.6376 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4586, allocations: 0 / 0.6376 GB, free: 444 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.4592, allocations: 465 kB / 0.6381 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4605, allocations: 240.7 kB / 0.6383 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/0.4906, allocations: 20.88 MB / 0.6587 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.4932, allocations: 2.279 MB / 0.6609 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002125/0.4953, allocations: 0.948 MB / 0.6619 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/0.4968, allocations: 1.038 MB / 0.6629 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of SimCode: time 2.424e-06/0.4968, allocations: 4 kB / 0.6629 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06817/0.565, allocations: 32.56 MB / 0.6947 GB, free: 3.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.98, allocations: 10.81 kB / 0.6947 GB, free: 3.582 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches