Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",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.00117/0.00117, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001755/0.001756, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2043/0.2043, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.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.001638/0.001638, allocations: 64.84 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.0936, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01666/0.1103, allocations: 18 MB / 458.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1222, allocations: 5.42 MB / 464 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003421/0.1257, allocations: 135.6 kB / 464.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.137, allocations: 6.098 MB / 470.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007628/0.1447, allocations: 3.174 MB / 473.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.1482, allocations: 1.583 MB / 475 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.159, allocations: 8.383 MB / 483.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.1702, allocations: 7.744 MB / 491.2 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006569/0.1768, allocations: 3.283 MB / 494.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007222/0.1841, allocations: 4.315 MB / 498.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.1875, allocations: 0.668 MB / 499.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/0.1929, allocations: 1.475 MB / 0.4892 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005609/0.1986, allocations: 3.97 MB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008286/0.2069, allocations: 4.478 MB / 0.4974 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01778/0.2247, allocations: 13.21 MB / 0.5103 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.2248, allocations: 0 / 0.5103 GB, free: 4.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.2248, allocations: 0 / 0.5103 GB, free: 4.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007615/0.2256, allocations: 0 / 0.5103 GB, free: 4.547 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02511/0.2507, allocations: 9.613 MB / 0.5197 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2508, allocations: 11.89 kB / 0.5197 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003709/0.2545, allocations: 1.369 MB / 0.521 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.2671, allocations: 2.762 MB / 0.5237 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3602/0.6273, allocations: 6.628 MB / 0.5302 GB, free: 79.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/0.628, allocations: 478.9 kB / 0.5307 GB, free: 79.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.6302, allocations: 0.6118 MB / 0.5313 GB, free: 79.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/0.6678, allocations: 19.49 MB / 0.5503 GB, free: 72.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/0.6681, allocations: 78.41 kB / 0.5504 GB, free: 72.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.6692, allocations: 299.2 kB / 0.5507 GB, free: 72.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/0.674, allocations: 3.643 MB / 0.5542 GB, free: 71.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02756/0.7015, allocations: 15.17 MB / 0.569 GB, free: 56.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0862/0.7878, allocations: 73.16 MB / 0.6405 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/0.8049, allocations: 6.101 MB / 0.6464 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003996/0.8089, allocations: 2.543 MB / 0.6489 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/0.8289, allocations: 11.18 MB / 0.6598 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.829, allocations: 64.5 kB / 0.6599 GB, free: 9.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 6.702e-06/0.829, allocations: 0 / 0.6599 GB, free: 9.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=274): time 0.04596/0.875, allocations: 16.49 MB / 0.676 GB, free: 9.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.8751, allocations: 158.5 kB / 0.6762 GB, free: 8.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.8866, allocations: 6.818 MB / 0.6828 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004707/0.8871, allocations: 69.7 kB / 0.6829 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004744/0.8919, allocations: 5.747 MB / 0.6885 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00128/0.8931, allocations: 1.053 MB / 0.6895 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003597/0.8968, allocations: 1.872 MB / 0.6914 GB, free: 9.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8969, allocations: 305.1 kB / 0.6916 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005366/0.9023, allocations: 2.743 MB / 0.6943 GB, free: 6.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009316/0.9116, allocations: 8.622 MB / 0.7027 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/0.9264, allocations: 12.39 MB / 0.7148 GB, free: 11.32 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/0.9266, allocations: 63.94 kB / 0.7149 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02289/0.9495, allocations: 11.03 MB / 0.7257 GB, free: 224 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002979/0.9499, allocations: 92.19 kB / 0.7258 GB, free: 132 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2027/1.153, allocations: 211.3 kB / 0.726 GB, free: 165 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/1.153, allocations: 275.2 kB / 0.7262 GB, free: 165 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007138/1.16, allocations: 2.181 MB / 0.7284 GB, free: 165 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000301/1.16, allocations: 410.7 kB / 0.7287 GB, free: 165 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006434/1.167, allocations: 465.8 kB / 0.7292 GB, free: 165 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/1.168, allocations: 0.5693 MB / 0.7297 GB, free: 165 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1168 * Array equations: 11 * 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.00627/1.174, allocations: 3.771 MB / 0.7334 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.175, allocations: 0.585 MB / 0.734 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/1.18, allocations: 2.995 MB / 0.7369 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/1.181, allocations: 32.69 kB / 0.737 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.181, allocations: 1.891 kB / 0.737 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/1.181, allocations: 13.02 kB / 0.737 GB, free: 164.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03124/1.212, allocations: 25.16 MB / 0.7615 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.244e-05/1.212, allocations: 63.38 kB / 0.7616 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.214, allocations: 0.6068 MB / 0.7622 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/1.214, allocations: 83.16 kB / 0.7623 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.214, allocations: 135.9 kB / 0.7624 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-05/1.214, allocations: 121.9 kB / 0.7625 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.259e-05/1.214, allocations: 103.3 kB / 0.7626 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/1.219, allocations: 5.895 MB / 0.7684 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.22, allocations: 0.7067 MB / 0.7691 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/1.22, allocations: 155.2 kB / 0.7692 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/1.223, allocations: 150.8 kB / 0.7693 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/1.223, allocations: 421.2 kB / 0.7697 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.223, allocations: 175.8 kB / 0.7699 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005131/1.228, allocations: 4.261 MB / 0.7741 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.01e-07/1.228, allocations: 0 / 0.7741 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007907/1.236, allocations: 1.548 MB / 0.7756 GB, free: 144 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.005697/1.242, allocations: 6.663 MB / 0.7821 GB, free: 136.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009239/1.251, allocations: 6.64 MB / 0.7886 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-05/1.251, allocations: 8 kB / 0.7886 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.254, allocations: 1.647 MB / 0.7902 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/1.26, allocations: 0.9825 MB / 0.7912 GB, free: 127.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/1.374, allocations: 93.58 MB / 0.8825 GB, free: 19.07 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01028/1.384, allocations: 5.802 MB / 0.8882 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008622/1.393, allocations: 2.896 MB / 0.891 GB, free: 10.35 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005576/1.399, allocations: 3.811 MB / 0.8948 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of SimCode: time 1.082e-06/1.399, allocations: 4 kB / 0.8948 GB, free: 6.535 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3656/1.764, allocations: 111.4 MB / 1.004 GB, free: 145.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/13.19, allocations: 3.609 kB / 1.004 GB, free: 145.3 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches