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.001332/0.001332, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001401/0.001401, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2225/0.2225, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.001958/0.001958, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 66.02 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01137/0.3032, allocations: 8.401 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.3097, allocations: 2.78 MB / 0.5715 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3109, allocations: 59.81 kB / 0.5716 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003971/0.3149, allocations: 1.939 MB / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.3176, allocations: 1.144 MB / 0.5746 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.3183, allocations: 283.5 kB / 0.5748 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003267/0.3216, allocations: 2.329 MB / 0.5771 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3238, allocations: 1.742 MB / 0.5788 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.325, allocations: 0.8917 MB / 0.5797 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.3267, allocations: 1.25 MB / 0.5809 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.3271, allocations: 196 kB / 0.5811 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.3283, allocations: 0.6163 MB / 0.5817 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.3294, allocations: 1.137 MB / 0.5828 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.3305, allocations: 0.9509 MB / 0.5837 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.3351, allocations: 4.334 MB / 0.588 GB, free: 8.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3351, allocations: 0 / 0.588 GB, free: 8.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3351, allocations: 0 / 0.588 GB, free: 8.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.588e-05/0.3352, allocations: 0 / 0.588 GB, free: 8.055 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.004879/0.3401, allocations: 2.87 MB / 0.5908 GB, free: 5.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3401, allocations: 15.97 kB / 0.5908 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005976/0.3407, allocations: 491 kB / 0.5913 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.3457, allocations: 1.574 MB / 0.5928 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003666/0.3494, allocations: 1.286 MB / 0.594 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3495, allocations: 143.8 kB / 0.5942 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004582/0.35, allocations: 191.9 kB / 0.5944 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.3609, allocations: 6.242 MB / 0.6005 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.3609, allocations: 15.88 kB / 0.6005 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.3612, allocations: 91.89 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002213/0.3634, allocations: 1.348 MB / 0.6019 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.3735, allocations: 5.315 MB / 0.6071 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/0.401, allocations: 19.05 MB / 0.6257 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/0.405, allocations: 1.492 MB / 0.6271 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009623/0.406, allocations: 0.6393 MB / 0.6278 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006692/0.4127, allocations: 3.024 MB / 0.6307 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4127, allocations: 39 kB / 0.6307 GB, free: 11.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.4127, allocations: 0 / 0.6307 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005248/0.418, allocations: 1.99 MB / 0.6327 GB, free: 9.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.418, allocations: 55.84 kB / 0.6327 GB, free: 9.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.4207, allocations: 2.054 MB / 0.6347 GB, free: 7.109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.4208, allocations: 37.7 kB / 0.6348 GB, free: 7.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4222, allocations: 1.911 MB / 0.6367 GB, free: 5.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.4226, allocations: 325.5 kB / 0.637 GB, free: 4.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/0.4233, allocations: 0.6234 MB / 0.6376 GB, free: 4.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4235, allocations: 357.9 kB / 0.6379 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4248, allocations: 0.8881 MB / 0.6388 GB, free: 2.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.4276, allocations: 2.747 MB / 0.6415 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004627/0.4323, allocations: 3.962 MB / 0.6453 GB, free: 10.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.263e-05/0.4323, allocations: 20 kB / 0.6454 GB, free: 10.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005712/0.438, allocations: 3.547 MB / 0.6488 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.4381, allocations: 36 kB / 0.6488 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-05/0.4382, allocations: 64 kB / 0.6489 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.269e-05/0.4383, allocations: 91.94 kB / 0.649 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.4401, allocations: 0.6472 MB / 0.6496 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.4403, allocations: 135.4 kB / 0.6498 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.442, allocations: 429.1 kB / 0.6502 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.4423, allocations: 188 kB / 0.6503 GB, free: 5.219 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.001898/0.4442, allocations: 1.338 MB / 0.6517 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.4444, allocations: 162.9 kB / 0.6518 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.4447, allocations: 192.9 kB / 0.652 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4447, allocations: 15.94 kB / 0.652 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4448, allocations: 0 / 0.652 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4448, allocations: 3.984 kB / 0.652 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006666/0.4514, allocations: 3.919 MB / 0.6558 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4514, allocations: 8 kB / 0.6558 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.4518, allocations: 99.81 kB / 0.6559 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.4519, allocations: 8 kB / 0.6559 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.6e-05/0.4519, allocations: 24 kB / 0.656 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.4519, allocations: 15.92 kB / 0.656 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/0.4519, allocations: 8 kB / 0.656 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.4535, allocations: 1.271 MB / 0.6572 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.4539, allocations: 182.6 kB / 0.6574 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.454, allocations: 23.98 kB / 0.6574 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4545, allocations: 19.98 kB / 0.6575 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.4546, allocations: 67.72 kB / 0.6575 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.4547, allocations: 28 kB / 0.6575 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001776/0.4565, allocations: 1.267 MB / 0.6588 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4565, allocations: 4 kB / 0.6588 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002319/0.4588, allocations: 0.689 MB / 0.6595 GB, free: 11.63 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.002034/0.4608, allocations: 1.873 MB / 0.6613 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.4643, allocations: 1.963 MB / 0.6632 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/0.4643, allocations: 4 kB / 0.6632 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.4649, allocations: 433.5 kB / 0.6636 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.4664, allocations: 235.5 kB / 0.6638 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/0.4981, allocations: 20.94 MB / 0.6843 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.5006, allocations: 1.712 MB / 0.686 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00209/0.5027, allocations: 0.9519 MB / 0.6869 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.504, allocations: 1.05 MB / 0.6879 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.504, allocations: 0 / 0.6879 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07897/0.583, allocations: 34.24 MB / 0.7214 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.67, allocations: 4 kB / 0.7214 GB, free: 9.957 MB / 0.5606 GB " [Timeout remaining time 647] (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: 15.720764766010689]