Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001634/0.001634, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2353/0.2353, allocations: 46.92 MB / 357 MB, free: 10.19 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 84.2 kB / 0.491 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1325, allocations: 66.04 MB / 0.5555 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01274/0.1453, allocations: 10.16 MB / 0.5654 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007481/0.1528, allocations: 3.088 MB / 0.5684 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.1544, allocations: 59.81 kB / 0.5684 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00529/0.1597, allocations: 2.64 MB / 0.571 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.1631, allocations: 1.203 MB / 0.5722 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1642, allocations: 347.4 kB / 0.5725 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.1685, allocations: 2.552 MB / 0.575 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003786/0.1723, allocations: 2.488 MB / 0.5775 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.1743, allocations: 1.067 MB / 0.5785 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.1768, allocations: 1.484 MB / 0.5799 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007723/0.1776, allocations: 252 kB / 0.5802 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.1794, allocations: 0.7802 MB / 0.5809 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001873/0.1812, allocations: 1.367 MB / 0.5823 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.1838, allocations: 1.55 MB / 0.5838 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007374/0.1912, allocations: 5.132 MB / 0.5888 GB, free: 3.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1912, allocations: 3.938 kB / 0.5888 GB, free: 3.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1912, allocations: 0 / 0.5888 GB, free: 3.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001941/0.1914, allocations: 0 / 0.5888 GB, free: 3.258 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.2496/0.441, allocations: 3.344 MB / 0.5921 GB, free: 33.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.441, allocations: 10.03 kB / 0.5921 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001387/0.4424, allocations: 0.5445 MB / 0.5926 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/0.4483, allocations: 1.626 MB / 0.5942 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.4518, allocations: 1.505 MB / 0.5957 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.452, allocations: 181.7 kB / 0.5958 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008864/0.4528, allocations: 232.7 kB / 0.5961 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.4684, allocations: 7.114 MB / 0.603 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.4685, allocations: 13.56 kB / 0.603 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006248/0.4691, allocations: 105.8 kB / 0.6031 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002647/0.4717, allocations: 1.442 MB / 0.6045 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.4853, allocations: 5.947 MB / 0.6103 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.5158, allocations: 22.36 MB / 0.6322 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004461/0.5202, allocations: 2.122 MB / 0.6343 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/0.5212, allocations: 0.6995 MB / 0.6349 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006124/0.5273, allocations: 3.862 MB / 0.6387 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.5274, allocations: 43.12 kB / 0.6387 GB, free: 2.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/0.5274, allocations: 0 / 0.6387 GB, free: 2.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006247/0.5336, allocations: 2.253 MB / 0.6409 GB, free: 196 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5336, allocations: 66.41 kB / 0.641 GB, free: 120 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.5372, allocations: 2.056 MB / 0.643 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.5374, allocations: 33.7 kB / 0.6431 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/0.5393, allocations: 2.118 MB / 0.6451 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.5399, allocations: 361.2 kB / 0.6455 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.541, allocations: 0.653 MB / 0.6461 GB, free: 10.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.5412, allocations: 365.9 kB / 0.6464 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.5428, allocations: 0.9391 MB / 0.6474 GB, free: 9.562 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/0.5463, allocations: 2.864 MB / 0.6502 GB, free: 5.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005445/0.5517, allocations: 4.151 MB / 0.6542 GB, free: 0.625 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/0.5518, allocations: 20 kB / 0.6542 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007264/0.5591, allocations: 3.715 MB / 0.6579 GB, free: 12.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.5591, allocations: 33.72 kB / 0.6579 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-05/0.5592, allocations: 72 kB / 0.658 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.704e-05/0.5593, allocations: 92.03 kB / 0.6581 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.5617, allocations: 0.6901 MB / 0.6587 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001288/0.5618, allocations: 131.5 kB / 0.6589 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.5643, allocations: 444.7 kB / 0.6593 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/0.5648, allocations: 199.9 kB / 0.6595 GB, free: 11.24 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (382): * Single equations (assignments): 377 * 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.002709/0.5675, allocations: 1.499 MB / 0.6609 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/0.5679, allocations: 179.6 kB / 0.6611 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.5685, allocations: 226.1 kB / 0.6613 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-05/0.5685, allocations: 11.98 kB / 0.6613 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.5685, allocations: 0 / 0.6613 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5685, allocations: 4 kB / 0.6613 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009802/0.5783, allocations: 4.932 MB / 0.6662 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5784, allocations: 12.22 kB / 0.6662 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.5789, allocations: 116.7 kB / 0.6663 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.758e-05/0.5789, allocations: 15.94 kB / 0.6663 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.579, allocations: 20 kB / 0.6663 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-05/0.579, allocations: 19.92 kB / 0.6663 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/0.579, allocations: 11.94 kB / 0.6663 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.5809, allocations: 1.415 MB / 0.6677 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.5815, allocations: 295.5 kB / 0.668 GB, free: 2.172 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.5817, allocations: 27.94 kB / 0.668 GB, free: 2.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.5824, allocations: 39.92 kB / 0.6681 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5825, allocations: 64.5 kB / 0.6681 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.5826, allocations: 32 kB / 0.6682 GB, free: 2.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002593/0.5852, allocations: 1.452 MB / 0.6696 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5852, allocations: 0 / 0.6696 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003217/0.5884, allocations: 0.7863 MB / 0.6703 GB, free: 15.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002694/0.5911, allocations: 2.025 MB / 0.6723 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.5948, allocations: 2.083 MB / 0.6744 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.5949, allocations: 0 / 0.6744 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.5956, allocations: 484.2 kB / 0.6748 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.5974, allocations: 268.1 kB / 0.6751 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03965/0.637, allocations: 23.21 MB / 0.6977 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/0.6408, allocations: 2.506 MB / 0.7002 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002517/0.6433, allocations: 1.03 MB / 0.7012 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/0.6453, allocations: 1.21 MB / 0.7024 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/0.6453, allocations: 7.938 kB / 0.7024 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08565/0.731, allocations: 36.97 MB / 0.7385 GB, free: 7.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.76, allocations: 14.94 kB / 0.7385 GB, free: 7.293 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutForceAndTorque.torque[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.913390843081288]