Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001556, allocations: 117.8 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.001915/0.001915, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3222, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01202/0.3342, allocations: 10.11 MB / 0.5404 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006735/0.341, allocations: 3.071 MB / 0.5434 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.3421, allocations: 56.94 kB / 0.5434 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.3466, allocations: 2.613 MB / 0.546 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.3491, allocations: 1.176 MB / 0.5471 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007443/0.3499, allocations: 349.1 kB / 0.5475 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002745/0.3526, allocations: 2.545 MB / 0.5499 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.3555, allocations: 2.995 MB / 0.5529 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3566, allocations: 1.055 MB / 0.5539 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.358, allocations: 1.375 MB / 0.5552 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.3584, allocations: 252 kB / 0.5555 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.3595, allocations: 0.7607 MB / 0.5562 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.3606, allocations: 1.329 MB / 0.5575 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.3618, allocations: 1.561 MB / 0.559 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.3664, allocations: 5.108 MB / 0.564 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3664, allocations: 4 kB / 0.564 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3664, allocations: 0 / 0.564 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.648e-05/0.3665, allocations: 0 / 0.564 GB, free: 15.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.004744/0.3712, allocations: 3.261 MB / 0.5672 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3713, allocations: 8.031 kB / 0.5672 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005799/0.3719, allocations: 0.5498 MB / 0.5678 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.3766, allocations: 1.607 MB / 0.5693 GB, free: 9.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.379, allocations: 1.492 MB / 0.5708 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3792, allocations: 184.7 kB / 0.571 GB, free: 8.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.3795, allocations: 227.9 kB / 0.5712 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009388/0.3889, allocations: 7.11 MB / 0.5781 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.389, allocations: 19.81 kB / 0.5782 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3893, allocations: 107.9 kB / 0.5783 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00195/0.3912, allocations: 1.447 MB / 0.5797 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009579/0.4008, allocations: 5.956 MB / 0.5855 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.4274, allocations: 22.28 MB / 0.6072 GB, free: 2.047 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/0.4319, allocations: 2.203 MB / 0.6094 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.4329, allocations: 0.7659 MB / 0.6101 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006054/0.439, allocations: 3.848 MB / 0.6139 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.439, allocations: 43.12 kB / 0.6139 GB, free: 10.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.439, allocations: 0 / 0.6139 GB, free: 10.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006082/0.4451, allocations: 2.244 MB / 0.6161 GB, free: 8.652 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4452, allocations: 59.97 kB / 0.6162 GB, free: 8.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.4477, allocations: 2.056 MB / 0.6182 GB, free: 6.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.4478, allocations: 33.7 kB / 0.6182 GB, free: 6.488 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.4491, allocations: 2.03 MB / 0.6202 GB, free: 4.426 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.4493, allocations: 347.7 kB / 0.6205 GB, free: 4.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/0.4501, allocations: 0.6545 MB / 0.6212 GB, free: 3.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4503, allocations: 365.8 kB / 0.6215 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4515, allocations: 0.9313 MB / 0.6224 GB, free: 2.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.4539, allocations: 2.88 MB / 0.6253 GB, free: 14.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.458, allocations: 4.143 MB / 0.6293 GB, free: 9.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/0.458, allocations: 20 kB / 0.6293 GB, free: 9.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005048/0.4631, allocations: 3.694 MB / 0.6329 GB, free: 5.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.4631, allocations: 36 kB / 0.633 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/0.4632, allocations: 68 kB / 0.633 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.013e-05/0.4633, allocations: 92 kB / 0.6331 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.4652, allocations: 0.69 MB / 0.6338 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.559e-05/0.4653, allocations: 135.5 kB / 0.6339 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.4669, allocations: 435.2 kB / 0.6343 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.4671, allocations: 204 kB / 0.6345 GB, free: 3.812 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.001897/0.469, allocations: 1.511 MB / 0.636 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4692, allocations: 173.7 kB / 0.6362 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.4696, allocations: 206.2 kB / 0.6364 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.4696, allocations: 12 kB / 0.6364 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4696, allocations: 0 / 0.6364 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4696, allocations: 3.984 kB / 0.6364 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/0.4765, allocations: 4.943 MB / 0.6412 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.4765, allocations: 8 kB / 0.6412 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.4769, allocations: 111.8 kB / 0.6413 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.477, allocations: 12 kB / 0.6413 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.477, allocations: 27.98 kB / 0.6414 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/0.477, allocations: 15.88 kB / 0.6414 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.4771, allocations: 11.94 kB / 0.6414 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.4785, allocations: 1.414 MB / 0.6428 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.4789, allocations: 282.3 kB / 0.643 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4791, allocations: 27.97 kB / 0.6431 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.4796, allocations: 35.89 kB / 0.6431 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.4797, allocations: 71.69 kB / 0.6432 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.4798, allocations: 35.98 kB / 0.6432 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001771/0.4815, allocations: 1.452 MB / 0.6446 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4816, allocations: 0 / 0.6446 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002365/0.4839, allocations: 0.762 MB / 0.6454 GB, free: 8.371 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.001947/0.4859, allocations: 2.015 MB / 0.6473 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.4888, allocations: 2.173 MB / 0.6494 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4888, allocations: 4 kB / 0.6495 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.4894, allocations: 0.4974 MB / 0.6499 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4906, allocations: 289 kB / 0.6502 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/0.5191, allocations: 23.09 MB / 0.6728 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.5217, allocations: 2.514 MB / 0.6752 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002153/0.5239, allocations: 1.028 MB / 0.6762 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/0.5254, allocations: 1.206 MB / 0.6774 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of SimCode: time 2.324e-06/0.5254, allocations: 0 / 0.6774 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06447/0.5899, allocations: 37.1 MB / 0.7136 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.75, allocations: 4.062 kB / 0.7136 GB, free: 15.78 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches