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.001325/0.001325, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00152/0.00152, allocations: 215.9 kB / 22.99 MB, free: 4.977 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.456/1.456, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2252/0.2252, allocations: 44.26 MB / 330.3 MB, free: 9.395 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",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.002336/0.002336, allocations: 79.83 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1122, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01379/0.126, allocations: 11.02 MB / 0.5269 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007425/0.1334, allocations: 3.213 MB / 0.53 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.1355, allocations: 71.81 kB / 0.5301 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005466/0.141, allocations: 2.582 MB / 0.5326 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.1447, allocations: 1.397 MB / 0.534 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.1457, allocations: 355.3 kB / 0.5343 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004556/0.1503, allocations: 2.867 MB / 0.5371 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.233/0.3833, allocations: 2.446 MB / 0.5395 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.3854, allocations: 1.22 MB / 0.5407 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.388, allocations: 1.639 MB / 0.5423 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007242/0.3888, allocations: 296.4 kB / 0.5426 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.3902, allocations: 0.688 MB / 0.5433 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001666/0.3919, allocations: 1.598 MB / 0.5448 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.3935, allocations: 1.341 MB / 0.5461 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007768/0.4012, allocations: 6.043 MB / 0.552 GB, free: 8.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4012, allocations: 1.781 kB / 0.552 GB, free: 8.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4013, allocations: 0 / 0.552 GB, free: 8.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002274/0.4015, allocations: 2.188 kB / 0.5521 GB, free: 8.879 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.008457/0.4099, allocations: 3.772 MB / 0.5557 GB, free: 7.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.41, allocations: 9.469 kB / 0.5557 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009916/0.411, allocations: 0.632 MB / 0.5564 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.4169, allocations: 1.737 MB / 0.5581 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.4213, allocations: 1.604 MB / 0.5596 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4215, allocations: 205.6 kB / 0.5598 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007894/0.4223, allocations: 275 kB / 0.5601 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.4363, allocations: 8.369 MB / 0.5683 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.816e-05/0.4364, allocations: 17.16 kB / 0.5683 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.4368, allocations: 122.9 kB / 0.5684 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002503/0.4393, allocations: 1.754 MB / 0.5701 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.4528, allocations: 7.029 MB / 0.577 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04197/0.4948, allocations: 24.38 MB / 0.6008 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/0.5005, allocations: 1.983 MB / 0.6027 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.5021, allocations: 0.8846 MB / 0.6036 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009011/0.5111, allocations: 3.79 MB / 0.6073 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5112, allocations: 47.55 kB / 0.6073 GB, free: 2.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 4.208e-06/0.5112, allocations: 0.6875 kB / 0.6073 GB, free: 2.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007561/0.5187, allocations: 2.742 MB / 0.61 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.5188, allocations: 64.41 kB / 0.6101 GB, free: 15.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/0.5226, allocations: 2.397 MB / 0.6124 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.5228, allocations: 41.7 kB / 0.6124 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.5247, allocations: 2.407 MB / 0.6148 GB, free: 10.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006116/0.5253, allocations: 476.3 kB / 0.6152 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.5264, allocations: 0.7581 MB / 0.616 GB, free: 9.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5266, allocations: 309.1 kB / 0.6163 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.5284, allocations: 1.12 MB / 0.6174 GB, free: 8.113 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/0.5321, allocations: 3.282 MB / 0.6206 GB, free: 3.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.5387, allocations: 4.821 MB / 0.6253 GB, free: 14.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.978e-05/0.5387, allocations: 28 kB / 0.6253 GB, free: 14.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007827/0.5466, allocations: 4.321 MB / 0.6295 GB, free: 10.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.5466, allocations: 37 kB / 0.6296 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.683e-05/0.5467, allocations: 76 kB / 0.6296 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001141/0.5468, allocations: 108 kB / 0.6297 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.5494, allocations: 0.8149 MB / 0.6305 GB, free: 9.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001407/0.5496, allocations: 147.4 kB / 0.6307 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.5522, allocations: 0.5118 MB / 0.6312 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.5526, allocations: 226.6 kB / 0.6314 GB, free: 8.23 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.003666/0.5562, allocations: 1.698 MB / 0.6331 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.5567, allocations: 202.6 kB / 0.6332 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.5595, allocations: 1.526 MB / 0.6347 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.5595, allocations: 14.81 kB / 0.6348 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.5595, allocations: 8 kB / 0.6348 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.5595, allocations: 7.984 kB / 0.6348 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5741, allocations: 7.207 MB / 0.6418 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.5741, allocations: 19.56 kB / 0.6418 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.5749, allocations: 187.7 kB / 0.642 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/0.5749, allocations: 20.75 kB / 0.642 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/0.575, allocations: 39.98 kB / 0.6421 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.488e-05/0.575, allocations: 31.86 kB / 0.6421 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-05/0.575, allocations: 27.81 kB / 0.6421 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.5779, allocations: 1.998 MB / 0.6441 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/0.5786, allocations: 257.5 kB / 0.6443 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.5788, allocations: 39.98 kB / 0.6444 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/0.5796, allocations: 54.58 kB / 0.6444 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.5798, allocations: 119.4 kB / 0.6445 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-05/0.5799, allocations: 48 kB / 0.6446 GB, free: 10.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002694/0.5826, allocations: 1.582 MB / 0.6461 GB, free: 8.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5826, allocations: 0 / 0.6461 GB, free: 8.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003841/0.5864, allocations: 0.9382 MB / 0.647 GB, free: 7.75 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.003734/0.5902, allocations: 2.638 MB / 0.6496 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.5951, allocations: 2.545 MB / 0.6521 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.39e-05/0.5951, allocations: 4 kB / 0.6521 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5963, allocations: 0.6614 MB / 0.6527 GB, free: 1.711 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.5985, allocations: 324.7 kB / 0.653 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04949/0.648, allocations: 27.29 MB / 0.6797 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003585/0.6516, allocations: 2.28 MB / 0.6819 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002866/0.6544, allocations: 1.17 MB / 0.6831 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/0.6567, allocations: 1.433 MB / 0.6845 GB, free: 14 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.6567, allocations: 0 / 0.6845 GB, free: 14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0997/0.7564, allocations: 41.34 MB / 0.7248 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.39, allocations: 4.062 kB / 0.7248 GB, free: 4.629 MB / 0.5606 GB " [Timeout remaining time 645] (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: 17.62632795283571]