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.001297/0.001297, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001232/0.001232, allocations: 191.8 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.352/1.352, 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.2071/0.2071, allocations: 43.52 MB / 314.1 MB, free: 460 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.002059/0.002059, allocations: 73.45 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09876, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01241/0.1112, allocations: 11.04 MB / 0.4982 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00582/0.1171, allocations: 3.053 MB / 0.5012 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007433/0.1178, allocations: 55.88 kB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.1215, allocations: 2.017 MB / 0.5032 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.1241, allocations: 1.206 MB / 0.5044 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1248, allocations: 291.5 kB / 0.5046 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1278, allocations: 2.504 MB / 0.5071 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.1305, allocations: 2.399 MB / 0.5094 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.1316, allocations: 0.9617 MB / 0.5104 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1333, allocations: 1.297 MB / 0.5116 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.1337, allocations: 220 kB / 0.5118 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1349, allocations: 0.7099 MB / 0.5125 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.1361, allocations: 1.235 MB / 0.5137 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.1375, allocations: 1.472 MB / 0.5152 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.1427, allocations: 4.859 MB / 0.5199 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1427, allocations: 0 / 0.5199 GB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1427, allocations: 0 / 0.5199 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.79e-05/0.1429, allocations: 0 / 0.5199 GB, free: 10.84 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.005886/0.1487, allocations: 3.227 MB / 0.5231 GB, free: 7.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1488, allocations: 15.89 kB / 0.5231 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000656/0.1495, allocations: 0.5216 MB / 0.5236 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.1551, allocations: 1.644 MB / 0.5252 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.1578, allocations: 1.426 MB / 0.5266 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.1579, allocations: 168.1 kB / 0.5268 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004194/0.1584, allocations: 207.9 kB / 0.5269 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1924/0.3508, allocations: 6.962 MB / 0.5337 GB, free: 36.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.3508, allocations: 17.03 kB / 0.5338 GB, free: 36.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.3511, allocations: 100.2 kB / 0.5339 GB, free: 36.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/0.3533, allocations: 1.521 MB / 0.5353 GB, free: 36.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.3634, allocations: 5.952 MB / 0.5412 GB, free: 34.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02459/0.3881, allocations: 22.14 MB / 0.5628 GB, free: 20.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/0.3919, allocations: 2.198 MB / 0.5649 GB, free: 18.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.3929, allocations: 0.8042 MB / 0.5657 GB, free: 18.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005306/0.3982, allocations: 3.964 MB / 0.5696 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3982, allocations: 47.08 kB / 0.5696 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.926e-06/0.3982, allocations: 0 / 0.5696 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005035/0.4033, allocations: 2.262 MB / 0.5718 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4033, allocations: 60.06 kB / 0.5719 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.4054, allocations: 2.061 MB / 0.5739 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.4055, allocations: 37.7 kB / 0.5739 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006983/0.4062, allocations: 2.086 MB / 0.576 GB, free: 9.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.4064, allocations: 393.5 kB / 0.5764 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006219/0.4071, allocations: 0.6773 MB / 0.577 GB, free: 8.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.4072, allocations: 369.9 kB / 0.5774 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4083, allocations: 0.9902 MB / 0.5783 GB, free: 6.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4099, allocations: 3.002 MB / 0.5813 GB, free: 2.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/0.4141, allocations: 4.355 MB / 0.5855 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-05/0.4141, allocations: 20 kB / 0.5855 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006456/0.4206, allocations: 3.9 MB / 0.5894 GB, free: 9.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.4207, allocations: 36 kB / 0.5894 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/0.4207, allocations: 72 kB / 0.5895 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4209, allocations: 92 kB / 0.5895 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.423, allocations: 0.729 MB / 0.5903 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/0.4231, allocations: 139.5 kB / 0.5904 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.4252, allocations: 471.6 kB / 0.5908 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.4255, allocations: 210.4 kB / 0.591 GB, free: 7.98 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.002098/0.4276, allocations: 1.462 MB / 0.5925 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.4279, allocations: 182.7 kB / 0.5926 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.43, allocations: 1.251 MB / 0.5939 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.43, allocations: 8 kB / 0.5939 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.43, allocations: 4 kB / 0.5939 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.43, allocations: 3.984 kB / 0.5939 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/0.438, allocations: 5.032 MB / 0.5988 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.438, allocations: 12.97 kB / 0.5988 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.4386, allocations: 139.8 kB / 0.5989 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.808e-05/0.4386, allocations: 20 kB / 0.599 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.4387, allocations: 24 kB / 0.599 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.997e-05/0.4387, allocations: 19.88 kB / 0.599 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/0.4387, allocations: 19.92 kB / 0.599 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.4408, allocations: 1.59 MB / 0.6006 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.4412, allocations: 279.6 kB / 0.6008 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4414, allocations: 24 kB / 0.6009 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.442, allocations: 35.97 kB / 0.6009 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.4421, allocations: 87.61 kB / 0.601 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.4422, allocations: 36 kB / 0.601 GB, free: 13.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.4441, allocations: 1.352 MB / 0.6023 GB, free: 12.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4441, allocations: 3.938 kB / 0.6023 GB, free: 12.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002619/0.4467, allocations: 0.7787 MB / 0.6031 GB, free: 11.23 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.002543/0.4493, allocations: 2.211 MB / 0.6053 GB, free: 8.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.453, allocations: 2.326 MB / 0.6075 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.453, allocations: 0 / 0.6075 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008064/0.4538, allocations: 0.5573 MB / 0.6081 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.4552, allocations: 261.9 kB / 0.6083 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/0.4879, allocations: 23.25 MB / 0.631 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/0.4906, allocations: 2.45 MB / 0.6334 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002388/0.493, allocations: 1.049 MB / 0.6344 GB, free: 8.148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.4945, allocations: 1.163 MB / 0.6356 GB, free: 6.984 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4945, allocations: 4 kB / 0.6356 GB, free: 6.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/0.5644, allocations: 35.82 MB / 0.6706 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.97, allocations: 11.98 kB / 0.6706 GB, free: 3.102 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