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.001146/0.001146, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 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.2015/0.2015, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 76.11 kB / 480.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2893, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0109/0.3002, allocations: 9.509 MB / 0.5398 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00639/0.3066, allocations: 2.924 MB / 0.5427 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3081, allocations: 47.97 kB / 0.5427 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00413/0.3123, allocations: 2.005 MB / 0.5447 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.3156, allocations: 1.103 MB / 0.5457 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.3166, allocations: 282 kB / 0.546 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.3198, allocations: 2.34 MB / 0.5483 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.3222, allocations: 2.305 MB / 0.5505 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3233, allocations: 0.8762 MB / 0.5514 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.3246, allocations: 1.153 MB / 0.5525 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.3249, allocations: 196 kB / 0.5527 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3261, allocations: 0.7021 MB / 0.5534 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008931/0.327, allocations: 1.11 MB / 0.5545 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.3281, allocations: 1.308 MB / 0.5558 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.3319, allocations: 4.313 MB / 0.56 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.332, allocations: 0 / 0.56 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.332, allocations: 0 / 0.56 GB, free: 3.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.024e-05/0.332, allocations: 0 / 0.56 GB, free: 3.527 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.004415/0.3365, allocations: 2.869 MB / 0.5628 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3365, allocations: 15.97 kB / 0.5628 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005195/0.337, allocations: 483.1 kB / 0.5632 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.3428, allocations: 1.553 MB / 0.5648 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3458, allocations: 1.332 MB / 0.5661 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.346, allocations: 147.8 kB / 0.5662 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.3465, allocations: 187.8 kB / 0.5664 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009447/0.3559, allocations: 6.25 MB / 0.5725 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.356, allocations: 11.88 kB / 0.5725 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.3562, allocations: 91.91 kB / 0.5726 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001934/0.3582, allocations: 1.34 MB / 0.5739 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008842/0.367, allocations: 5.338 MB / 0.5791 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.3929, allocations: 19.99 MB / 0.5986 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.397, allocations: 2.081 MB / 0.6007 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009142/0.3979, allocations: 0.6992 MB / 0.6013 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006016/0.404, allocations: 3.491 MB / 0.6048 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.404, allocations: 35 kB / 0.6048 GB, free: 4.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.559e-06/0.404, allocations: 0 / 0.6048 GB, free: 4.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005271/0.4093, allocations: 1.974 MB / 0.6067 GB, free: 2.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4094, allocations: 55.84 kB / 0.6068 GB, free: 2.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.4121, allocations: 1.941 MB / 0.6087 GB, free: 376 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4122, allocations: 37.64 kB / 0.6087 GB, free: 332 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4134, allocations: 1.833 MB / 0.6105 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.4137, allocations: 308.1 kB / 0.6108 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008004/0.4145, allocations: 0.6229 MB / 0.6114 GB, free: 13.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4147, allocations: 357.9 kB / 0.6117 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.416, allocations: 0.8842 MB / 0.6126 GB, free: 12.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.4184, allocations: 2.759 MB / 0.6153 GB, free: 8.586 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.4224, allocations: 3.96 MB / 0.6192 GB, free: 3.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/0.4225, allocations: 20 kB / 0.6192 GB, free: 3.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005295/0.4278, allocations: 3.523 MB / 0.6226 GB, free: 156 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.4279, allocations: 32 kB / 0.6226 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-05/0.4279, allocations: 71.98 kB / 0.6227 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.4281, allocations: 87.98 kB / 0.6228 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.4299, allocations: 0.6588 MB / 0.6234 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000101/0.43, allocations: 131.5 kB / 0.6236 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4318, allocations: 411.9 kB / 0.624 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.4321, allocations: 191.9 kB / 0.6241 GB, free: 14.58 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.00173/0.4338, allocations: 1.338 MB / 0.6254 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4341, allocations: 165.8 kB / 0.6256 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.4344, allocations: 196.9 kB / 0.6258 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.4344, allocations: 8 kB / 0.6258 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4344, allocations: 0 / 0.6258 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4344, allocations: 11.98 kB / 0.6258 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/0.4417, allocations: 4.061 MB / 0.6298 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.4417, allocations: 8 kB / 0.6298 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.4421, allocations: 100.6 kB / 0.6299 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.4422, allocations: 8 kB / 0.6299 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.4422, allocations: 27.94 kB / 0.6299 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.4422, allocations: 11.94 kB / 0.6299 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4422, allocations: 4 kB / 0.6299 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4439, allocations: 1.238 MB / 0.6311 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.4444, allocations: 242.7 kB / 0.6314 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.4447, allocations: 27.92 kB / 0.6314 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.4453, allocations: 23.98 kB / 0.6314 GB, free: 6.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4454, allocations: 51.83 kB / 0.6315 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.4455, allocations: 32 kB / 0.6315 GB, free: 6.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.4476, allocations: 1.271 MB / 0.6327 GB, free: 5.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4476, allocations: 0 / 0.6327 GB, free: 5.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002566/0.4501, allocations: 0.6805 MB / 0.6334 GB, free: 4.828 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.002361/0.4525, allocations: 1.852 MB / 0.6352 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00311/0.4556, allocations: 2.05 MB / 0.6372 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.4557, allocations: 0 / 0.6372 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.4563, allocations: 449.5 kB / 0.6376 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.4578, allocations: 245.6 kB / 0.6379 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/0.4856, allocations: 20.79 MB / 0.6582 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.4882, allocations: 2.275 MB / 0.6604 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002058/0.4903, allocations: 0.9518 MB / 0.6613 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.4917, allocations: 1.038 MB / 0.6623 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.4917, allocations: 0 / 0.6623 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05868/0.5504, allocations: 32.89 MB / 0.6945 GB, free: 3.785 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.05, allocations: 14.88 kB / 0.6945 GB, free: 3.773 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