Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001174/0.001174, allocations: 79.69 kB / 20.02 MB, free: 4.504 MB / 18.57 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.001144/0.001144, allocations: 170.3 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8324/0.8324, allocations: 158.6 MB / 185.1 MB, free: 3.012 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.132/0.132, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 407 MB, free: 2.137 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.135e-05, allocations: 5.938 kB / 407 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01171/0.01174, allocations: 9.697 MB / 416.7 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006405/0.01814, allocations: 2.921 MB / 419.7 MB, free: 5.453 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.01954, allocations: 63.81 kB / 419.7 MB, free: 5.391 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003897/0.02344, allocations: 2.06 MB / 421.8 MB, free: 3.324 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.02622, allocations: 1.287 MB / 423.1 MB, free: 2.031 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.0269, allocations: 319.2 kB / 423.4 MB, free: 1.719 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003028/0.02993, allocations: 2.531 MB / 425.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.03163, allocations: 1.851 MB / 427.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.03297, allocations: 1.427 MB / 429.2 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.03422, allocations: 1.282 MB / 430.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.03458, allocations: 216 kB / 430.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.03535, allocations: 0.6708 MB / 431.4 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.03611, allocations: 1.321 MB / 432.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006635/0.03677, allocations: 0.8137 MB / 433.5 MB, free: 7.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.04009, allocations: 4.812 MB / 438.3 MB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.04009, allocations: 0 / 438.3 MB, free: 2.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.04009, allocations: 0 / 438.3 MB, free: 2.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.304e-05/0.04016, allocations: 4 kB / 438.3 MB, free: 2.715 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.00359/0.04375, allocations: 3.117 MB / 441.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.04379, allocations: 16.03 kB / 441.4 MB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004224/0.04421, allocations: 0.5216 MB / 442 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.04706, allocations: 1.656 MB / 443.6 MB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.04876, allocations: 1.383 MB / 445 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.04886, allocations: 168.4 kB / 445.2 MB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/0.0491, allocations: 204.3 kB / 445.4 MB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006306/0.05541, allocations: 6.977 MB / 452.3 MB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.05544, allocations: 11.88 kB / 452.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.05562, allocations: 99.88 kB / 452.5 MB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.05705, allocations: 1.528 MB / 454 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006585/0.06363, allocations: 5.927 MB / 459.9 MB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1935/0.2571, allocations: 21.08 MB / 481 MB, free: 84.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.2596, allocations: 1.747 MB / 482.7 MB, free: 84.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.2602, allocations: 0.7366 MB / 483.5 MB, free: 84.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003502/0.2638, allocations: 3.444 MB / 486.9 MB, free: 82.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.2638, allocations: 44.77 kB / 487 MB, free: 82.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.825e-06/0.2638, allocations: 0 / 487 MB, free: 82.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.003269/0.267, allocations: 2.393 MB / 489.4 MB, free: 82.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2671, allocations: 68.06 kB / 489.4 MB, free: 82.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.2686, allocations: 2.18 MB / 491.6 MB, free: 81.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.2686, allocations: 36.98 kB / 491.6 MB, free: 81.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.2693, allocations: 2.072 MB / 493.7 MB, free: 79.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2694, allocations: 388 kB / 494.1 MB, free: 79.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/0.2698, allocations: 0.6694 MB / 494.8 MB, free: 79.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.2699, allocations: 363.5 kB / 495.1 MB, free: 79.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007738/0.2707, allocations: 0.9952 MB / 496.1 MB, free: 78.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.2719, allocations: 3.002 MB / 499.1 MB, free: 75.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.2741, allocations: 4.346 MB / 0.4917 GB, free: 72.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.2741, allocations: 19.16 kB / 0.4917 GB, free: 72.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003701/0.2778, allocations: 3.897 MB / 0.4955 GB, free: 70.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.2779, allocations: 35.5 kB / 0.4955 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.967e-05/0.2779, allocations: 71.41 kB / 0.4956 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.734e-05/0.278, allocations: 93.22 kB / 0.4957 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.2792, allocations: 0.7348 MB / 0.4964 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-05/0.2793, allocations: 141.7 kB / 0.4965 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.2806, allocations: 467.2 kB / 0.497 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/0.2808, allocations: 202 kB / 0.4972 GB, free: 70.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.001796/0.2826, allocations: 1.466 MB / 0.4986 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.2827, allocations: 190.4 kB / 0.4988 GB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.2842, allocations: 1.235 MB / 0.5 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.2842, allocations: 11.25 kB / 0.5 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2842, allocations: 0 / 0.5 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2842, allocations: 4.484 kB / 0.5 GB, free: 68.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.2899, allocations: 4.913 MB / 0.5048 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.2899, allocations: 12.89 kB / 0.5048 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2902, allocations: 148.4 kB / 0.5049 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.2902, allocations: 12.91 kB / 0.505 GB, free: 66.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.2903, allocations: 23.72 kB / 0.505 GB, free: 66.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.2903, allocations: 20.64 kB / 0.505 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.2903, allocations: 14.47 kB / 0.505 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2915, allocations: 1.57 MB / 0.5066 GB, free: 65.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.2917, allocations: 207.1 kB / 0.5067 GB, free: 65.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.2918, allocations: 31.09 kB / 0.5068 GB, free: 65.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.2921, allocations: 40.39 kB / 0.5068 GB, free: 65.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.2922, allocations: 78.77 kB / 0.5069 GB, free: 65.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.2923, allocations: 40.23 kB / 0.5069 GB, free: 65.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001173/0.2934, allocations: 1.348 MB / 0.5082 GB, free: 65.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2934, allocations: 0 / 0.5082 GB, free: 65.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00171/0.2952, allocations: 0.7846 MB / 0.509 GB, free: 64.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.001271/0.2964, allocations: 2.196 MB / 0.5112 GB, free: 63.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.2984, allocations: 2.216 MB / 0.5133 GB, free: 62.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2984, allocations: 3.531 kB / 0.5133 GB, free: 62.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.2988, allocations: 0.5339 MB / 0.5138 GB, free: 62.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/0.2996, allocations: 262.9 kB / 0.5141 GB, free: 62.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.3152, allocations: 23.12 MB / 0.5367 GB, free: 40.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.3165, allocations: 1.903 MB / 0.5385 GB, free: 39.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.3177, allocations: 1.042 MB / 0.5395 GB, free: 38.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.3183, allocations: 1.166 MB / 0.5407 GB, free: 37.57 MB / 442.7 MB Notification: Performance of SimCode: time 7.62e-07/0.3183, allocations: 0 / 0.5407 GB, free: 37.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.3583, allocations: 36.29 MB / 0.5761 GB, free: 1.535 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.129, allocations: 8 kB / 0.5761 GB, free: 1.527 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.262881817296147]