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.001114/0.001114, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.00114/0.00114, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.276/1.276, 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.1938/0.1938, allocations: 43.53 MB / 314.1 MB, free: 468 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.001457/0.001457, allocations: 60.47 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09395, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01216/0.1062, allocations: 11.04 MB / 0.4982 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.1124, allocations: 3.053 MB / 0.5012 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1137, allocations: 51.94 kB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.1175, allocations: 2.021 MB / 0.5032 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1202, allocations: 1.206 MB / 0.5044 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.121, allocations: 295.4 kB / 0.5046 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.1242, allocations: 2.493 MB / 0.5071 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.127, allocations: 2.403 MB / 0.5094 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.1283, allocations: 0.9656 MB / 0.5104 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.1298, allocations: 1.293 MB / 0.5116 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.1302, allocations: 220 kB / 0.5118 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1312, allocations: 0.7138 MB / 0.5125 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009833/0.1322, allocations: 1.247 MB / 0.5137 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.1336, allocations: 1.468 MB / 0.5152 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.1378, allocations: 4.831 MB / 0.5199 GB, free: 10.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1378, allocations: 4 kB / 0.5199 GB, free: 10.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1378, allocations: 0 / 0.5199 GB, free: 10.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.301e-05/0.1379, allocations: 0 / 0.5199 GB, free: 10.87 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.004593/0.1425, allocations: 3.151 MB / 0.523 GB, free: 7.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1426, allocations: 11.89 kB / 0.523 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005491/0.1431, allocations: 0.5255 MB / 0.5235 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/0.1486, allocations: 1.627 MB / 0.5251 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.1514, allocations: 1.422 MB / 0.5265 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1516, allocations: 168.1 kB / 0.5266 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.1519, allocations: 203.9 kB / 0.5268 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1867/0.3386, allocations: 6.963 MB / 0.5336 GB, free: 36.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/0.3387, allocations: 15.58 kB / 0.5336 GB, free: 36.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.339, allocations: 94 kB / 0.5337 GB, free: 36.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.3413, allocations: 1.536 MB / 0.5352 GB, free: 36.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.352, allocations: 5.946 MB / 0.541 GB, free: 34.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.379, allocations: 22.08 MB / 0.5626 GB, free: 20.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.3829, allocations: 2.191 MB / 0.5647 GB, free: 18.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00095/0.3838, allocations: 0.7999 MB / 0.5655 GB, free: 18.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006047/0.3899, allocations: 3.961 MB / 0.5694 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3899, allocations: 38 kB / 0.5694 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.986e-06/0.39, allocations: 0 / 0.5694 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.00494/0.3949, allocations: 2.264 MB / 0.5716 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.3949, allocations: 56.06 kB / 0.5717 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.3968, allocations: 2.06 MB / 0.5737 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.3969, allocations: 37.7 kB / 0.5737 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.3975, allocations: 2.005 MB / 0.5757 GB, free: 9.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.3977, allocations: 378.3 kB / 0.5761 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005787/0.3983, allocations: 0.6808 MB / 0.5767 GB, free: 8.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.3984, allocations: 361.9 kB / 0.5771 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.3994, allocations: 0.9941 MB / 0.578 GB, free: 6.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4011, allocations: 2.993 MB / 0.581 GB, free: 2.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.4047, allocations: 4.355 MB / 0.5852 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.4047, allocations: 20 kB / 0.5852 GB, free: 13.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005352/0.4101, allocations: 3.889 MB / 0.589 GB, free: 9.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.4101, allocations: 41.91 kB / 0.5891 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.3e-05/0.4102, allocations: 72 kB / 0.5891 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.094e-05/0.4103, allocations: 92.72 kB / 0.5892 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.4123, allocations: 0.7257 MB / 0.5899 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-05/0.4124, allocations: 143.4 kB / 0.5901 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4142, allocations: 453.2 kB / 0.5905 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.4145, allocations: 204 kB / 0.5907 GB, free: 7.984 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.001932/0.4165, allocations: 1.465 MB / 0.5921 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4167, allocations: 182.4 kB / 0.5923 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4186, allocations: 1.237 MB / 0.5935 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.4187, allocations: 12 kB / 0.5935 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4187, allocations: 0 / 0.5935 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4187, allocations: 3.984 kB / 0.5935 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/0.4267, allocations: 5.028 MB / 0.5984 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.4267, allocations: 16.66 kB / 0.5985 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.4273, allocations: 139.7 kB / 0.5986 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.4273, allocations: 16 kB / 0.5986 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.4274, allocations: 31.98 kB / 0.5986 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/0.4274, allocations: 16.62 kB / 0.5987 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-05/0.4275, allocations: 15.94 kB / 0.5987 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.4293, allocations: 1.584 MB / 0.6002 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.4297, allocations: 274.1 kB / 0.6005 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.43, allocations: 28 kB / 0.6005 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.4306, allocations: 35.97 kB / 0.6005 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4307, allocations: 80.77 kB / 0.6006 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.4308, allocations: 47.98 kB / 0.6007 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001778/0.4326, allocations: 1.344 MB / 0.602 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4326, allocations: 0 / 0.602 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002462/0.4351, allocations: 0.7736 MB / 0.6027 GB, free: 11.27 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.002314/0.4374, allocations: 2.197 MB / 0.6049 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4407, allocations: 2.323 MB / 0.6071 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4408, allocations: 1.812 kB / 0.6071 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.4415, allocations: 0.5672 MB / 0.6077 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.4428, allocations: 268.3 kB / 0.608 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/0.4736, allocations: 23.12 MB / 0.6305 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.4764, allocations: 2.454 MB / 0.6329 GB, free: 9.383 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002265/0.4787, allocations: 1.043 MB / 0.634 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/0.4801, allocations: 1.171 MB / 0.6351 GB, free: 7.164 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4801, allocations: 0 / 0.6351 GB, free: 7.164 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06134/0.5415, allocations: 36.21 MB / 0.6705 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.49, allocations: 15.58 kB / 0.6705 GB, free: 2.895 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