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.001576/0.001576, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 81.09 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 62.43 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.009806/0.1149, allocations: 9.529 MB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.1205, allocations: 2.928 MB / 492.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009441/0.1215, allocations: 47.94 kB / 492.6 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00335/0.1249, allocations: 1.99 MB / 494.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.1272, allocations: 1.105 MB / 495.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.1279, allocations: 299.4 kB / 496 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.1302, allocations: 2.325 MB / 498.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.1323, allocations: 2.301 MB / 0.4889 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.1331, allocations: 0.8839 MB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.1343, allocations: 1.156 MB / 0.4909 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.1346, allocations: 192 kB / 0.4911 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.1356, allocations: 0.6943 MB / 0.4918 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.1364, allocations: 1.107 MB / 0.4928 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000973/0.1374, allocations: 1.305 MB / 0.4941 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.1407, allocations: 4.159 MB / 0.4982 GB, free: 7.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1407, allocations: 4 kB / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1407, allocations: 0 / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-05/0.1408, allocations: 0 / 0.4982 GB, free: 7.008 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.004173/0.145, allocations: 2.865 MB / 0.501 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.145, allocations: 8.031 kB / 0.501 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005014/0.1455, allocations: 487.1 kB / 0.5014 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005064/0.1506, allocations: 1.553 MB / 0.503 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.1531, allocations: 1.316 MB / 0.5042 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.1532, allocations: 151.8 kB / 0.5044 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.1536, allocations: 183.9 kB / 0.5046 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1846/0.3382, allocations: 6.245 MB / 0.5107 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.3383, allocations: 14.5 kB / 0.5107 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.3385, allocations: 86.92 kB / 0.5108 GB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/0.3405, allocations: 1.344 MB / 0.5121 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009238/0.3497, allocations: 5.337 MB / 0.5173 GB, free: 35.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.3717, allocations: 20.13 MB / 0.5369 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/0.3753, allocations: 2.084 MB / 0.539 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.3761, allocations: 0.6875 MB / 0.5397 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004537/0.3806, allocations: 3.484 MB / 0.5431 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3806, allocations: 39 kB / 0.5431 GB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.3807, allocations: 0 / 0.5431 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004366/0.385, allocations: 1.984 MB / 0.545 GB, free: 12.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.3851, allocations: 55.84 kB / 0.5451 GB, free: 12.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.3868, allocations: 1.933 MB / 0.547 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.3869, allocations: 37.7 kB / 0.547 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/0.3875, allocations: 1.836 MB / 0.5488 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.3877, allocations: 312.1 kB / 0.5491 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.3882, allocations: 0.6229 MB / 0.5497 GB, free: 7.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.3883, allocations: 361.9 kB / 0.5501 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.3892, allocations: 0.8803 MB / 0.5509 GB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3906, allocations: 2.751 MB / 0.5536 GB, free: 2.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.3936, allocations: 3.969 MB / 0.5575 GB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.3936, allocations: 24 kB / 0.5575 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004464/0.3981, allocations: 3.518 MB / 0.5609 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.3981, allocations: 32.97 kB / 0.561 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.605e-05/0.3982, allocations: 68 kB / 0.561 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.88e-05/0.3983, allocations: 88 kB / 0.5611 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.4, allocations: 0.6589 MB / 0.5618 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.496e-05/0.4001, allocations: 131.5 kB / 0.5619 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.4016, allocations: 415.5 kB / 0.5623 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.4018, allocations: 196 kB / 0.5625 GB, free: 8.703 MB / 398.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.001563/0.4034, allocations: 1.338 MB / 0.5638 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4036, allocations: 161.9 kB / 0.5639 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.4038, allocations: 192.9 kB / 0.5641 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4039, allocations: 11.94 kB / 0.5641 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4039, allocations: 0 / 0.5641 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4039, allocations: 7.938 kB / 0.5641 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005271/0.4092, allocations: 4.073 MB / 0.5681 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4092, allocations: 8 kB / 0.5681 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.4096, allocations: 95.81 kB / 0.5682 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4096, allocations: 11.94 kB / 0.5682 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.4096, allocations: 20 kB / 0.5682 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.4096, allocations: 11.98 kB / 0.5682 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.4097, allocations: 7.938 kB / 0.5683 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4109, allocations: 1.236 MB / 0.5695 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.4112, allocations: 246.7 kB / 0.5697 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.4113, allocations: 19.94 kB / 0.5697 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.4118, allocations: 31.97 kB / 0.5697 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.4119, allocations: 51.83 kB / 0.5698 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.4119, allocations: 24 kB / 0.5698 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.4133, allocations: 1.267 MB / 0.5711 GB, free: 15.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4133, allocations: 4 kB / 0.5711 GB, free: 15.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002011/0.4154, allocations: 0.6868 MB / 0.5717 GB, free: 14.96 MB / 414.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.001629/0.417, allocations: 1.857 MB / 0.5735 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.4198, allocations: 2.239 MB / 0.5757 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4198, allocations: 0 / 0.5757 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.4203, allocations: 469.2 kB / 0.5762 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4214, allocations: 236.1 kB / 0.5764 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/0.4443, allocations: 22.01 MB / 0.5979 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.4464, allocations: 2.271 MB / 0.6001 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002069/0.4485, allocations: 0.9518 MB / 0.601 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.4496, allocations: 1.034 MB / 0.6021 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4496, allocations: 0 / 0.6021 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.5001, allocations: 31.94 MB / 0.6332 GB, free: 13.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/9.191, allocations: 9.234 kB / 0.6333 GB, free: 13 MB / 478.1 MB (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