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.001108/0.001108, allocations: 103.8 kB / 16.4 MB, free: 6.43 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.001204/0.001204, allocations: 192.2 kB / 17.34 MB, free: 5.707 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.234/1.234, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1872/0.1872, allocations: 43.52 MB / 314.1 MB, free: 448 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.001588/0.001588, allocations: 65.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.09032, 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.01107/0.1014, allocations: 11.04 MB / 0.4982 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006056/0.1075, allocations: 3.057 MB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.109, allocations: 51.94 kB / 0.5012 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.1128, allocations: 2.017 MB / 0.5032 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.1156, allocations: 1.234 MB / 0.5044 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.1163, allocations: 295.4 kB / 0.5047 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.1191, allocations: 2.493 MB / 0.5071 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.1215, allocations: 2.406 MB / 0.5094 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1226, allocations: 0.9617 MB / 0.5104 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.124, allocations: 1.297 MB / 0.5116 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003673/0.1244, allocations: 220 kB / 0.5119 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1255, allocations: 0.7138 MB / 0.5126 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009675/0.1265, allocations: 1.243 MB / 0.5138 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.1278, allocations: 1.468 MB / 0.5152 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.1319, allocations: 4.835 MB / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1319, allocations: 0 / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1319, allocations: 0 / 0.5199 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.206e-05/0.132, allocations: 0 / 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.004773/0.1368, allocations: 3.155 MB / 0.523 GB, free: 7.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1369, allocations: 11.89 kB / 0.523 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005981/0.1375, allocations: 0.5255 MB / 0.5235 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.1424, allocations: 1.623 MB / 0.5251 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.1448, allocations: 1.429 MB / 0.5265 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1449, allocations: 156.1 kB / 0.5267 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/0.1453, allocations: 207.9 kB / 0.5269 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1925/0.3378, allocations: 6.96 MB / 0.5337 GB, free: 36.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.3379, allocations: 15.03 kB / 0.5337 GB, free: 36.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.3382, allocations: 101.6 kB / 0.5338 GB, free: 36.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002306/0.3405, allocations: 1.528 MB / 0.5353 GB, free: 36.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.3523, allocations: 5.945 MB / 0.5411 GB, free: 34.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.3799, allocations: 22.08 MB / 0.5626 GB, free: 20.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003815/0.3837, allocations: 2.201 MB / 0.5648 GB, free: 18.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.3846, allocations: 0.8002 MB / 0.5656 GB, free: 18.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005477/0.3901, allocations: 3.963 MB / 0.5694 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3902, allocations: 38.12 kB / 0.5695 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.046e-06/0.3902, allocations: 0 / 0.5695 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.004893/0.3951, allocations: 2.259 MB / 0.5717 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3951, allocations: 64.06 kB / 0.5717 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3971, allocations: 2.052 MB / 0.5737 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.3972, allocations: 33.7 kB / 0.5738 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006792/0.3979, allocations: 2.016 MB / 0.5757 GB, free: 9.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.3981, allocations: 377.8 kB / 0.5761 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006018/0.3987, allocations: 0.6767 MB / 0.5768 GB, free: 8.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.3988, allocations: 361.8 kB / 0.5771 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3998, allocations: 0.9941 MB / 0.5781 GB, free: 6.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4015, allocations: 3.001 MB / 0.581 GB, free: 2.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.4051, allocations: 4.352 MB / 0.5853 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/0.4051, allocations: 20 kB / 0.5853 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005548/0.4107, allocations: 3.887 MB / 0.5891 GB, free: 9.637 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.4107, allocations: 36 kB / 0.5891 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.51e-05/0.4108, allocations: 68 kB / 0.5892 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.257e-05/0.4109, allocations: 96 kB / 0.5893 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4129, allocations: 0.7258 MB / 0.59 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.964e-05/0.413, allocations: 139.4 kB / 0.5901 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.4149, allocations: 455.2 kB / 0.5905 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002535/0.4151, allocations: 210.3 kB / 0.5907 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.001797/0.4169, allocations: 1.47 MB / 0.5922 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.4172, allocations: 173.7 kB / 0.5923 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.419, allocations: 1.24 MB / 0.5935 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.419, allocations: 12 kB / 0.5936 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.419, allocations: 0 / 0.5936 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.419, allocations: 3.984 kB / 0.5936 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007136/0.4262, allocations: 5.031 MB / 0.5985 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.4262, allocations: 8 kB / 0.5985 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.4268, allocations: 148.5 kB / 0.5986 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/0.4268, allocations: 12 kB / 0.5986 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.4269, allocations: 31.98 kB / 0.5987 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.4269, allocations: 24.61 kB / 0.5987 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.4269, allocations: 15.94 kB / 0.5987 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.4286, allocations: 1.577 MB / 0.6002 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.429, allocations: 274.4 kB / 0.6005 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.4292, allocations: 31.98 kB / 0.6005 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.4298, allocations: 35.97 kB / 0.6006 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.4299, allocations: 77 kB / 0.6006 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.43, allocations: 40 kB / 0.6007 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001679/0.4317, allocations: 1.352 MB / 0.602 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.4317, allocations: 0 / 0.602 GB, free: 11.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002608/0.4343, allocations: 0.7735 MB / 0.6028 GB, free: 11.21 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.002147/0.4365, allocations: 2.201 MB / 0.6049 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.4397, allocations: 2.327 MB / 0.6072 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4397, allocations: 0 / 0.6072 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.4405, allocations: 0.5613 MB / 0.6077 GB, free: 5.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4418, allocations: 260.5 kB / 0.608 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/0.4685, allocations: 23.13 MB / 0.6306 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.4708, allocations: 2.454 MB / 0.633 GB, free: 9.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002149/0.473, allocations: 1.049 MB / 0.634 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.4743, allocations: 1.163 MB / 0.6351 GB, free: 7.105 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4743, allocations: 0 / 0.6351 GB, free: 7.105 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05621/0.5305, allocations: 35.83 MB / 0.6701 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.24, allocations: 11.98 kB / 0.6701 GB, free: 3.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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