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.001612/0.001612, allocations: 105.8 kB / 16.41 MB, free: 6.441 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.001756/0.001756, allocations: 189 kB / 17.34 MB, free: 5.711 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.278/1.278, 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.1889/0.1889, allocations: 43.53 MB / 314.1 MB, free: 436 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.001456/0.001456, allocations: 69.62 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09689, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01176/0.1087, allocations: 11.04 MB / 0.4982 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.1156, allocations: 3.053 MB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.1171, allocations: 59.88 kB / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.1212, allocations: 2.013 MB / 0.5032 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.1246, allocations: 1.234 MB / 0.5044 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.1255, allocations: 299.4 kB / 0.5047 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003335/0.1289, allocations: 2.497 MB / 0.5071 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.1317, allocations: 2.395 MB / 0.5094 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.1333, allocations: 0.9656 MB / 0.5104 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.1351, allocations: 1.297 MB / 0.5117 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.1356, allocations: 220 kB / 0.5119 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.137, allocations: 0.71 MB / 0.5126 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.1382, allocations: 1.243 MB / 0.5138 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.14, allocations: 1.476 MB / 0.5152 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.1453, allocations: 4.855 MB / 0.5199 GB, free: 10.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1454, allocations: 3.984 kB / 0.52 GB, free: 10.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1454, allocations: 0 / 0.52 GB, free: 10.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.1455, allocations: 0 / 0.52 GB, free: 10.75 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.0065/0.152, allocations: 3.224 MB / 0.5231 GB, free: 7.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.1521, allocations: 11.89 kB / 0.5231 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/0.1533, allocations: 0.5333 MB / 0.5236 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.159, allocations: 1.641 MB / 0.5252 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.1621, allocations: 1.43 MB / 0.5266 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1623, allocations: 164.1 kB / 0.5268 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005678/0.1628, allocations: 207.9 kB / 0.527 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2082/0.371, allocations: 6.959 MB / 0.5338 GB, free: 36.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.3712, allocations: 17.56 kB / 0.5338 GB, free: 36.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006231/0.3718, allocations: 97.23 kB / 0.5339 GB, free: 36.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002604/0.3744, allocations: 1.521 MB / 0.5354 GB, free: 36.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.3867, allocations: 5.951 MB / 0.5412 GB, free: 34.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.4117, allocations: 22.14 MB / 0.5628 GB, free: 20.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.4155, allocations: 2.199 MB / 0.565 GB, free: 18.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/0.4164, allocations: 0.8028 MB / 0.5657 GB, free: 18.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005897/0.4223, allocations: 3.971 MB / 0.5696 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4223, allocations: 39.22 kB / 0.5697 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.198e-06/0.4223, allocations: 0 / 0.5697 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005072/0.4274, allocations: 2.267 MB / 0.5719 GB, free: 13.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.4275, allocations: 56.06 kB / 0.5719 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.4295, allocations: 2.062 MB / 0.5739 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.4296, allocations: 41.64 kB / 0.574 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/0.4303, allocations: 2.087 MB / 0.576 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.4305, allocations: 397 kB / 0.5764 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/0.4311, allocations: 0.6732 MB / 0.5771 GB, free: 8.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.4311, allocations: 369.8 kB / 0.5774 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.4322, allocations: 0.9901 MB / 0.5784 GB, free: 6.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4339, allocations: 2.997 MB / 0.5813 GB, free: 2.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.4375, allocations: 4.356 MB / 0.5856 GB, free: 13.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-05/0.4375, allocations: 20 kB / 0.5856 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005477/0.443, allocations: 3.899 MB / 0.5894 GB, free: 9.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.4431, allocations: 36 kB / 0.5894 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.949e-05/0.4431, allocations: 72 kB / 0.5895 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.221e-05/0.4432, allocations: 96.69 kB / 0.5896 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.4453, allocations: 0.7291 MB / 0.5903 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.601e-05/0.4454, allocations: 143.4 kB / 0.5904 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.4473, allocations: 468.5 kB / 0.5909 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.4475, allocations: 202 kB / 0.5911 GB, free: 7.879 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.001901/0.4494, allocations: 1.466 MB / 0.5925 GB, free: 6.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.4497, allocations: 182.7 kB / 0.5927 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4516, allocations: 1.246 MB / 0.5939 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4516, allocations: 12 kB / 0.5939 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4516, allocations: 0 / 0.5939 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4516, allocations: 3.984 kB / 0.5939 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.459, allocations: 5.043 MB / 0.5988 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4591, allocations: 12.06 kB / 0.5988 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.4596, allocations: 140.5 kB / 0.599 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.4596, allocations: 16 kB / 0.599 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.4597, allocations: 24 kB / 0.599 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/0.4597, allocations: 19.92 kB / 0.599 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.4597, allocations: 15.94 kB / 0.599 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4615, allocations: 1.59 MB / 0.6006 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.4619, allocations: 275.6 kB / 0.6009 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4621, allocations: 28.86 kB / 0.6009 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.4627, allocations: 35.97 kB / 0.6009 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4628, allocations: 87.67 kB / 0.601 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.4629, allocations: 36 kB / 0.601 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.4645, allocations: 1.352 MB / 0.6024 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4645, allocations: 0 / 0.6024 GB, free: 11.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002356/0.4668, allocations: 0.7826 MB / 0.6031 GB, free: 11.12 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.00213/0.469, allocations: 2.211 MB / 0.6053 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.4721, allocations: 2.329 MB / 0.6076 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4722, allocations: 1.938 kB / 0.6076 GB, free: 6.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.4728, allocations: 0.5632 MB / 0.6081 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.4741, allocations: 261.2 kB / 0.6084 GB, free: 5.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/0.5015, allocations: 23.24 MB / 0.6311 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/0.5039, allocations: 2.458 MB / 0.6335 GB, free: 9.086 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002073/0.506, allocations: 1.036 MB / 0.6345 GB, free: 8.047 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.5073, allocations: 1.171 MB / 0.6356 GB, free: 6.875 MB / 478.1 MB Notification: Performance of SimCode: time 1.894e-06/0.5073, allocations: 0 / 0.6356 GB, free: 6.875 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.5654, allocations: 35.82 MB / 0.6706 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.75, allocations: 19.92 kB / 0.6706 GB, free: 2.992 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