Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.0009665/0.0009665, allocations: 80.53 kB / 19.92 MB, free: 4.629 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.001066/0.001066, allocations: 177.2 kB / 23.21 MB, free: 1.34 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.9059/0.9059, allocations: 158.6 MB / 185 MB, free: 3.027 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.1354/0.1354, allocations: 32.36 MB / 269.6 MB, free: 14.97 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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.263e-05, allocations: 2.281 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01099/0.01101, allocations: 14.78 MB / 421.6 MB, free: 3.398 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008713/0.01972, allocations: 5.105 MB / 426.7 MB, free: 14.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.02246, allocations: 147.3 kB / 426.9 MB, free: 14.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.02907, allocations: 6.234 MB / 433.1 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.03655, allocations: 3.269 MB / 436.4 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.03931, allocations: 1.75 MB / 438.1 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009339/0.04864, allocations: 9.427 MB / 447.5 MB, free: 9.391 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007024/0.05567, allocations: 6.679 MB / 454.2 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007178/0.06285, allocations: 4.869 MB / 459.1 MB, free: 13.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005428/0.06827, allocations: 4.766 MB / 463.9 MB, free: 8.961 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.06985, allocations: 0.6562 MB / 464.5 MB, free: 8.305 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.07228, allocations: 1.467 MB / 466 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003543/0.07582, allocations: 4.215 MB / 470.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003515/0.07933, allocations: 2.555 MB / 472.8 MB, free: 44 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1787/0.258, allocations: 13.28 MB / 486 MB, free: 62.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.258, allocations: 3.656 kB / 486 MB, free: 62.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.258, allocations: 0 / 486 MB, free: 62.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004599/0.2585, allocations: 0 / 486 MB, free: 62.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.01712/0.2756, allocations: 9.633 MB / 495.7 MB, free: 58.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.2756, allocations: 9.938 kB / 495.7 MB, free: 58.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002827/0.2785, allocations: 1.311 MB / 497 MB, free: 58.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.2857, allocations: 3.064 MB / 0.4883 GB, free: 57.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00849/0.2942, allocations: 5.593 MB / 0.4938 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.2945, allocations: 456.3 kB / 0.4942 GB, free: 55.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/0.2965, allocations: 0.5879 MB / 0.4948 GB, free: 55.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/0.3247, allocations: 18.87 MB / 0.5132 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/0.3249, allocations: 72.58 kB / 0.5133 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.3261, allocations: 284.5 kB / 0.5136 GB, free: 47.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00274/0.3288, allocations: 3.453 MB / 0.5169 GB, free: 46.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.3512, allocations: 14.62 MB / 0.5312 GB, free: 41.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06573/0.4169, allocations: 68.38 MB / 0.598 GB, free: 3.871 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.4278, allocations: 5.792 MB / 0.6037 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.4307, allocations: 2.305 MB / 0.6059 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/0.4445, allocations: 8.957 MB / 0.6147 GB, free: 2.867 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.4445, allocations: 65.59 kB / 0.6147 GB, free: 2.801 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 5.43e-06/0.4445, allocations: 0 / 0.6147 GB, free: 2.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.03034/0.4749, allocations: 17.72 MB / 0.632 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4749, allocations: 157.8 kB / 0.6322 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009839/0.4848, allocations: 7.775 MB / 0.6398 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/0.4854, allocations: 73.53 kB / 0.6398 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003443/0.4888, allocations: 5.722 MB / 0.6454 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/0.49, allocations: 1.038 MB / 0.6464 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.4918, allocations: 1.801 MB / 0.6482 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.4919, allocations: 305.1 kB / 0.6485 GB, free: 388 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.495, allocations: 2.653 MB / 0.6511 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006255/0.5012, allocations: 8.379 MB / 0.6593 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1732/0.6744, allocations: 11.99 MB / 0.671 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001883/0.6746, allocations: 60.91 kB / 0.671 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.01417/0.6888, allocations: 10.74 MB / 0.6815 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.6889, allocations: 92.81 kB / 0.6816 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/0.6891, allocations: 200.7 kB / 0.6818 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.6893, allocations: 269.8 kB / 0.6821 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/0.6941, allocations: 2.151 MB / 0.6842 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003561/0.6945, allocations: 397.2 kB / 0.6845 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/0.7005, allocations: 0.756 MB / 0.6853 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/0.702, allocations: 0.5558 MB / 0.6858 GB, free: 160.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.006232/0.7082, allocations: 3.619 MB / 0.6894 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.7094, allocations: 0.6061 MB / 0.6899 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.7134, allocations: 2.799 MB / 0.6927 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/0.7134, allocations: 27.47 kB / 0.6927 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.7134, allocations: 1.125 kB / 0.6927 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.7134, allocations: 12.78 kB / 0.6927 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/0.7419, allocations: 26.41 MB / 0.7185 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/0.742, allocations: 52 kB / 0.7186 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.7429, allocations: 0.5223 MB / 0.7191 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-05/0.743, allocations: 72 kB / 0.7191 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.7431, allocations: 120.5 kB / 0.7192 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.012e-05/0.7431, allocations: 103.6 kB / 0.7193 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-05/0.7432, allocations: 87.23 kB / 0.7194 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.7468, allocations: 5.181 MB / 0.7245 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.7483, allocations: 0.7523 MB / 0.7252 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006959/0.749, allocations: 133.3 kB / 0.7254 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.7509, allocations: 307.6 kB / 0.7256 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.7511, allocations: 370.2 kB / 0.726 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.7512, allocations: 149.4 kB / 0.7261 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00538/0.7566, allocations: 4.777 MB / 0.7308 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7566, allocations: 4 kB / 0.7308 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006804/0.7634, allocations: 1.704 MB / 0.7325 GB, free: 128.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.004057/0.7675, allocations: 5.939 MB / 0.7383 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006396/0.7739, allocations: 6.015 MB / 0.7441 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-05/0.7739, allocations: 8 kB / 0.7442 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.7753, allocations: 1.441 MB / 0.7456 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/0.7802, allocations: 0.9308 MB / 0.7465 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07276/0.8529, allocations: 75.87 MB / 0.8206 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004646/0.8576, allocations: 5.113 MB / 0.8256 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004109/0.8617, allocations: 2.818 MB / 0.8283 GB, free: 18.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/0.8644, allocations: 3.687 MB / 0.8319 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/0.8644, allocations: 0 / 0.8319 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/1.149, allocations: 105.3 MB / 0.9347 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/14.23, allocations: 7.938 kB / 0.9348 GB, free: 135.6 MB / 0.5417 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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: 16.96829521097243]