Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001371/0.001371, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00162/0.00162, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.91 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1358, allocations: 66 MB / 0.5554 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01322/0.149, allocations: 10.15 MB / 0.5653 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007745/0.1568, allocations: 3.084 MB / 0.5683 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1589, allocations: 63.81 kB / 0.5684 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005463/0.1644, allocations: 2.64 MB / 0.5709 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.1678, allocations: 1.203 MB / 0.5721 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.169, allocations: 351.4 kB / 0.5724 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004208/0.1732, allocations: 2.539 MB / 0.5749 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.1767, allocations: 2.496 MB / 0.5774 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.1786, allocations: 1.063 MB / 0.5784 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.1812, allocations: 1.488 MB / 0.5798 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007967/0.182, allocations: 252 kB / 0.5801 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.1837, allocations: 0.7763 MB / 0.5808 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.1854, allocations: 1.367 MB / 0.5822 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.1878, allocations: 1.553 MB / 0.5837 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.1947, allocations: 5.128 MB / 0.5887 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1947, allocations: 0 / 0.5887 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1947, allocations: 0 / 0.5887 GB, free: 3.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.1949, allocations: 0 / 0.5887 GB, free: 3.543 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.007969/0.2028, allocations: 3.353 MB / 0.592 GB, free: 120 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.2029, allocations: 8.031 kB / 0.592 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2353/0.4382, allocations: 0.5452 MB / 0.5925 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005619/0.4438, allocations: 1.618 MB / 0.5941 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.4468, allocations: 1.508 MB / 0.5956 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.4469, allocations: 182 kB / 0.5957 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.4475, allocations: 228.7 kB / 0.596 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.4598, allocations: 7.121 MB / 0.6029 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.073e-05/0.4598, allocations: 14.03 kB / 0.6029 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.4601, allocations: 104.9 kB / 0.603 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.4626, allocations: 1.442 MB / 0.6044 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.475, allocations: 5.951 MB / 0.6103 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.5034, allocations: 22.35 MB / 0.6321 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004276/0.5077, allocations: 2.118 MB / 0.6341 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/0.5086, allocations: 0.7014 MB / 0.6348 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006099/0.5147, allocations: 3.867 MB / 0.6386 GB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5147, allocations: 39.12 kB / 0.6386 GB, free: 3.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.847e-06/0.5147, allocations: 5.859 kB / 0.6387 GB, free: 3.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.00582/0.5206, allocations: 2.263 MB / 0.6409 GB, free: 1.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.5206, allocations: 63.91 kB / 0.6409 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.5239, allocations: 2.059 MB / 0.6429 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.524, allocations: 33.7 kB / 0.643 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.5258, allocations: 2.117 MB / 0.645 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.5264, allocations: 349.3 kB / 0.6454 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.5276, allocations: 0.6668 MB / 0.646 GB, free: 11.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.5278, allocations: 361.9 kB / 0.6464 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5294, allocations: 0.9352 MB / 0.6473 GB, free: 10.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.5328, allocations: 2.865 MB / 0.6501 GB, free: 6.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005492/0.5382, allocations: 4.154 MB / 0.6541 GB, free: 1.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-05/0.5383, allocations: 20 kB / 0.6541 GB, free: 1.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007377/0.5457, allocations: 3.714 MB / 0.6578 GB, free: 13.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.5458, allocations: 32 kB / 0.6578 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.5459, allocations: 68 kB / 0.6579 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.546, allocations: 92 kB / 0.658 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.5484, allocations: 0.6862 MB / 0.6586 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001398/0.5485, allocations: 139.4 kB / 0.6588 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.5509, allocations: 452.6 kB / 0.6592 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/0.5514, allocations: 196 kB / 0.6594 GB, free: 12.1 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.002843/0.5542, allocations: 1.496 MB / 0.6608 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.5546, allocations: 182.7 kB / 0.661 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006276/0.5552, allocations: 214.2 kB / 0.6612 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.5553, allocations: 8 kB / 0.6612 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.5553, allocations: 0 / 0.6612 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.5553, allocations: 3.984 kB / 0.6612 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009941/0.5652, allocations: 4.936 MB / 0.6661 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/0.5652, allocations: 8 kB / 0.6661 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.5658, allocations: 123.7 kB / 0.6662 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.5658, allocations: 15.94 kB / 0.6662 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/0.5659, allocations: 20 kB / 0.6662 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.361e-05/0.5659, allocations: 19.92 kB / 0.6662 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.5659, allocations: 8 kB / 0.6662 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.5679, allocations: 1.423 MB / 0.6676 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.5685, allocations: 295.5 kB / 0.6679 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.5688, allocations: 23.94 kB / 0.6679 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.5695, allocations: 39.92 kB / 0.668 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5696, allocations: 64.5 kB / 0.668 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.5697, allocations: 36 kB / 0.6681 GB, free: 2.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002594/0.5723, allocations: 1.448 MB / 0.6695 GB, free: 1.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5723, allocations: 0 / 0.6695 GB, free: 1.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00292/0.5752, allocations: 0.7824 MB / 0.6702 GB, free: 0.6211 MB / 478.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.002519/0.5778, allocations: 2.032 MB / 0.6722 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.5814, allocations: 2.087 MB / 0.6743 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5814, allocations: 0 / 0.6743 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.5821, allocations: 477.4 kB / 0.6747 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.5839, allocations: 273.5 kB / 0.675 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03994/0.6239, allocations: 23.21 MB / 0.6977 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/0.6281, allocations: 2.518 MB / 0.7001 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002489/0.6305, allocations: 1.016 MB / 0.7011 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/0.6326, allocations: 1.214 MB / 0.7023 GB, free: 13 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.6326, allocations: 0 / 0.7023 GB, free: 13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.7125, allocations: 36.97 MB / 0.7384 GB, free: 8.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.95, allocations: 18.39 kB / 0.7384 GB, free: 8.207 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv. Warning: Get data of variable cutForceAndTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.219456452003215]