Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 97.91 kB / 20.48 MB, free: 1.367 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 215 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 67.91 kB / 468.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 61.03 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01375/0.1269, allocations: 10.96 MB / 0.5276 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007877/0.1348, allocations: 3.209 MB / 0.5307 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.1369, allocations: 71.81 kB / 0.5308 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005607/0.1425, allocations: 2.57 MB / 0.5333 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.1465, allocations: 1.405 MB / 0.5347 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1476, allocations: 351.3 kB / 0.535 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.1518, allocations: 2.874 MB / 0.5378 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2164/0.3682, allocations: 2.445 MB / 0.5402 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.3706, allocations: 1.219 MB / 0.5414 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.3738, allocations: 1.758 MB / 0.5431 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.3748, allocations: 295.9 kB / 0.5434 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.3767, allocations: 0.6967 MB / 0.5441 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.3789, allocations: 1.598 MB / 0.5456 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.3815, allocations: 1.339 MB / 0.547 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008986/0.3905, allocations: 6.044 MB / 0.5529 GB, free: 8.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3905, allocations: 2.562 kB / 0.5529 GB, free: 8.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3905, allocations: 0 / 0.5529 GB, free: 8.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002763/0.3908, allocations: 0 / 0.5529 GB, free: 8.867 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01276/0.4036, allocations: 3.77 MB / 0.5565 GB, free: 6.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4036, allocations: 9.781 kB / 0.5566 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002285/0.4038, allocations: 95.06 kB / 0.5566 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002697/0.4065, allocations: 0.631 MB / 0.5573 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00703/0.4136, allocations: 1.74 MB / 0.559 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.4184, allocations: 1.606 MB / 0.5605 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.4186, allocations: 209.2 kB / 0.5607 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.4201, allocations: 261.9 kB / 0.561 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.4394, allocations: 8.368 MB / 0.5691 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.4395, allocations: 19.91 kB / 0.5692 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/0.4407, allocations: 118.9 kB / 0.5693 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/0.4435, allocations: 1.763 MB / 0.571 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.4589, allocations: 7.041 MB / 0.5779 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04219/0.5011, allocations: 24.37 MB / 0.6017 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/0.507, allocations: 1.989 MB / 0.6036 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.5087, allocations: 0.8846 MB / 0.6045 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009596/0.5183, allocations: 3.793 MB / 0.6082 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.5184, allocations: 47.53 kB / 0.6082 GB, free: 2.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 4.619e-06/0.5184, allocations: 3.938 kB / 0.6082 GB, free: 2.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.008361/0.5267, allocations: 2.734 MB / 0.6109 GB, free: 15.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.5268, allocations: 64.41 kB / 0.611 GB, free: 15.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/0.5315, allocations: 2.264 MB / 0.6132 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.5317, allocations: 45.7 kB / 0.6132 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.5342, allocations: 2.415 MB / 0.6156 GB, free: 10.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007915/0.5349, allocations: 477.9 kB / 0.616 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/0.5368, allocations: 0.7505 MB / 0.6168 GB, free: 9.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.537, allocations: 309.1 kB / 0.6171 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00248/0.5395, allocations: 1.128 MB / 0.6182 GB, free: 8.031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/0.544, allocations: 3.281 MB / 0.6214 GB, free: 3.719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.551, allocations: 4.819 MB / 0.6261 GB, free: 14.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.786e-05/0.5511, allocations: 20 kB / 0.6261 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009356/0.5605, allocations: 4.331 MB / 0.6303 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.5606, allocations: 36 kB / 0.6304 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/0.5607, allocations: 76.88 kB / 0.6304 GB, free: 9.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.5609, allocations: 100 kB / 0.6305 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.5639, allocations: 0.8188 MB / 0.6313 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/0.5641, allocations: 155.4 kB / 0.6315 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.5671, allocations: 0.504 MB / 0.632 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006874/0.5678, allocations: 222.2 kB / 0.6322 GB, free: 8.152 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (450): * Single equations (assignments): 445 * 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.003867/0.5716, allocations: 1.706 MB / 0.6338 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.5721, allocations: 210.6 kB / 0.634 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.5754, allocations: 1.516 MB / 0.6355 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.5754, allocations: 12 kB / 0.6355 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5754, allocations: 0 / 0.6355 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5754, allocations: 3.984 kB / 0.6355 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/0.5917, allocations: 7.214 MB / 0.6426 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/0.5918, allocations: 15.56 kB / 0.6426 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/0.5927, allocations: 195.6 kB / 0.6428 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-05/0.5927, allocations: 20 kB / 0.6428 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.5928, allocations: 36.59 kB / 0.6428 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.43e-05/0.5928, allocations: 27.92 kB / 0.6429 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-05/0.5929, allocations: 31.81 kB / 0.6429 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.5959, allocations: 2 MB / 0.6449 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006823/0.5966, allocations: 262.1 kB / 0.6451 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000448/0.597, allocations: 37.95 kB / 0.6451 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5981, allocations: 51.91 kB / 0.6452 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.5983, allocations: 115.4 kB / 0.6453 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.5984, allocations: 59.98 kB / 0.6454 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003151/0.6015, allocations: 1.57 MB / 0.6469 GB, free: 8.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6015, allocations: 7.938 kB / 0.6469 GB, free: 8.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003716/0.6053, allocations: 0.9406 MB / 0.6478 GB, free: 7.664 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.003732/0.609, allocations: 2.635 MB / 0.6504 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004918/0.6139, allocations: 2.542 MB / 0.6529 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/0.6139, allocations: 8.062 kB / 0.6529 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.6151, allocations: 0.6665 MB / 0.6535 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.6175, allocations: 318.5 kB / 0.6538 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05016/0.6677, allocations: 27.29 MB / 0.6805 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005006/0.6727, allocations: 2.273 MB / 0.6827 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00328/0.6759, allocations: 1.168 MB / 0.6838 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002866/0.6788, allocations: 1.436 MB / 0.6852 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/0.6788, allocations: 0 / 0.6852 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08512/0.7639, allocations: 42.7 MB / 0.7269 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/18.8, allocations: 7.922 kB / 0.727 GB, free: 3.195 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.509882102021948]