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.00137/0.00137, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001675/0.001675, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 78.69 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01056/0.1373, allocations: 9.511 MB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.1437, allocations: 2.932 MB / 492.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1457, allocations: 47.94 kB / 492.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.15, allocations: 1.994 MB / 494.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.1536, allocations: 1.109 MB / 495.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1547, allocations: 283.5 kB / 496 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.1582, allocations: 2.329 MB / 498.3 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003467/0.1617, allocations: 2.313 MB / 0.4889 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.1635, allocations: 0.88 MB / 0.4898 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1658, allocations: 1.153 MB / 0.4909 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007073/0.1665, allocations: 192 kB / 0.4911 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.1684, allocations: 0.6982 MB / 0.4918 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.17, allocations: 1.106 MB / 0.4928 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.1722, allocations: 1.305 MB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006461/0.1787, allocations: 4.167 MB / 0.4982 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.1787, allocations: 0 / 0.4982 GB, free: 7.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1788, allocations: 0 / 0.4982 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002246/0.179, allocations: 0 / 0.4982 GB, free: 7.039 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.008531/0.1875, allocations: 2.857 MB / 0.501 GB, free: 4.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.1876, allocations: 12.03 kB / 0.501 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001197/0.1888, allocations: 483.1 kB / 0.5014 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.194, allocations: 1.549 MB / 0.503 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.1966, allocations: 1.332 MB / 0.5043 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.1967, allocations: 151.8 kB / 0.5044 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/0.1974, allocations: 183.9 kB / 0.5046 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2161/0.4135, allocations: 6.237 MB / 0.5107 GB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.4136, allocations: 14 kB / 0.5107 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/0.4138, allocations: 91.47 kB / 0.5108 GB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/0.4157, allocations: 1.344 MB / 0.5121 GB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009382/0.4251, allocations: 5.326 MB / 0.5173 GB, free: 35.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.4447, allocations: 20.13 MB / 0.5369 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.4482, allocations: 2.087 MB / 0.539 GB, free: 18.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.4489, allocations: 0.6841 MB / 0.5396 GB, free: 18.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004675/0.4536, allocations: 3.487 MB / 0.543 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4537, allocations: 43 kB / 0.5431 GB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.946e-06/0.4537, allocations: 0 / 0.5431 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004606/0.4583, allocations: 1.97 MB / 0.545 GB, free: 12.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.4584, allocations: 59.84 kB / 0.5451 GB, free: 12.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.4606, allocations: 1.933 MB / 0.547 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.4606, allocations: 37.64 kB / 0.547 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/0.4614, allocations: 1.844 MB / 0.5488 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.4617, allocations: 312.1 kB / 0.5491 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005731/0.4622, allocations: 0.619 MB / 0.5497 GB, free: 7.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.4623, allocations: 357.9 kB / 0.55 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.4632, allocations: 0.8842 MB / 0.5509 GB, free: 6.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.4647, allocations: 2.75 MB / 0.5536 GB, free: 2.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.4681, allocations: 3.977 MB / 0.5575 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.4681, allocations: 20 kB / 0.5575 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004878/0.473, allocations: 3.516 MB / 0.5609 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.473, allocations: 40.03 kB / 0.561 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-05/0.4731, allocations: 64 kB / 0.561 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-05/0.4732, allocations: 88 kB / 0.5611 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4749, allocations: 0.655 MB / 0.5617 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.475, allocations: 127.5 kB / 0.5619 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.4767, allocations: 419.5 kB / 0.5623 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/0.477, allocations: 195.9 kB / 0.5625 GB, free: 8.656 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.001662/0.4786, allocations: 1.346 MB / 0.5638 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.4788, allocations: 153.9 kB / 0.5639 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.4792, allocations: 200.8 kB / 0.5641 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.4792, allocations: 8 kB / 0.5641 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4792, allocations: 0 / 0.5641 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4792, allocations: 3.938 kB / 0.5641 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.4851, allocations: 4.077 MB / 0.5681 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4852, allocations: 4 kB / 0.5681 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.4855, allocations: 95.81 kB / 0.5682 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.4856, allocations: 13.62 kB / 0.5682 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.4856, allocations: 20.88 kB / 0.5682 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/0.4856, allocations: 12.61 kB / 0.5682 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.4856, allocations: 15.94 kB / 0.5683 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.487, allocations: 1.224 MB / 0.5695 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.4873, allocations: 254.7 kB / 0.5697 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.4875, allocations: 15.94 kB / 0.5697 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.488, allocations: 30.17 kB / 0.5697 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.4881, allocations: 55.75 kB / 0.5698 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.4881, allocations: 35.98 kB / 0.5698 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4897, allocations: 1.267 MB / 0.5711 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4897, allocations: 0 / 0.5711 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00226/0.492, allocations: 0.679 MB / 0.5717 GB, free: 14.91 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.00178/0.4938, allocations: 1.849 MB / 0.5735 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.497, allocations: 2.246 MB / 0.5757 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.497, allocations: 4.438 kB / 0.5757 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.4975, allocations: 460.2 kB / 0.5762 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4987, allocations: 245.8 kB / 0.5764 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/0.5278, allocations: 22.01 MB / 0.5979 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00324/0.5311, allocations: 2.263 MB / 0.6001 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002609/0.5337, allocations: 0.9528 MB / 0.601 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/0.5354, allocations: 1.03 MB / 0.602 GB, free: 12.8 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5355, allocations: 0 / 0.602 GB, free: 12.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06744/0.6029, allocations: 31.95 MB / 0.6332 GB, free: 12.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.033, allocations: 17.22 kB / 0.6333 GB, free: 12.95 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/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