Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.0007107/0.0007107, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008028/0.0008028, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8998/0.8998, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2696/0.2696, allocations: 32.79 MB / 293.5 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.557e-05, allocations: 8.609 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1837/0.1837, allocations: 8.916 MB / 448.5 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.19, allocations: 2.918 MB / 451.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1913, allocations: 62.69 kB / 451.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.1939, allocations: 2.668 MB / 454.1 MB, free: 39.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1961, allocations: 1.246 MB / 455.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000615/0.1967, allocations: 383.6 kB / 455.8 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.1992, allocations: 2.59 MB / 458.4 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.2009, allocations: 2.252 MB / 460.6 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.2021, allocations: 1.549 MB / 462.2 MB, free: 35.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009461/0.203, allocations: 1.331 MB / 463.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.2032, allocations: 254.4 kB / 463.7 MB, free: 35.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007247/0.204, allocations: 0.6925 MB / 464.4 MB, free: 35.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.2045, allocations: 1.417 MB / 465.9 MB, free: 34.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.205, allocations: 0.8744 MB / 466.7 MB, free: 34.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.2078, allocations: 5.092 MB / 471.8 MB, free: 32.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2078, allocations: 4 kB / 471.8 MB, free: 32.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2078, allocations: 0 / 471.8 MB, free: 32.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.875e-05/0.2078, allocations: 3 kB / 471.8 MB, free: 32.32 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.003335/0.2112, allocations: 3.235 MB / 475.1 MB, free: 30.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2112, allocations: 9.531 kB / 475.1 MB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003957/0.2116, allocations: 0.5526 MB / 475.6 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.2141, allocations: 1.638 MB / 477.3 MB, free: 29.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2159, allocations: 1.446 MB / 478.7 MB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.216, allocations: 183.9 kB / 478.9 MB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.2162, allocations: 226.8 kB / 479.1 MB, free: 28.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.2266, allocations: 7.128 MB / 486.2 MB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.2267, allocations: 16.62 kB / 486.3 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.2269, allocations: 102.7 kB / 486.4 MB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.2285, allocations: 1.45 MB / 487.8 MB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.2386, allocations: 5.947 MB / 493.7 MB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.2609, allocations: 21.22 MB / 0.5029 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.2633, allocations: 1.767 MB / 0.5046 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.2639, allocations: 0.7057 MB / 0.5053 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003428/0.2673, allocations: 3.334 MB / 0.5086 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2673, allocations: 46.47 kB / 0.5086 GB, free: 2.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.497e-06/0.2673, allocations: 0 / 0.5086 GB, free: 2.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003409/0.2707, allocations: 2.406 MB / 0.511 GB, free: 188 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2708, allocations: 56.06 kB / 0.511 GB, free: 120 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.2728, allocations: 2.18 MB / 0.5131 GB, free: 13.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.2728, allocations: 41.69 kB / 0.5132 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.2739, allocations: 2.098 MB / 0.5152 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.2741, allocations: 349.4 kB / 0.5156 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/0.2746, allocations: 0.6512 MB / 0.5162 GB, free: 10.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2747, allocations: 357.9 kB / 0.5165 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.2759, allocations: 0.9352 MB / 0.5175 GB, free: 9.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.2775, allocations: 2.872 MB / 0.5203 GB, free: 5.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.2807, allocations: 4.154 MB / 0.5243 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.2807, allocations: 20 kB / 0.5243 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003727/0.2844, allocations: 3.71 MB / 0.528 GB, free: 12.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.2844, allocations: 34.22 kB / 0.528 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-05/0.2845, allocations: 73.97 kB / 0.5281 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.64e-05/0.2846, allocations: 92 kB / 0.5282 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.2858, allocations: 0.6862 MB / 0.5288 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.46e-05/0.2859, allocations: 135.5 kB / 0.529 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.2877, allocations: 448.6 kB / 0.5294 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.2879, allocations: 196 kB / 0.5296 GB, free: 11.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.002395/0.2903, allocations: 1.499 MB / 0.531 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.2904, allocations: 182.7 kB / 0.5312 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.2907, allocations: 214.2 kB / 0.5314 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.2907, allocations: 11.94 kB / 0.5314 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.2907, allocations: 0 / 0.5314 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2907, allocations: 3.984 kB / 0.5314 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.2959, allocations: 4.831 MB / 0.5361 GB, free: 4.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.2959, allocations: 8 kB / 0.5362 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.2963, allocations: 119.8 kB / 0.5363 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.2964, allocations: 12 kB / 0.5363 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.2964, allocations: 27.92 kB / 0.5363 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.2964, allocations: 18.44 kB / 0.5363 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.2964, allocations: 12.45 kB / 0.5363 GB, free: 4.035 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009814/0.2974, allocations: 1.399 MB / 0.5377 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.2976, allocations: 218.4 kB / 0.5379 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.2977, allocations: 35.84 kB / 0.5379 GB, free: 2.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.298, allocations: 35.88 kB / 0.538 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.2981, allocations: 67.78 kB / 0.538 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.2981, allocations: 32 kB / 0.5381 GB, free: 2.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001279/0.2994, allocations: 1.448 MB / 0.5395 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2994, allocations: 0 / 0.5395 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001755/0.3011, allocations: 0.7785 MB / 0.5402 GB, free: 15.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.001439/0.3026, allocations: 2.023 MB / 0.5422 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.305, allocations: 2.076 MB / 0.5442 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.305, allocations: 0 / 0.5442 GB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.3054, allocations: 489.3 kB / 0.5447 GB, free: 11.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.3064, allocations: 272.4 kB / 0.545 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.3297, allocations: 23.11 MB / 0.5675 GB, free: 1.156 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.3318, allocations: 1.946 MB / 0.5694 GB, free: 15.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001417/0.3332, allocations: 1.022 MB / 0.5704 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/0.3342, allocations: 1.211 MB / 0.5716 GB, free: 12.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3342, allocations: 0 / 0.5716 GB, free: 12.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.3831, allocations: 37.26 MB / 0.608 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.093, allocations: 14.2 kB / 0.608 GB, free: 8.066 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.264537923969328]