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.001594/0.001594, allocations: 110 kB / 20.43 MB, free: 1.453 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.001676/0.001676, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 8 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.2337/0.2337, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.00244/0.00244, allocations: 83.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3096, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01319/0.3228, allocations: 10.18 MB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.3298, allocations: 3.111 MB / 0.5737 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.3313, allocations: 59.81 kB / 0.5738 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00514/0.3364, allocations: 2.652 MB / 0.5764 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.3396, allocations: 1.21 MB / 0.5775 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.3406, allocations: 355.3 kB / 0.5779 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003951/0.3446, allocations: 2.543 MB / 0.5804 GB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.3481, allocations: 2.257 MB / 0.5826 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.3502, allocations: 1.063 MB / 0.5836 GB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.3529, allocations: 1.48 MB / 0.585 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008799/0.3538, allocations: 252 kB / 0.5853 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.3557, allocations: 0.788 MB / 0.5861 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.3575, allocations: 1.371 MB / 0.5874 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.3596, allocations: 1.553 MB / 0.5889 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006919/0.3665, allocations: 5.124 MB / 0.5939 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3665, allocations: 0 / 0.5939 GB, free: 2.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3665, allocations: 0 / 0.5939 GB, free: 2.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001678/0.3667, allocations: 0 / 0.5939 GB, free: 2.137 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.00739/0.3741, allocations: 3.278 MB / 0.5971 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3741, allocations: 12.03 kB / 0.5971 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/0.3755, allocations: 0.542 MB / 0.5977 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/0.381, allocations: 1.629 MB / 0.5993 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.3849, allocations: 1.443 MB / 0.6007 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.3851, allocations: 184.6 kB / 0.6008 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.3858, allocations: 231.9 kB / 0.6011 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3991, allocations: 7.106 MB / 0.608 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.599e-05/0.3992, allocations: 19.86 kB / 0.608 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.3996, allocations: 103.9 kB / 0.6081 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.4022, allocations: 1.439 MB / 0.6095 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.4146, allocations: 5.96 MB / 0.6153 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03591/0.4505, allocations: 22.24 MB / 0.6371 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.4554, allocations: 1.665 MB / 0.6387 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.4566, allocations: 0.7073 MB / 0.6394 GB, free: 2.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007864/0.4644, allocations: 3.404 MB / 0.6427 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.4645, allocations: 39.22 kB / 0.6427 GB, free: 15.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.817e-06/0.4645, allocations: 0 / 0.6427 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006511/0.471, allocations: 2.257 MB / 0.6449 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.4711, allocations: 60.06 kB / 0.645 GB, free: 12.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.474, allocations: 2.056 MB / 0.647 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.4741, allocations: 37.7 kB / 0.647 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.4758, allocations: 2.11 MB / 0.6491 GB, free: 8.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.4761, allocations: 361.3 kB / 0.6495 GB, free: 8.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008393/0.4769, allocations: 0.659 MB / 0.6501 GB, free: 7.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4771, allocations: 361.8 kB / 0.6504 GB, free: 7.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.4786, allocations: 0.9313 MB / 0.6513 GB, free: 6.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.4818, allocations: 2.872 MB / 0.6542 GB, free: 2.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.4869, allocations: 4.147 MB / 0.6582 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.717e-05/0.487, allocations: 20 kB / 0.6582 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006448/0.4934, allocations: 3.719 MB / 0.6619 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.4935, allocations: 36 kB / 0.6619 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.783e-05/0.4936, allocations: 68 kB / 0.662 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.4937, allocations: 88 kB / 0.662 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.4958, allocations: 0.6901 MB / 0.6627 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.496, allocations: 139.4 kB / 0.6628 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.498, allocations: 444.6 kB / 0.6633 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003352/0.4983, allocations: 200 kB / 0.6635 GB, free: 7.836 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.00239/0.5007, allocations: 1.503 MB / 0.6649 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.501, allocations: 178.8 kB / 0.6651 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.5014, allocations: 206.2 kB / 0.6653 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.5014, allocations: 12 kB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5014, allocations: 0 / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5015, allocations: 3.984 kB / 0.6653 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009072/0.5105, allocations: 4.923 MB / 0.6701 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5105, allocations: 8 kB / 0.6701 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.511, allocations: 115.8 kB / 0.6702 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.5111, allocations: 12 kB / 0.6702 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.5111, allocations: 31.98 kB / 0.6703 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.5111, allocations: 11.94 kB / 0.6703 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.5111, allocations: 8 kB / 0.6703 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.513, allocations: 1.427 MB / 0.6717 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.5136, allocations: 226.3 kB / 0.6719 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.5138, allocations: 23.98 kB / 0.6719 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.5144, allocations: 43.92 kB / 0.672 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5146, allocations: 67.67 kB / 0.672 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.5146, allocations: 32 kB / 0.6721 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002535/0.5172, allocations: 1.448 MB / 0.6735 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5172, allocations: 0 / 0.6735 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002936/0.5201, allocations: 0.7786 MB / 0.6742 GB, free: 12.47 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.002495/0.5226, allocations: 2.04 MB / 0.6762 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.5261, allocations: 2.072 MB / 0.6783 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.5261, allocations: 4 kB / 0.6783 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.5268, allocations: 481.3 kB / 0.6787 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5283, allocations: 279.8 kB / 0.679 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/0.564, allocations: 23.21 MB / 0.7016 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/0.5675, allocations: 2.514 MB / 0.7041 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002488/0.57, allocations: 1.02 MB / 0.7051 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/0.5719, allocations: 1.21 MB / 0.7063 GB, free: 8.852 MB / 0.545 GB Notification: Performance of SimCode: time 1.533e-06/0.5719, allocations: 0 / 0.7063 GB, free: 8.852 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/0.8856, allocations: 39.53 MB / 0.7449 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.69, allocations: 13.8 kB / 0.7449 GB, free: 152.6 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.783132237003883]