Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",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.001068/0.001068, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001096/0.001096, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.407/1.407, 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.1987/0.1987, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001503/0.001503, allocations: 69.75 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 57.78 MB / 440.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0103/0.1171, allocations: 11.02 MB / 451.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006306/0.1234, allocations: 3.057 MB / 454.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.125, allocations: 59.88 kB / 454.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003716/0.1288, allocations: 2.013 MB / 456.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.132, allocations: 1.202 MB / 458 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.1328, allocations: 291.4 kB / 458.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.1361, allocations: 2.496 MB / 460.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.1389, allocations: 2.407 MB / 463.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.1403, allocations: 0.9695 MB / 464.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.142, allocations: 1.297 MB / 465.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.1424, allocations: 216 kB / 465.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.1438, allocations: 0.7177 MB / 466.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.1449, allocations: 1.227 MB / 467.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.1461, allocations: 1.468 MB / 469 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.1512, allocations: 4.661 MB / 473.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1512, allocations: 0 / 473.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1513, allocations: 4 kB / 473.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.874e-05/0.1513, allocations: 0 / 473.7 MB, free: 5.574 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005761/0.1571, allocations: 3.143 MB / 476.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1572, allocations: 11.89 kB / 476.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006696/0.1578, allocations: 0.5294 MB / 477.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/0.1632, allocations: 1.627 MB / 479 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.1656, allocations: 1.41 MB / 480.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1657, allocations: 164.1 kB / 480.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.1661, allocations: 207.9 kB / 480.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009658/0.1757, allocations: 6.973 MB / 487.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.1758, allocations: 15.86 kB / 487.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.1761, allocations: 95.88 kB / 487.9 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/0.1784, allocations: 1.521 MB / 489.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.1886, allocations: 5.947 MB / 495.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02727/0.2159, allocations: 22.24 MB / 0.5055 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.2201, allocations: 2.2 MB / 0.5076 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.2212, allocations: 0.807 MB / 0.5084 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00644/0.2277, allocations: 3.961 MB / 0.5123 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2277, allocations: 43.22 kB / 0.5123 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.2277, allocations: 0 / 0.5123 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.005713/0.2335, allocations: 2.256 MB / 0.5145 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.2335, allocations: 64.06 kB / 0.5146 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.2361, allocations: 2.064 MB / 0.5166 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.2362, allocations: 41.69 kB / 0.5166 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.2374, allocations: 2.007 MB / 0.5186 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.2377, allocations: 371.2 kB / 0.5189 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007429/0.2385, allocations: 0.6746 MB / 0.5196 GB, free: 9.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2386, allocations: 365.9 kB / 0.5199 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.24, allocations: 0.9941 MB / 0.5209 GB, free: 8.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.2425, allocations: 2.995 MB / 0.5238 GB, free: 4.383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2046/0.4471, allocations: 4.357 MB / 0.5281 GB, free: 84.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.763e-05/0.4472, allocations: 21.81 kB / 0.5281 GB, free: 84.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00616/0.4533, allocations: 3.881 MB / 0.5319 GB, free: 84.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.4534, allocations: 39.38 kB / 0.5319 GB, free: 84.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.103e-05/0.4535, allocations: 70.97 kB / 0.532 GB, free: 84.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-05/0.4536, allocations: 91.03 kB / 0.5321 GB, free: 84.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.4556, allocations: 0.7275 MB / 0.5328 GB, free: 84.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/0.4557, allocations: 137.4 kB / 0.5329 GB, free: 84.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.458, allocations: 449.5 kB / 0.5334 GB, free: 83.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/0.4583, allocations: 206.3 kB / 0.5336 GB, free: 83.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002383/0.4607, allocations: 1.476 MB / 0.535 GB, free: 83.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.461, allocations: 177 kB / 0.5352 GB, free: 83.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.463, allocations: 1.24 MB / 0.5364 GB, free: 83.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.463, allocations: 12.66 kB / 0.5364 GB, free: 83.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4631, allocations: 0 / 0.5364 GB, free: 83.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.4631, allocations: 4.75 kB / 0.5364 GB, free: 83.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.4719, allocations: 5.026 MB / 0.5413 GB, free: 81.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.472, allocations: 10.03 kB / 0.5413 GB, free: 81.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.4726, allocations: 145.9 kB / 0.5415 GB, free: 81.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.4726, allocations: 15.69 kB / 0.5415 GB, free: 81.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.4727, allocations: 27.67 kB / 0.5415 GB, free: 81.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.4727, allocations: 15.75 kB / 0.5415 GB, free: 81.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.4727, allocations: 15.72 kB / 0.5415 GB, free: 81.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4745, allocations: 1.587 MB / 0.5431 GB, free: 80.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.4749, allocations: 269 kB / 0.5433 GB, free: 80.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.4751, allocations: 23.69 kB / 0.5434 GB, free: 80.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.4757, allocations: 42.78 kB / 0.5434 GB, free: 80.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4758, allocations: 87.2 kB / 0.5435 GB, free: 80.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-05/0.4759, allocations: 43.59 kB / 0.5435 GB, free: 80.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.4774, allocations: 1.346 MB / 0.5448 GB, free: 79.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4774, allocations: 0 / 0.5448 GB, free: 79.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002718/0.4801, allocations: 0.7683 MB / 0.5456 GB, free: 79.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.001731/0.4818, allocations: 2.198 MB / 0.5477 GB, free: 78.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003307/0.4852, allocations: 2.558 MB / 0.5502 GB, free: 77.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.4852, allocations: 6.562 kB / 0.5502 GB, free: 77.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.4858, allocations: 0.5635 MB / 0.5508 GB, free: 77.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4872, allocations: 274.5 kB / 0.5511 GB, free: 77.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.511, allocations: 24.62 MB / 0.5751 GB, free: 50.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.513, allocations: 2.458 MB / 0.5775 GB, free: 48.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002267/0.5153, allocations: 1.042 MB / 0.5785 GB, free: 47.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.5166, allocations: 1.167 MB / 0.5797 GB, free: 45.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5166, allocations: 4 kB / 0.5797 GB, free: 45.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0513/0.5679, allocations: 35.15 MB / 0.614 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/9.331, allocations: 3.75 kB / 0.614 GB, free: 10.77 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_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_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches