Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 104.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.001072/0.001072, allocations: 214.4 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.314/1.314, allocations: 227.4 MB / 246.8 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.2038/0.2038, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 79.06 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09459/0.09588, allocations: 62.43 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009343/0.1053, allocations: 9.518 MB / 489.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.1102, allocations: 2.924 MB / 492.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.1109, allocations: 55.88 kB / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.1141, allocations: 1.998 MB / 494.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.1162, allocations: 1.101 MB / 495.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1167, allocations: 295.4 kB / 496 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.1189, allocations: 2.325 MB / 498.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.121, allocations: 2.312 MB / 0.4889 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007722/0.1218, allocations: 0.8762 MB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.1229, allocations: 1.153 MB / 0.4909 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.1231, allocations: 196 kB / 0.4911 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009666/0.1241, allocations: 0.6943 MB / 0.4918 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007617/0.1249, allocations: 1.107 MB / 0.4928 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009379/0.1258, allocations: 1.308 MB / 0.4941 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.1292, allocations: 4.155 MB / 0.4982 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1292, allocations: 0 / 0.4982 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1292, allocations: 0 / 0.4982 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.904e-05/0.1293, allocations: 3.938 kB / 0.4982 GB, free: 7.012 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.003792/0.1331, allocations: 2.865 MB / 0.501 GB, free: 4.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1331, allocations: 8.031 kB / 0.501 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004653/0.1336, allocations: 491 kB / 0.5014 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.1384, allocations: 1.557 MB / 0.503 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.1403, allocations: 1.32 MB / 0.5043 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/0.1404, allocations: 147.8 kB / 0.5044 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.1407, allocations: 183.9 kB / 0.5046 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1794/0.3201, allocations: 6.246 MB / 0.5107 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.3202, allocations: 13.69 kB / 0.5107 GB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.3205, allocations: 89.95 kB / 0.5108 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.3223, allocations: 1.341 MB / 0.5121 GB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008624/0.3309, allocations: 5.331 MB / 0.5173 GB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.3494, allocations: 20.12 MB / 0.5369 GB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.3528, allocations: 2.083 MB / 0.539 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.3535, allocations: 0.6914 MB / 0.5396 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004272/0.3578, allocations: 3.486 MB / 0.5431 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3579, allocations: 39 kB / 0.5431 GB, free: 14.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.3579, allocations: 0 / 0.5431 GB, free: 14.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004306/0.3622, allocations: 1.974 MB / 0.545 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3622, allocations: 59.84 kB / 0.5451 GB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.364, allocations: 1.937 MB / 0.547 GB, free: 10.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3641, allocations: 37.69 kB / 0.547 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005841/0.3647, allocations: 1.836 MB / 0.5488 GB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3648, allocations: 316 kB / 0.5491 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/0.3653, allocations: 0.6151 MB / 0.5497 GB, free: 7.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.3654, allocations: 357.9 kB / 0.55 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008819/0.3663, allocations: 0.8881 MB / 0.5509 GB, free: 6.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3678, allocations: 2.747 MB / 0.5536 GB, free: 2.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.3708, allocations: 3.97 MB / 0.5575 GB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/0.3709, allocations: 20 kB / 0.5575 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004674/0.3755, allocations: 3.522 MB / 0.5609 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.435e-05/0.3756, allocations: 39.94 kB / 0.561 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/0.3757, allocations: 64 kB / 0.561 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.18e-05/0.3757, allocations: 88 kB / 0.5611 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.3775, allocations: 0.6565 MB / 0.5617 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-05/0.3776, allocations: 131.5 kB / 0.5619 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.3791, allocations: 423.5 kB / 0.5623 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.3793, allocations: 184 kB / 0.5625 GB, free: 8.699 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.001618/0.381, allocations: 1.346 MB / 0.5638 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.3812, allocations: 157.9 kB / 0.5639 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.3815, allocations: 200.8 kB / 0.5641 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.3815, allocations: 8 kB / 0.5641 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3816, allocations: 3.938 kB / 0.5641 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3816, allocations: 7.922 kB / 0.5641 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/0.3875, allocations: 4.066 MB / 0.5681 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.3876, allocations: 8.031 kB / 0.5681 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.388, allocations: 99.81 kB / 0.5682 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.388, allocations: 15.94 kB / 0.5682 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.3881, allocations: 16 kB / 0.5682 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.3881, allocations: 11.94 kB / 0.5682 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.3881, allocations: 8 kB / 0.5683 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.3894, allocations: 1.235 MB / 0.5695 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.3897, allocations: 246.8 kB / 0.5697 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3899, allocations: 19.92 kB / 0.5697 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.3903, allocations: 31.97 kB / 0.5697 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3904, allocations: 47.83 kB / 0.5698 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.3905, allocations: 31.98 kB / 0.5698 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.392, allocations: 1.271 MB / 0.5711 GB, free: 15.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 0 / 0.5711 GB, free: 15.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002148/0.3942, allocations: 0.6752 MB / 0.5717 GB, free: 14.95 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.001642/0.3958, allocations: 1.86 MB / 0.5735 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.3987, allocations: 2.242 MB / 0.5757 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3987, allocations: 0 / 0.5757 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.3992, allocations: 459.1 kB / 0.5762 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4003, allocations: 242.6 kB / 0.5764 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.424, allocations: 22 MB / 0.5979 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.426, allocations: 2.279 MB / 0.6001 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002049/0.4281, allocations: 0.9519 MB / 0.601 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.4292, allocations: 1.026 MB / 0.602 GB, free: 12.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.3e-07/0.4293, allocations: 7.938 kB / 0.602 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08979/0.5191, allocations: 31.95 MB / 0.6332 GB, free: 13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.604, allocations: 12.59 kB / 0.6333 GB, free: 12.99 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches