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.0008737/0.0008737, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008558/0.0008558, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8659/0.8659, allocations: 158.6 MB / 185 MB, free: 3.035 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.142/0.142, allocations: 32.38 MB / 269.6 MB, free: 14.96 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 1.783e-06/1.783e-06, allocations: 0 / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.663e-05, allocations: 6.078 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007862/0.007889, allocations: 9.689 MB / 416.5 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.01351, allocations: 2.928 MB / 419.4 MB, free: 5.551 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.01494, allocations: 55.88 kB / 419.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002341/0.01728, allocations: 2.071 MB / 421.6 MB, free: 3.418 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.01968, allocations: 1.272 MB / 422.8 MB, free: 2.141 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.02023, allocations: 323.2 kB / 423.2 MB, free: 1.824 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.02295, allocations: 2.543 MB / 425.7 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.02475, allocations: 1.851 MB / 427.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.02632, allocations: 1.427 MB / 429 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.02779, allocations: 1.282 MB / 430.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004197/0.02821, allocations: 220 kB / 430.5 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.02907, allocations: 0.6631 MB / 431.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.0301, allocations: 1.324 MB / 432.5 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.03092, allocations: 0.8137 MB / 433.3 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.03443, allocations: 4.812 MB / 438.1 MB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.03443, allocations: 3.938 kB / 438.1 MB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.03443, allocations: 0 / 438.1 MB, free: 2.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001406/0.03457, allocations: 3.938 kB / 438.1 MB, free: 2.805 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.004618/0.03919, allocations: 3.117 MB / 441.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.03924, allocations: 8.031 kB / 441.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004444/0.03968, allocations: 0.5294 MB / 441.8 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.04262, allocations: 1.66 MB / 443.4 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.04477, allocations: 1.371 MB / 444.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/0.04485, allocations: 156.4 kB / 444.9 MB, free: 11.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.04513, allocations: 212.2 kB / 445.1 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008056/0.05318, allocations: 6.977 MB / 452.1 MB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/0.05323, allocations: 23.81 kB / 452.1 MB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.05342, allocations: 91.89 kB / 452.2 MB, free: 4.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/0.05512, allocations: 1.528 MB / 453.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007952/0.06308, allocations: 5.927 MB / 459.7 MB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1896/0.2527, allocations: 21.03 MB / 480.7 MB, free: 84.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.2552, allocations: 1.745 MB / 482.5 MB, free: 84.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.2558, allocations: 0.7333 MB / 483.2 MB, free: 84.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003748/0.2596, allocations: 3.443 MB / 486.6 MB, free: 83.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2596, allocations: 38.81 kB / 486.7 MB, free: 83.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.888e-06/0.2596, allocations: 0 / 486.7 MB, free: 83.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.003312/0.2629, allocations: 2.404 MB / 489.1 MB, free: 82.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2629, allocations: 65.14 kB / 489.1 MB, free: 82.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.2649, allocations: 2.178 MB / 491.3 MB, free: 81.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.265, allocations: 37.95 kB / 491.4 MB, free: 81.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006336/0.2656, allocations: 2.08 MB / 493.4 MB, free: 80.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2658, allocations: 389.1 kB / 493.8 MB, free: 79.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/0.2663, allocations: 0.6641 MB / 494.5 MB, free: 79.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.2663, allocations: 358.7 kB / 494.8 MB, free: 79.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.2672, allocations: 0.9939 MB / 495.8 MB, free: 78.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.2686, allocations: 2.997 MB / 498.8 MB, free: 75.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.2713, allocations: 4.345 MB / 0.4914 GB, free: 72.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/0.2714, allocations: 20.56 kB / 0.4914 GB, free: 72.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.004329/0.2757, allocations: 3.911 MB / 0.4952 GB, free: 70.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.2757, allocations: 35 kB / 0.4952 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-05/0.2758, allocations: 70.62 kB / 0.4953 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.329e-05/0.2759, allocations: 93.62 kB / 0.4954 GB, free: 70.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.2773, allocations: 0.7238 MB / 0.4961 GB, free: 70.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000131/0.2775, allocations: 149 kB / 0.4963 GB, free: 70.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.2792, allocations: 473.4 kB / 0.4967 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.2795, allocations: 203.4 kB / 0.4969 GB, free: 70.37 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.001744/0.2812, allocations: 1.451 MB / 0.4983 GB, free: 69.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.2814, allocations: 190.7 kB / 0.4985 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2827, allocations: 1.243 MB / 0.4997 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.2828, allocations: 14.02 kB / 0.4997 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2828, allocations: 0 / 0.4997 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2828, allocations: 5.078 kB / 0.4997 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.2882, allocations: 4.911 MB / 0.5045 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.2882, allocations: 10.97 kB / 0.5045 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.2885, allocations: 142.2 kB / 0.5047 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.2885, allocations: 18.19 kB / 0.5047 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.2885, allocations: 24.38 kB / 0.5047 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/0.2885, allocations: 20.81 kB / 0.5047 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.2885, allocations: 14.91 kB / 0.5047 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2898, allocations: 1.576 MB / 0.5063 GB, free: 66.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.2901, allocations: 202.1 kB / 0.5065 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.2902, allocations: 29.42 kB / 0.5065 GB, free: 65.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.2906, allocations: 36.97 kB / 0.5065 GB, free: 65.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.2906, allocations: 81.09 kB / 0.5066 GB, free: 65.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.2907, allocations: 44.17 kB / 0.5067 GB, free: 65.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.292, allocations: 1.343 MB / 0.508 GB, free: 65.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.292, allocations: 0.7812 kB / 0.508 GB, free: 65.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002027/0.294, allocations: 0.7796 MB / 0.5087 GB, free: 65.18 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.001298/0.2953, allocations: 2.196 MB / 0.5109 GB, free: 63.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.2976, allocations: 2.219 MB / 0.513 GB, free: 63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.2976, allocations: 0.875 kB / 0.5131 GB, free: 63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.298, allocations: 0.5281 MB / 0.5136 GB, free: 62.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.2989, allocations: 260.5 kB / 0.5138 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/0.3185, allocations: 23.12 MB / 0.5364 GB, free: 40.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.3198, allocations: 1.897 MB / 0.5382 GB, free: 39.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00128/0.3211, allocations: 1.037 MB / 0.5393 GB, free: 38.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/0.3218, allocations: 1.173 MB / 0.5404 GB, free: 37.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3218, allocations: 0 / 0.5404 GB, free: 37.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.3689, allocations: 36.22 MB / 0.5758 GB, free: 1.785 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.238, allocations: 8.062 kB / 0.5758 GB, free: 1.777 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.38338612485677]