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.001941/0.001941, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002321/0.002321, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2286/0.2286, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.00242/0.00242, allocations: 79.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3336, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01208/0.3457, allocations: 8.906 MB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006609/0.3523, allocations: 2.924 MB / 0.5722 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.3535, allocations: 59.81 kB / 0.5723 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.3583, allocations: 2.524 MB / 0.5748 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.3613, allocations: 1.221 MB / 0.576 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.3621, allocations: 363.2 kB / 0.5763 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003437/0.3656, allocations: 2.536 MB / 0.5788 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.3683, allocations: 2.242 MB / 0.581 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.3697, allocations: 1.067 MB / 0.582 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.3717, allocations: 1.382 MB / 0.5834 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004734/0.3722, allocations: 255.9 kB / 0.5836 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.3734, allocations: 0.6632 MB / 0.5843 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.3747, allocations: 1.367 MB / 0.5856 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.3761, allocations: 1.134 MB / 0.5867 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.3825, allocations: 5.14 MB / 0.5917 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3825, allocations: 0 / 0.5917 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.913e-06/0.3825, allocations: 3.984 kB / 0.5917 GB, free: 4.098 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002057/0.3827, allocations: 0 / 0.5917 GB, free: 4.098 MB / 430.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.007894/0.3906, allocations: 3.278 MB / 0.5949 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3906, allocations: 8.031 kB / 0.5949 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008355/0.3915, allocations: 0.5458 MB / 0.5955 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.3965, allocations: 1.624 MB / 0.597 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.4003, allocations: 1.451 MB / 0.5985 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4004, allocations: 181.9 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004991/0.4009, allocations: 227.9 kB / 0.5989 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4123, allocations: 7.114 MB / 0.6058 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-05/0.4124, allocations: 19.81 kB / 0.6058 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.4126, allocations: 103.9 kB / 0.6059 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002176/0.4148, allocations: 1.447 MB / 0.6073 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4259, allocations: 5.937 MB / 0.6131 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/0.457, allocations: 21.15 MB / 0.6338 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.4614, allocations: 1.666 MB / 0.6354 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.4624, allocations: 0.7034 MB / 0.6361 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006589/0.469, allocations: 3.237 MB / 0.6393 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.469, allocations: 47.2 kB / 0.6393 GB, free: 2.285 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.577e-06/0.469, allocations: 0 / 0.6393 GB, free: 2.285 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006129/0.4751, allocations: 2.261 MB / 0.6415 GB, free: 20 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4752, allocations: 60.06 kB / 0.6416 GB, free: 15.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.4783, allocations: 2.176 MB / 0.6437 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/0.4784, allocations: 37.7 kB / 0.6437 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.48, allocations: 2.102 MB / 0.6458 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.4804, allocations: 365.2 kB / 0.6461 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009006/0.4813, allocations: 0.6629 MB / 0.6468 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.4815, allocations: 361.9 kB / 0.6471 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4829, allocations: 0.9352 MB / 0.648 GB, free: 9.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.4859, allocations: 2.868 MB / 0.6508 GB, free: 5.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/0.4908, allocations: 4.151 MB / 0.6549 GB, free: 344 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.225e-05/0.4908, allocations: 20 kB / 0.6549 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005998/0.4968, allocations: 3.71 MB / 0.6585 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.4969, allocations: 37 kB / 0.6586 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.502e-05/0.4969, allocations: 68 kB / 0.6586 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.675e-05/0.497, allocations: 92 kB / 0.6587 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.499, allocations: 0.694 MB / 0.6594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001178/0.4991, allocations: 131.5 kB / 0.6595 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.501, allocations: 452.6 kB / 0.66 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.5012, allocations: 199.9 kB / 0.6601 GB, free: 10.94 MB / 0.4981 GB 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.002155/0.5034, allocations: 1.495 MB / 0.6616 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.5036, allocations: 178.8 kB / 0.6618 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.504, allocations: 206.2 kB / 0.662 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.504, allocations: 16 kB / 0.662 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.504, allocations: 3.938 kB / 0.662 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.504, allocations: 3.984 kB / 0.662 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/0.5119, allocations: 4.81 MB / 0.6667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.5119, allocations: 11.98 kB / 0.6667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.5124, allocations: 115.8 kB / 0.6668 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.5124, allocations: 12 kB / 0.6668 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.5125, allocations: 31.92 kB / 0.6669 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.5125, allocations: 11.94 kB / 0.6669 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.5125, allocations: 11.94 kB / 0.6669 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.5142, allocations: 1.427 MB / 0.6683 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.5147, allocations: 218.4 kB / 0.6685 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.5149, allocations: 27.92 kB / 0.6685 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.5154, allocations: 31.94 kB / 0.6685 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5155, allocations: 71.72 kB / 0.6686 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.5156, allocations: 32 kB / 0.6686 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002009/0.5176, allocations: 1.452 MB / 0.6701 GB, free: 480 kB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5176, allocations: 4 kB / 0.6701 GB, free: 476 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002568/0.5202, allocations: 0.7784 MB / 0.6708 GB, free: 15.68 MB / 0.5137 GB 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.002142/0.5223, allocations: 2.024 MB / 0.6728 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00318/0.5255, allocations: 2.078 MB / 0.6748 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5255, allocations: 0 / 0.6748 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.5261, allocations: 487 kB / 0.6753 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.5274, allocations: 278.5 kB / 0.6756 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/0.5605, allocations: 23.2 MB / 0.6982 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.5634, allocations: 1.95 MB / 0.7001 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002322/0.5657, allocations: 1.024 MB / 0.7011 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.5674, allocations: 1.214 MB / 0.7023 GB, free: 12.62 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.5674, allocations: 0 / 0.7023 GB, free: 12.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3255/0.8929, allocations: 37.17 MB / 0.7386 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.92, allocations: 2.281 kB / 0.7386 GB, free: 161.1 MB / 0.5606 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.96602503536269]