Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008277, allocations: 76.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009195/0.0009195, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8835/0.8835, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 34.23 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.119e-05, allocations: 2.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1726/0.1726, allocations: 8.421 MB / 450.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.1756, allocations: 2.78 MB / 453.3 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.176, allocations: 59.59 kB / 453.4 MB, free: 37.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1776, allocations: 2.038 MB / 455.4 MB, free: 36.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.1788, allocations: 1.171 MB / 456.6 MB, free: 36.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1791, allocations: 307.3 kB / 456.9 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1804, allocations: 2.37 MB / 459.3 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009206/0.1813, allocations: 1.743 MB / 461 MB, free: 34.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/0.182, allocations: 1.28 MB / 462.3 MB, free: 34.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.1827, allocations: 1.142 MB / 463.4 MB, free: 33.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.1828, allocations: 193.3 kB / 463.6 MB, free: 33.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.1834, allocations: 0.6479 MB / 464.3 MB, free: 33.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.1839, allocations: 1.173 MB / 465.5 MB, free: 33.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.1843, allocations: 0.7136 MB / 466.2 MB, free: 32.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1861, allocations: 4.292 MB / 470.5 MB, free: 31.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1861, allocations: 0 / 470.5 MB, free: 31.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1861, allocations: 0 / 470.5 MB, free: 31.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.1862, allocations: 0 / 470.5 MB, free: 31.27 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002404/0.1886, allocations: 2.836 MB / 473.3 MB, free: 29.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1886, allocations: 12.16 kB / 473.3 MB, free: 29.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003037/0.1889, allocations: 481.6 kB / 473.8 MB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.1913, allocations: 1.597 MB / 475.4 MB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.1925, allocations: 1.27 MB / 476.6 MB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.1925, allocations: 147 kB / 476.8 MB, free: 28.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.1927, allocations: 182.9 kB / 477 MB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.1975, allocations: 6.256 MB / 483.2 MB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.1975, allocations: 17.47 kB / 483.2 MB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1977, allocations: 91.47 kB / 483.3 MB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/0.1988, allocations: 1.347 MB / 484.7 MB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005459/0.2043, allocations: 5.333 MB / 490 MB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.217, allocations: 19.13 MB / 0.4972 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.2193, allocations: 1.564 MB / 0.4987 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.2199, allocations: 0.6377 MB / 0.4994 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/0.2228, allocations: 3.13 MB / 0.5024 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2228, allocations: 39.06 kB / 0.5025 GB, free: 7.383 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.2228, allocations: 0 / 0.5025 GB, free: 7.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002631/0.2254, allocations: 2.123 MB / 0.5045 GB, free: 5.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2255, allocations: 59.91 kB / 0.5046 GB, free: 5.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.2267, allocations: 2.042 MB / 0.5066 GB, free: 3.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2267, allocations: 37.7 kB / 0.5066 GB, free: 3.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.2271, allocations: 1.899 MB / 0.5085 GB, free: 1.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2272, allocations: 321.6 kB / 0.5088 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.2276, allocations: 0.6078 MB / 0.5094 GB, free: 244 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.2277, allocations: 357.9 kB / 0.5097 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/0.2285, allocations: 0.8842 MB / 0.5106 GB, free: 15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.2301, allocations: 2.751 MB / 0.5133 GB, free: 11.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.2327, allocations: 3.971 MB / 0.5171 GB, free: 6.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/0.2327, allocations: 20 kB / 0.5172 GB, free: 6.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002942/0.2356, allocations: 3.538 MB / 0.5206 GB, free: 2.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.2357, allocations: 40.03 kB / 0.5207 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/0.2357, allocations: 64 kB / 0.5207 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.343e-05/0.2358, allocations: 88 kB / 0.5208 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009493/0.2367, allocations: 0.6472 MB / 0.5214 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-05/0.2368, allocations: 135.4 kB / 0.5216 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/0.2377, allocations: 440.7 kB / 0.522 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.2378, allocations: 180 kB / 0.5222 GB, free: 1.273 MB / 426.7 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.002036/0.2399, allocations: 1.349 MB / 0.5235 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.24, allocations: 170.9 kB / 0.5236 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.2403, allocations: 188.9 kB / 0.5238 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.2403, allocations: 15.94 kB / 0.5238 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.2403, allocations: 0 / 0.5238 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2403, allocations: 3.984 kB / 0.5238 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.245, allocations: 3.937 MB / 0.5277 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.245, allocations: 4 kB / 0.5277 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.2452, allocations: 99.83 kB / 0.5278 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.2452, allocations: 8 kB / 0.5278 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2453, allocations: 27.92 kB / 0.5278 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.2453, allocations: 11.94 kB / 0.5278 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2453, allocations: 11.94 kB / 0.5278 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009515/0.2462, allocations: 1.252 MB / 0.5291 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.2465, allocations: 178.6 kB / 0.5292 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.2466, allocations: 23.92 kB / 0.5292 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.2469, allocations: 23.98 kB / 0.5293 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.2469, allocations: 63.73 kB / 0.5293 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.247, allocations: 28 kB / 0.5294 GB, free: 9.625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00143/0.2484, allocations: 1.271 MB / 0.5306 GB, free: 8.363 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2484, allocations: 0 / 0.5306 GB, free: 8.363 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001722/0.2501, allocations: 0.6929 MB / 0.5313 GB, free: 7.668 MB / 442.7 MB 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.001262/0.2514, allocations: 1.873 MB / 0.5331 GB, free: 5.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.2533, allocations: 1.957 MB / 0.535 GB, free: 3.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2533, allocations: 4 kB / 0.535 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.2537, allocations: 428.4 kB / 0.5354 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.2544, allocations: 238 kB / 0.5357 GB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.2759, allocations: 20.83 MB / 0.556 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/0.2775, allocations: 1.708 MB / 0.5577 GB, free: 9.984 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001346/0.2788, allocations: 0.9544 MB / 0.5586 GB, free: 9.027 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/0.2797, allocations: 1.039 MB / 0.5596 GB, free: 7.988 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2797, allocations: 0 / 0.5596 GB, free: 7.988 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05181/0.3315, allocations: 32.97 MB / 0.5918 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.347, allocations: 11.44 kB / 0.5918 GB, free: 7.371 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_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_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cutTorque.torque[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! Error: Could not read variable cutTorque.torque[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv. Warning: Get data of variable cutTorque.torque[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.40546645782888]