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.001357/0.001357, allocations: 104.2 kB / 16.41 MB, free: 6.473 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.001397/0.001397, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2218/0.2218, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.002226/0.002226, allocations: 73.61 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1054, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01341/0.1189, allocations: 11.02 MB / 0.4982 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006722/0.1256, allocations: 3.065 MB / 0.5012 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.1272, allocations: 55.94 kB / 0.5012 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.1314, allocations: 2.021 MB / 0.5032 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1346, allocations: 1.199 MB / 0.5044 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.1355, allocations: 291.4 kB / 0.5046 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.1398, allocations: 2.497 MB / 0.5071 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003697/0.1435, allocations: 2.406 MB / 0.5094 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1454, allocations: 0.9656 MB / 0.5104 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1474, allocations: 1.293 MB / 0.5116 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.1481, allocations: 216 kB / 0.5118 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.1496, allocations: 0.7177 MB / 0.5125 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.151, allocations: 1.235 MB / 0.5137 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.1528, allocations: 1.468 MB / 0.5152 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006607/0.1595, allocations: 4.855 MB / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1595, allocations: 0 / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1595, allocations: 0 / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.1597, allocations: 4 kB / 0.5199 GB, free: 10.81 MB / 414.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.007714/0.1674, allocations: 3.231 MB / 0.5231 GB, free: 7.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1675, allocations: 11.89 kB / 0.5231 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009447/0.1684, allocations: 0.5294 MB / 0.5236 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/0.1743, allocations: 1.637 MB / 0.5252 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.1775, allocations: 1.438 MB / 0.5266 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.1777, allocations: 160.1 kB / 0.5268 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000685/0.1783, allocations: 203.9 kB / 0.5269 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2079/0.3862, allocations: 6.966 MB / 0.5338 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.3863, allocations: 14.66 kB / 0.5338 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/0.3867, allocations: 96.83 kB / 0.5339 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/0.3893, allocations: 1.528 MB / 0.5353 GB, free: 36.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.4014, allocations: 5.947 MB / 0.5412 GB, free: 34.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/0.4319, allocations: 22.14 MB / 0.5628 GB, free: 20.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.4359, allocations: 2.19 MB / 0.5649 GB, free: 18.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.4368, allocations: 0.8041 MB / 0.5657 GB, free: 18.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005489/0.4423, allocations: 3.975 MB / 0.5696 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4424, allocations: 37.06 kB / 0.5696 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.4424, allocations: 0 / 0.5696 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005038/0.4474, allocations: 2.27 MB / 0.5718 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.4475, allocations: 60.06 kB / 0.5719 GB, free: 13.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/0.4495, allocations: 2.054 MB / 0.5739 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.4495, allocations: 43.73 kB / 0.5739 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/0.4503, allocations: 2.099 MB / 0.576 GB, free: 9.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.4505, allocations: 391.3 kB / 0.5764 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006207/0.4511, allocations: 0.6735 MB / 0.577 GB, free: 8.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.4512, allocations: 357.9 kB / 0.5774 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.4523, allocations: 0.998 MB / 0.5783 GB, free: 6.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.454, allocations: 3.001 MB / 0.5813 GB, free: 2.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.4582, allocations: 4.355 MB / 0.5855 GB, free: 13.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/0.4583, allocations: 28 kB / 0.5856 GB, free: 13.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.00689/0.4652, allocations: 3.888 MB / 0.5893 GB, free: 9.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.4653, allocations: 36.94 kB / 0.5894 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.715e-05/0.4654, allocations: 68 kB / 0.5894 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.4655, allocations: 96 kB / 0.5895 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.4678, allocations: 0.733 MB / 0.5903 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/0.468, allocations: 143.4 kB / 0.5904 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.4702, allocations: 466.9 kB / 0.5908 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/0.4706, allocations: 200 kB / 0.591 GB, free: 7.926 MB / 430.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.002498/0.4731, allocations: 1.47 MB / 0.5925 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.4734, allocations: 182.7 kB / 0.5926 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.4757, allocations: 1.235 MB / 0.5938 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.4758, allocations: 12 kB / 0.5939 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4758, allocations: 0 / 0.5939 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4758, allocations: 7.984 kB / 0.5939 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.485, allocations: 5.043 MB / 0.5988 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.4851, allocations: 8.75 kB / 0.5988 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.4857, allocations: 143.7 kB / 0.5989 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/0.4858, allocations: 12 kB / 0.5989 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.588e-05/0.4858, allocations: 28 kB / 0.599 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.918e-05/0.4859, allocations: 23.92 kB / 0.599 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.467e-05/0.4859, allocations: 20.67 kB / 0.599 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.4883, allocations: 1.586 MB / 0.6006 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.4888, allocations: 283.6 kB / 0.6008 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.4891, allocations: 27.98 kB / 0.6009 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.4897, allocations: 31.98 kB / 0.6009 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4899, allocations: 87.61 kB / 0.601 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.49, allocations: 44.86 kB / 0.601 GB, free: 13.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.4923, allocations: 1.348 MB / 0.6023 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.4923, allocations: 0 / 0.6023 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003036/0.4953, allocations: 0.7825 MB / 0.6031 GB, free: 11.16 MB / 446.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.002958/0.4983, allocations: 2.208 MB / 0.6053 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.5026, allocations: 2.319 MB / 0.6075 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.5026, allocations: 4 kB / 0.6075 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.5036, allocations: 0.5651 MB / 0.6081 GB, free: 5.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.5054, allocations: 259.7 kB / 0.6083 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/0.5444, allocations: 23.24 MB / 0.631 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/0.5483, allocations: 2.462 MB / 0.6334 GB, free: 9.133 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002649/0.551, allocations: 1.041 MB / 0.6344 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/0.5531, allocations: 1.167 MB / 0.6356 GB, free: 6.922 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5532, allocations: 0 / 0.6356 GB, free: 6.922 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07548/0.6286, allocations: 35.82 MB / 0.6706 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.17, allocations: 23.98 kB / 0.6706 GB, free: 3.031 MB / 0.4981 GB (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