Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001613/0.001613, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00197/0.00197, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.226/0.226, allocations: 46.93 MB / 360.9 MB, free: 4.23 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.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01175/0.3298, allocations: 9.6 MB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006455/0.3362, allocations: 2.955 MB / 0.5729 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3378, allocations: 55.81 kB / 0.573 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.342, allocations: 2.029 MB / 0.5749 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.345, allocations: 1.136 MB / 0.576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.3458, allocations: 295.4 kB / 0.5763 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.3492, allocations: 2.329 MB / 0.5786 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.3515, allocations: 1.738 MB / 0.5803 GB, free: 224 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.3529, allocations: 0.8918 MB / 0.5812 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.3548, allocations: 1.246 MB / 0.5824 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.3551, allocations: 192 kB / 0.5826 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3565, allocations: 0.7293 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.3575, allocations: 1.137 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3588, allocations: 1.308 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.3635, allocations: 4.33 MB / 0.5899 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.3635, allocations: 7.938 kB / 0.5899 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3635, allocations: 0 / 0.5899 GB, free: 6.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.287e-05/0.3636, allocations: 0 / 0.5899 GB, free: 6.344 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005058/0.3686, allocations: 2.868 MB / 0.5927 GB, free: 3.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3687, allocations: 12.03 kB / 0.5927 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005811/0.3692, allocations: 483.1 kB / 0.5932 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/0.3742, allocations: 1.578 MB / 0.5947 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.377, allocations: 1.279 MB / 0.596 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.3771, allocations: 151.8 kB / 0.5961 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.3775, allocations: 183.9 kB / 0.5963 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.3875, allocations: 6.246 MB / 0.6024 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.3876, allocations: 11.88 kB / 0.6024 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.3878, allocations: 91.89 kB / 0.6025 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.3899, allocations: 1.336 MB / 0.6038 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.4001, allocations: 5.337 MB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.4282, allocations: 20 MB / 0.6285 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004021/0.4322, allocations: 1.488 MB / 0.63 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/0.4332, allocations: 0.6328 MB / 0.6306 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006456/0.4396, allocations: 3.168 MB / 0.6337 GB, free: 8.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4397, allocations: 35 kB / 0.6337 GB, free: 8.449 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.016e-06/0.4397, allocations: 0 / 0.6337 GB, free: 8.449 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005315/0.445, allocations: 1.994 MB / 0.6357 GB, free: 6.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.445, allocations: 55.84 kB / 0.6357 GB, free: 6.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.4479, allocations: 1.942 MB / 0.6376 GB, free: 4.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.448, allocations: 29.7 kB / 0.6377 GB, free: 4.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.4495, allocations: 1.907 MB / 0.6395 GB, free: 2.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.4499, allocations: 337.5 kB / 0.6398 GB, free: 2.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008007/0.4507, allocations: 0.6234 MB / 0.6404 GB, free: 1.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4509, allocations: 353.9 kB / 0.6408 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.4522, allocations: 0.8842 MB / 0.6417 GB, free: 272 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.4551, allocations: 2.763 MB / 0.6443 GB, free: 12.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4599, allocations: 3.969 MB / 0.6482 GB, free: 7.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/0.4599, allocations: 16 kB / 0.6482 GB, free: 7.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005879/0.4658, allocations: 3.535 MB / 0.6517 GB, free: 4.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.4658, allocations: 32 kB / 0.6517 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.667e-05/0.4659, allocations: 72.16 kB / 0.6518 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.466, allocations: 87.94 kB / 0.6519 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4679, allocations: 0.655 MB / 0.6525 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001084/0.468, allocations: 127.5 kB / 0.6526 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.4698, allocations: 424.9 kB / 0.653 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.4701, allocations: 188 kB / 0.6532 GB, free: 2.551 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 357 * 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.002032/0.4721, allocations: 1.35 MB / 0.6545 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.4723, allocations: 162.9 kB / 0.6547 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.4727, allocations: 192.9 kB / 0.6549 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.4727, allocations: 15.92 kB / 0.6549 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.4727, allocations: 0 / 0.6549 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.4727, allocations: 0 / 0.6549 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.4793, allocations: 4.004 MB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4793, allocations: 8 kB / 0.6588 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.4798, allocations: 103.8 kB / 0.6589 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.457e-05/0.4798, allocations: 12 kB / 0.6589 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.4798, allocations: 12 kB / 0.6589 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23e-05/0.4798, allocations: 12 kB / 0.6589 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4798, allocations: 12.47 kB / 0.659 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4814, allocations: 1.278 MB / 0.6602 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.4819, allocations: 182.6 kB / 0.6604 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.482, allocations: 16 kB / 0.6604 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.4825, allocations: 35.94 kB / 0.6604 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4826, allocations: 55.8 kB / 0.6605 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.4827, allocations: 28 kB / 0.6605 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001862/0.4845, allocations: 1.275 MB / 0.6618 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4845, allocations: 0 / 0.6618 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002692/0.4872, allocations: 0.6813 MB / 0.6624 GB, free: 8.875 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.002215/0.4894, allocations: 1.88 MB / 0.6643 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003293/0.4927, allocations: 1.96 MB / 0.6662 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4927, allocations: 4 kB / 0.6662 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.4933, allocations: 433 kB / 0.6666 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4946, allocations: 229.1 kB / 0.6668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/0.5271, allocations: 20.95 MB / 0.6873 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.5296, allocations: 2.263 MB / 0.6895 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002102/0.5317, allocations: 0.9636 MB / 0.6904 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.533, allocations: 1.042 MB / 0.6914 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of SimCode: time 1.573e-06/0.533, allocations: 0 / 0.6914 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/0.6097, allocations: 35.29 MB / 0.7259 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.37, allocations: 3.938 kB / 0.7259 GB, free: 5.387 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_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_CutTorque2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.665297778999957]