Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 114.5 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 191.7 kB / 20.03 MB, free: 3.039 MB / 14.72 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 1.596/1.596, allocations: 205.1 MB / 227.9 MB, free: 4.52 MB / 174.1 MB " [Timeout remaining time 178] 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.3558/0.3558, allocations: 43.51 MB / 320.8 MB, free: 8.789 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.86 kB / 450 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3063, allocations: 57.77 MB / 0.4959 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01316/0.3196, allocations: 12.61 MB / 0.5082 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.3286, allocations: 3.362 MB / 0.5115 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.3317, allocations: 61.84 kB / 0.5115 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004812/0.3365, allocations: 2.654 MB / 0.5141 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.3408, allocations: 1.361 MB / 0.5155 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3421, allocations: 344.6 kB / 0.5158 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.347, allocations: 2.878 MB / 0.5186 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00374/0.3508, allocations: 3.164 MB / 0.5217 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.3532, allocations: 1.199 MB / 0.5229 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.356, allocations: 1.624 MB / 0.5245 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.3568, allocations: 296 kB / 0.5247 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.3586, allocations: 0.7802 MB / 0.5255 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.3602, allocations: 1.559 MB / 0.527 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.3625, allocations: 1.825 MB / 0.5288 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007759/0.3703, allocations: 6.035 MB / 0.5347 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3703, allocations: 0 / 0.5347 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3703, allocations: 0 / 0.5347 GB, free: 2.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002141/0.3706, allocations: 0 / 0.5347 GB, free: 2.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.009454/0.38, allocations: 3.843 MB / 0.5385 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.3801, allocations: 15.89 kB / 0.5385 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001802/0.3819, allocations: 0.637 MB / 0.5391 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006797/0.3887, allocations: 1.73 MB / 0.5408 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.3934, allocations: 1.672 MB / 0.5424 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.3937, allocations: 201.2 kB / 0.5426 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/0.395, allocations: 263.9 kB / 0.5429 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.4143, allocations: 8.366 MB / 0.551 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/0.4145, allocations: 19.88 kB / 0.551 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.4155, allocations: 119.9 kB / 0.5512 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/0.4187, allocations: 1.764 MB / 0.5529 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.435, allocations: 7.031 MB / 0.5597 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05282/0.4879, allocations: 25.78 MB / 0.5849 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.4944, allocations: 2.529 MB / 0.5874 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.4964, allocations: 0.9812 MB / 0.5884 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009959/0.5064, allocations: 4.456 MB / 0.5927 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.5065, allocations: 47.48 kB / 0.5927 GB, free: 5.465 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 5.501e-06/0.5065, allocations: 0 / 0.5927 GB, free: 5.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.008616/0.5152, allocations: 2.732 MB / 0.5954 GB, free: 2.723 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.5153, allocations: 72.28 kB / 0.5955 GB, free: 2.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/0.52, allocations: 2.262 MB / 0.5977 GB, free: 348 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.5202, allocations: 45.69 kB / 0.5977 GB, free: 296 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/0.5229, allocations: 2.41 MB / 0.6001 GB, free: 13.85 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008514/0.5238, allocations: 484.3 kB / 0.6006 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.5254, allocations: 0.7505 MB / 0.6013 GB, free: 12.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5256, allocations: 309.1 kB / 0.6016 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.5277, allocations: 1.124 MB / 0.6027 GB, free: 11.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/0.5318, allocations: 3.287 MB / 0.6059 GB, free: 6.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006907/0.5387, allocations: 4.811 MB / 0.6106 GB, free: 0.957 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.344e-05/0.5388, allocations: 24 kB / 0.6106 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009105/0.548, allocations: 4.33 MB / 0.6148 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.5481, allocations: 36 kB / 0.6149 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.5482, allocations: 76 kB / 0.6149 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.5484, allocations: 104 kB / 0.615 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.5512, allocations: 0.8149 MB / 0.6158 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001649/0.5514, allocations: 147.4 kB / 0.616 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.5542, allocations: 0.5157 MB / 0.6165 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/0.5548, allocations: 227.9 kB / 0.6167 GB, free: 10.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.003263/0.5581, allocations: 1.706 MB / 0.6184 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.5585, allocations: 206.6 kB / 0.6186 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.5616, allocations: 1.51 MB / 0.62 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.5617, allocations: 15.98 kB / 0.6201 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5617, allocations: 0 / 0.6201 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.5617, allocations: 11.92 kB / 0.6201 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5763, allocations: 7.379 MB / 0.6273 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/0.5763, allocations: 16 kB / 0.6273 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/0.5772, allocations: 195.6 kB / 0.6275 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.546e-05/0.5773, allocations: 20 kB / 0.6275 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.5774, allocations: 39.98 kB / 0.6275 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.73e-05/0.5774, allocations: 31.86 kB / 0.6276 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.707e-05/0.5774, allocations: 23.88 kB / 0.6276 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003234/0.5807, allocations: 2.002 MB / 0.6295 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/0.5815, allocations: 335.2 kB / 0.6299 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.5819, allocations: 39.98 kB / 0.6299 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5829, allocations: 55.86 kB / 0.6299 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.5832, allocations: 115.5 kB / 0.6301 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.5833, allocations: 51.98 kB / 0.6301 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003077/0.5864, allocations: 1.574 MB / 0.6316 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5864, allocations: 0 / 0.6316 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00366/0.59, allocations: 0.9459 MB / 0.6326 GB, free: 9.898 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.00391/0.594, allocations: 2.636 MB / 0.6351 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005109/0.5991, allocations: 2.66 MB / 0.6377 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.5992, allocations: 4 kB / 0.6377 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.6004, allocations: 0.6911 MB / 0.6384 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.6028, allocations: 327.5 kB / 0.6387 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2813/0.8842, allocations: 27.29 MB / 0.6654 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/0.8891, allocations: 2.824 MB / 0.6681 GB, free: 112 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002928/0.892, allocations: 1.17 MB / 0.6693 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/0.8941, allocations: 1.44 MB / 0.6707 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.204e-06/0.8941, allocations: 0 / 0.6707 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07741/0.9715, allocations: 40.96 MB / 0.7107 GB, free: 72.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.7, allocations: 12.06 kB / 0.7107 GB, free: 72.71 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 19.061638278886676]