Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 106.3 kB / 16.46 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 193.4 kB / 17.39 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.332/2.332, allocations: 207.6 MB / 225.8 MB, free: 11.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3693/0.3693, allocations: 44.25 MB / 319.9 MB, free: 12.85 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003433/0.003433, allocations: 75.89 kB / 453.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1797, allocations: 61 MB / 0.5024 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.02492/0.2046, allocations: 12.65 MB / 0.5148 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.2168, allocations: 3.373 MB / 0.5181 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.2198, allocations: 67.88 kB / 0.5182 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008723/0.2285, allocations: 2.687 MB / 0.5208 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.2346, allocations: 1.397 MB / 0.5221 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2364, allocations: 343.3 kB / 0.5225 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007148/0.2435, allocations: 2.87 MB / 0.5253 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005869/0.2494, allocations: 2.645 MB / 0.5279 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.2523, allocations: 1.192 MB / 0.529 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3831/0.6354, allocations: 1.751 MB / 0.5307 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.6369, allocations: 299.2 kB / 0.531 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.64, allocations: 0.8018 MB / 0.5318 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003341/0.6433, allocations: 1.6 MB / 0.5334 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004641/0.648, allocations: 1.837 MB / 0.5352 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.6608, allocations: 6.019 MB / 0.541 GB, free: 8.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.6608, allocations: 0 / 0.541 GB, free: 8.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6608, allocations: 3.609 kB / 0.541 GB, free: 8.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002985/0.6611, allocations: 0 / 0.541 GB, free: 8.012 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01817/0.6793, allocations: 3.844 MB / 0.5448 GB, free: 6.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/0.6794, allocations: 13.48 kB / 0.5448 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003519/0.6829, allocations: 0.6352 MB / 0.5454 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.6951, allocations: 1.734 MB / 0.5471 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008079/0.7032, allocations: 1.667 MB / 0.5487 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004913/0.7037, allocations: 204.3 kB / 0.5489 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.706, allocations: 272 kB / 0.5492 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/0.7362, allocations: 8.361 MB / 0.5574 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/0.7364, allocations: 16.84 kB / 0.5574 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00184/0.7382, allocations: 126.8 kB / 0.5575 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00511/0.7433, allocations: 1.758 MB / 0.5592 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/0.7721, allocations: 7.047 MB / 0.5661 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05955/0.8317, allocations: 25.78 MB / 0.5913 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009097/0.8408, allocations: 2.44 MB / 0.5937 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.8433, allocations: 0.8958 MB / 0.5945 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/0.8573, allocations: 4.46 MB / 0.5989 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/0.8574, allocations: 43.56 kB / 0.5989 GB, free: 15.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 6.171e-06/0.8574, allocations: 0 / 0.5989 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.01308/0.8705, allocations: 2.739 MB / 0.6016 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.8706, allocations: 64.41 kB / 0.6017 GB, free: 12.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006818/0.8774, allocations: 2.262 MB / 0.6039 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.8777, allocations: 44.44 kB / 0.6039 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002999/0.8807, allocations: 2.412 MB / 0.6063 GB, free: 8.082 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.8817, allocations: 480.9 kB / 0.6067 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002887/0.8846, allocations: 0.7534 MB / 0.6075 GB, free: 6.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.8848, allocations: 313.1 kB / 0.6078 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.8881, allocations: 1.116 MB / 0.6088 GB, free: 5.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/0.8946, allocations: 3.287 MB / 0.6121 GB, free: 1.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/0.9043, allocations: 4.816 MB / 0.6168 GB, free: 11.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.9044, allocations: 24 kB / 0.6168 GB, free: 11.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01328/0.9177, allocations: 4.33 MB / 0.621 GB, free: 7.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.9178, allocations: 36.19 kB / 0.621 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/0.9179, allocations: 80 kB / 0.6211 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.9181, allocations: 104 kB / 0.6212 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.9212, allocations: 0.8192 MB / 0.622 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000177/0.9214, allocations: 147.4 kB / 0.6222 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/0.9248, allocations: 0.5055 MB / 0.6227 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000802/0.9256, allocations: 224 kB / 0.6229 GB, free: 5.777 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.00443/0.93, allocations: 1.715 MB / 0.6245 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000565/0.9306, allocations: 202.6 kB / 0.6247 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.9343, allocations: 1.518 MB / 0.6262 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.9344, allocations: 15.98 kB / 0.6262 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.9344, allocations: 0 / 0.6262 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.9344, allocations: 7.984 kB / 0.6262 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.9538, allocations: 7.379 MB / 0.6334 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/0.9538, allocations: 16 kB / 0.6335 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.9548, allocations: 195.8 kB / 0.6337 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/0.9549, allocations: 20 kB / 0.6337 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.9551, allocations: 39.98 kB / 0.6337 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.679e-05/0.9551, allocations: 31.86 kB / 0.6337 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-05/0.9551, allocations: 27.81 kB / 0.6338 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/0.9589, allocations: 1.999 MB / 0.6357 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.9599, allocations: 339.2 kB / 0.636 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/0.9606, allocations: 39.98 kB / 0.6361 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.962, allocations: 51.92 kB / 0.6361 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.9623, allocations: 115.5 kB / 0.6362 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.9625, allocations: 55.98 kB / 0.6363 GB, free: 7.551 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003966/0.9664, allocations: 1.57 MB / 0.6378 GB, free: 5.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9664, allocations: 4 kB / 0.6378 GB, free: 5.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005135/0.9716, allocations: 0.9403 MB / 0.6387 GB, free: 5.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.004596/0.9762, allocations: 2.636 MB / 0.6413 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005653/0.9818, allocations: 2.552 MB / 0.6438 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/0.9818, allocations: 0 / 0.6438 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.9832, allocations: 0.6601 MB / 0.6445 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.9862, allocations: 329.9 kB / 0.6448 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08278/1.069, allocations: 27.29 MB / 0.6714 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008209/1.077, allocations: 2.829 MB / 0.6742 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005643/1.083, allocations: 1.171 MB / 0.6753 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004471/1.087, allocations: 1.433 MB / 0.6767 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.994e-06/1.087, allocations: 0 / 0.6767 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/1.2, allocations: 41.24 MB / 0.717 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/20.54, allocations: 3.984 kB / 0.717 GB, free: 1.438 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches