Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.001301, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, 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.2247/0.2247, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 79.62 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01108/0.1398, allocations: 9.514 MB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006107/0.146, allocations: 2.924 MB / 492.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.1471, allocations: 51.94 kB / 492.6 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.1509, allocations: 2.002 MB / 494.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.1536, allocations: 1.101 MB / 495.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.1544, allocations: 291.4 kB / 496 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.1572, allocations: 2.329 MB / 498.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.1599, allocations: 2.301 MB / 0.4889 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.1612, allocations: 0.8839 MB / 0.4898 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.1626, allocations: 1.149 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.163, allocations: 196 kB / 0.4911 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1642, allocations: 0.6942 MB / 0.4918 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008872/0.1651, allocations: 1.106 MB / 0.4928 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.1662, allocations: 1.308 MB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.1705, allocations: 4.163 MB / 0.4982 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1705, allocations: 4 kB / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1706, allocations: 0 / 0.4982 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.768e-05/0.1706, allocations: 0 / 0.4982 GB, free: 7.043 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.004684/0.1753, allocations: 2.857 MB / 0.501 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1754, allocations: 8.031 kB / 0.501 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005477/0.1759, allocations: 483.1 kB / 0.5014 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/0.1809, allocations: 1.561 MB / 0.503 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.1831, allocations: 1.324 MB / 0.5043 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1832, allocations: 151.8 kB / 0.5044 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/0.1835, allocations: 183.9 kB / 0.5046 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2419/0.4255, allocations: 6.246 MB / 0.5107 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.4256, allocations: 12.78 kB / 0.5107 GB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.4259, allocations: 86.44 kB / 0.5108 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.428, allocations: 1.343 MB / 0.5121 GB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4382, allocations: 5.33 MB / 0.5173 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.4642, allocations: 20.17 MB / 0.537 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003599/0.4678, allocations: 2.01 MB / 0.5389 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.4686, allocations: 0.6914 MB / 0.5396 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005016/0.4737, allocations: 3.616 MB / 0.5431 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.4737, allocations: 39 kB / 0.5432 GB, free: 14.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.735e-06/0.4737, allocations: 0 / 0.5432 GB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004684/0.4784, allocations: 1.977 MB / 0.5451 GB, free: 12.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.4785, allocations: 67.84 kB / 0.5452 GB, free: 12.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.4805, allocations: 1.933 MB / 0.5471 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.4806, allocations: 33.7 kB / 0.5471 GB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007138/0.4813, allocations: 1.836 MB / 0.5489 GB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4815, allocations: 308 kB / 0.5492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/0.482, allocations: 0.6267 MB / 0.5498 GB, free: 7.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.4821, allocations: 357.9 kB / 0.5501 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009081/0.483, allocations: 0.8842 MB / 0.551 GB, free: 6.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.4846, allocations: 2.751 MB / 0.5537 GB, free: 2.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.4882, allocations: 3.971 MB / 0.5576 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.509e-05/0.4883, allocations: 20 kB / 0.5576 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005856/0.4942, allocations: 3.521 MB / 0.561 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.4942, allocations: 39.94 kB / 0.5611 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/0.4943, allocations: 64 kB / 0.5611 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.769e-05/0.4944, allocations: 91.94 kB / 0.5612 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.4962, allocations: 0.6472 MB / 0.5618 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001061/0.4964, allocations: 132.4 kB / 0.562 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.4982, allocations: 416 kB / 0.5624 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/0.4984, allocations: 188 kB / 0.5625 GB, free: 8.68 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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.001859/0.5003, allocations: 1.346 MB / 0.5639 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.5006, allocations: 157.9 kB / 0.564 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.5009, allocations: 196.8 kB / 0.5642 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.5009, allocations: 12 kB / 0.5642 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.5009, allocations: 4.875 kB / 0.5642 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.501, allocations: 3.984 kB / 0.5642 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.5072, allocations: 4.021 MB / 0.5681 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5072, allocations: 8 kB / 0.5682 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.5077, allocations: 107.9 kB / 0.5683 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.456e-05/0.5077, allocations: 8 kB / 0.5683 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.5077, allocations: 26.86 kB / 0.5683 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.5078, allocations: 11.94 kB / 0.5683 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.5078, allocations: 11.98 kB / 0.5683 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.5093, allocations: 1.253 MB / 0.5695 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.5098, allocations: 250.7 kB / 0.5698 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.5099, allocations: 20 kB / 0.5698 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.5104, allocations: 29.38 kB / 0.5698 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5105, allocations: 55.77 kB / 0.5699 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.5106, allocations: 28 kB / 0.5699 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.5125, allocations: 1.279 MB / 0.5712 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5125, allocations: 0 / 0.5712 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003161/0.5157, allocations: 0.6792 MB / 0.5718 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002116/0.5178, allocations: 1.873 MB / 0.5736 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.5214, allocations: 2.251 MB / 0.5758 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5215, allocations: 0 / 0.5758 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.5221, allocations: 465.7 kB / 0.5763 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5235, allocations: 239.3 kB / 0.5765 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/0.5552, allocations: 22.08 MB / 0.5981 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002832/0.558, allocations: 2.279 MB / 0.6003 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002461/0.5605, allocations: 0.952 MB / 0.6012 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/0.5619, allocations: 1.046 MB / 0.6023 GB, free: 12.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5619, allocations: 0 / 0.6023 GB, free: 12.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.6241, allocations: 31.99 MB / 0.6335 GB, free: 12.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.225, allocations: 12.88 kB / 0.6335 GB, free: 12.77 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_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_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches