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.0009019/0.0009019, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009777/0.0009777, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9148/0.9148, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2514/0.2514, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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 1.372e-06/1.372e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.84e-05, allocations: 4.953 kB / 442.2 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1962/0.1962, allocations: 8.922 MB / 451.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.1995, allocations: 2.926 MB / 454 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.1999, allocations: 61.34 kB / 454.1 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.202, allocations: 2.669 MB / 456.7 MB, free: 36.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.2033, allocations: 1.245 MB / 458 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.2037, allocations: 377.3 kB / 458.3 MB, free: 35.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.2053, allocations: 2.584 MB / 460.9 MB, free: 34.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.2067, allocations: 2.261 MB / 463.2 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008349/0.2075, allocations: 1.546 MB / 464.7 MB, free: 33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.2083, allocations: 1.331 MB / 466.1 MB, free: 32.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2085, allocations: 251.7 kB / 466.3 MB, free: 32.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.2091, allocations: 0.7031 MB / 467 MB, free: 32.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.2097, allocations: 1.416 MB / 468.4 MB, free: 31.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.2102, allocations: 0.8757 MB / 469.3 MB, free: 31.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.2126, allocations: 5.092 MB / 474.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2126, allocations: 0 / 474.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2126, allocations: 4 kB / 474.4 MB, free: 29.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.2127, allocations: 0 / 474.4 MB, free: 29.65 MB / 410.7 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.002852/0.2155, allocations: 3.237 MB / 477.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2156, allocations: 9.188 kB / 477.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.2159, allocations: 0.5472 MB / 478.2 MB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.2185, allocations: 1.642 MB / 479.8 MB, free: 27.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.2201, allocations: 1.45 MB / 481.3 MB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.2202, allocations: 178.4 kB / 481.5 MB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.2204, allocations: 230.1 kB / 481.7 MB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.2271, allocations: 7.128 MB / 488.8 MB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.2271, allocations: 13.72 kB / 488.8 MB, free: 23.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.2273, allocations: 103.7 kB / 488.9 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001368/0.2287, allocations: 1.446 MB / 490.4 MB, free: 22.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007012/0.2357, allocations: 5.947 MB / 496.3 MB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.2509, allocations: 21.23 MB / 0.5054 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2531, allocations: 1.767 MB / 0.5071 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.2536, allocations: 0.7034 MB / 0.5078 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003314/0.257, allocations: 3.337 MB / 0.5111 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.257, allocations: 43.22 kB / 0.5111 GB, free: 14.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 2.265e-06/0.257, allocations: 0 / 0.5111 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.00353/0.2605, allocations: 2.402 MB / 0.5135 GB, free: 12.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2605, allocations: 56.06 kB / 0.5135 GB, free: 12.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2622, allocations: 2.184 MB / 0.5157 GB, free: 9.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.2622, allocations: 41.69 kB / 0.5157 GB, free: 9.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008285/0.2631, allocations: 2.09 MB / 0.5177 GB, free: 7.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2632, allocations: 353.8 kB / 0.5181 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004982/0.2637, allocations: 0.6551 MB / 0.5187 GB, free: 6.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2638, allocations: 353.9 kB / 0.5191 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.2647, allocations: 0.9313 MB / 0.52 GB, free: 5.469 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.2663, allocations: 2.872 MB / 0.5228 GB, free: 1.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.269, allocations: 4.149 MB / 0.5268 GB, free: 12.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.2691, allocations: 20 kB / 0.5268 GB, free: 12.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003232/0.2723, allocations: 3.724 MB / 0.5305 GB, free: 8.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2723, allocations: 32 kB / 0.5305 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/0.2724, allocations: 71.94 kB / 0.5306 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.554e-05/0.2724, allocations: 92 kB / 0.5307 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2735, allocations: 0.6823 MB / 0.5313 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.275e-05/0.2735, allocations: 135.5 kB / 0.5315 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2746, allocations: 444.6 kB / 0.5319 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.2748, allocations: 192 kB / 0.5321 GB, free: 7.137 MB / 442.7 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.001726/0.2765, allocations: 1.506 MB / 0.5335 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2766, allocations: 184.1 kB / 0.5337 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.2768, allocations: 210.2 kB / 0.5339 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.2769, allocations: 11.98 kB / 0.5339 GB, free: 5.219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.2769, allocations: 3.984 kB / 0.5339 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.2769, allocations: 0 / 0.5339 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.2817, allocations: 4.839 MB / 0.5387 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.2817, allocations: 8 kB / 0.5387 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.2819, allocations: 119.8 kB / 0.5388 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.2819, allocations: 12.81 kB / 0.5388 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.282, allocations: 24.62 kB / 0.5388 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.282, allocations: 19.92 kB / 0.5388 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.282, allocations: 15.94 kB / 0.5388 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.283, allocations: 1.391 MB / 0.5402 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.2832, allocations: 218.4 kB / 0.5404 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.2833, allocations: 25.98 kB / 0.5404 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2836, allocations: 39.86 kB / 0.5405 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.2837, allocations: 71.73 kB / 0.5405 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.2837, allocations: 35.98 kB / 0.5406 GB, free: 14.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.2849, allocations: 1.448 MB / 0.542 GB, free: 12.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2849, allocations: 0 / 0.542 GB, free: 12.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001566/0.2865, allocations: 0.7785 MB / 0.5428 GB, free: 11.87 MB / 458.7 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.001328/0.2878, allocations: 2.011 MB / 0.5447 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.2896, allocations: 2.081 MB / 0.5467 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2896, allocations: 0 / 0.5467 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.29, allocations: 481.3 kB / 0.5472 GB, free: 7.199 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.2908, allocations: 274.7 kB / 0.5475 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.3098, allocations: 23.12 MB / 0.57 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.3114, allocations: 1.949 MB / 0.572 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001369/0.3128, allocations: 1.03 MB / 0.573 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/0.3138, allocations: 1.203 MB / 0.5741 GB, free: 8.934 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3138, allocations: 0 / 0.5741 GB, free: 8.934 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/0.3578, allocations: 37.24 MB / 0.6105 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.256, allocations: 11.92 kB / 0.6105 GB, free: 4.031 MB / 0.5105 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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: 10.427773151546717]