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.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.001689/0.001689, allocations: 109 kB / 20.48 MB, free: 1.477 MB / 14.72 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.0021/0.0021, allocations: 209 kB / 23.79 MB, free: 4.688 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.429/1.429, allocations: 207.6 MB / 234.6 MB, free: 9.988 MB / 190.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.2174/0.2174, allocations: 44.25 MB / 331.1 MB, free: 9.512 MB / 270.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.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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 74.72 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.113, allocations: 61.04 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01495/0.128, allocations: 12.69 MB / 0.5293 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.1355, allocations: 3.392 MB / 0.5326 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.138, allocations: 67.81 kB / 0.5327 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005804/0.1438, allocations: 2.699 MB / 0.5353 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.1477, allocations: 1.397 MB / 0.5367 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1488, allocations: 359.3 kB / 0.537 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2273/0.3761, allocations: 2.873 MB / 0.5398 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003944/0.38, allocations: 2.458 MB / 0.5422 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.3825, allocations: 1.214 MB / 0.5434 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.3856, allocations: 1.757 MB / 0.5451 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.3867, allocations: 299.5 kB / 0.5454 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3887, allocations: 0.8004 MB / 0.5462 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.3907, allocations: 1.593 MB / 0.5477 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002816/0.3935, allocations: 1.836 MB / 0.5495 GB, free: 8.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008033/0.4016, allocations: 6.023 MB / 0.5554 GB, free: 7.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4016, allocations: 2.406 kB / 0.5554 GB, free: 7.168 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4016, allocations: 0 / 0.5554 GB, free: 7.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002221/0.4018, allocations: 0 / 0.5554 GB, free: 7.168 MB / 414.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.01001/0.4118, allocations: 3.771 MB / 0.5591 GB, free: 5.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4119, allocations: 10.09 kB / 0.5591 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001682/0.412, allocations: 89.84 kB / 0.5592 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/0.4137, allocations: 0.6362 MB / 0.5598 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006237/0.4199, allocations: 1.74 MB / 0.5615 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/0.4243, allocations: 1.588 MB / 0.5631 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4245, allocations: 211.8 kB / 0.5633 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.4257, allocations: 264.2 kB / 0.5635 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.4425, allocations: 8.366 MB / 0.5717 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.4427, allocations: 14.47 kB / 0.5717 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.4438, allocations: 128.1 kB / 0.5718 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003239/0.447, allocations: 1.758 MB / 0.5736 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.463, allocations: 7.039 MB / 0.5804 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04799/0.511, allocations: 25.68 MB / 0.6055 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.517, allocations: 1.989 MB / 0.6074 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.5188, allocations: 0.8902 MB / 0.6083 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009934/0.5287, allocations: 3.994 MB / 0.6122 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/0.5288, allocations: 50.28 kB / 0.6123 GB, free: 13.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=120): time 4.599e-06/0.5288, allocations: 0 / 0.6123 GB, free: 13.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=120): time 0.008951/0.5378, allocations: 2.74 MB / 0.6149 GB, free: 10.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.5378, allocations: 60.41 kB / 0.615 GB, free: 10.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005437/0.5433, allocations: 2.262 MB / 0.6172 GB, free: 7.977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002817/0.5435, allocations: 45.61 kB / 0.6172 GB, free: 7.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.546, allocations: 2.412 MB / 0.6196 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000832/0.5468, allocations: 486.7 kB / 0.6201 GB, free: 5.055 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.549, allocations: 0.7525 MB / 0.6208 GB, free: 4.297 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5492, allocations: 305.1 kB / 0.6211 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.5515, allocations: 1.12 MB / 0.6222 GB, free: 2.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.5559, allocations: 3.284 MB / 0.6254 GB, free: 14.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.5626, allocations: 4.826 MB / 0.6301 GB, free: 8.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.819e-05/0.5627, allocations: 23.94 kB / 0.6301 GB, free: 8.969 MB / 478.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.009845/0.5726, allocations: 4.329 MB / 0.6344 GB, free: 4.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.5727, allocations: 40 kB / 0.6344 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001431/0.5728, allocations: 76 kB / 0.6345 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.573, allocations: 100 kB / 0.6346 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/0.5761, allocations: 0.8188 MB / 0.6354 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001908/0.5763, allocations: 147.4 kB / 0.6355 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5795, allocations: 0.5032 MB / 0.636 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/0.5803, allocations: 226 kB / 0.6362 GB, free: 3.039 MB / 478.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.004085/0.5844, allocations: 1.702 MB / 0.6379 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.585, allocations: 210.6 kB / 0.6381 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.5885, allocations: 1.516 MB / 0.6396 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.5886, allocations: 19.94 kB / 0.6396 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5886, allocations: 0 / 0.6396 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.5886, allocations: 3.984 kB / 0.6396 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.6055, allocations: 7.359 MB / 0.6468 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/0.6055, allocations: 16.06 kB / 0.6468 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008877/0.6064, allocations: 183.7 kB / 0.647 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/0.6064, allocations: 20 kB / 0.647 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6066, allocations: 39.98 kB / 0.647 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.741e-05/0.6066, allocations: 31.86 kB / 0.647 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/0.6066, allocations: 27.81 kB / 0.6471 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.6098, allocations: 2.007 MB / 0.649 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007818/0.6106, allocations: 258.1 kB / 0.6493 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000604/0.6112, allocations: 35.98 kB / 0.6493 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6125, allocations: 51.92 kB / 0.6494 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.6128, allocations: 119.4 kB / 0.6495 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.6129, allocations: 60.02 kB / 0.6495 GB, free: 4.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003644/0.6165, allocations: 1.576 MB / 0.6511 GB, free: 3.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6165, allocations: 0 / 0.6511 GB, free: 3.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005401/0.6219, allocations: 0.9382 MB / 0.652 GB, free: 2.402 MB / 494.1 MB 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.004133/0.6261, allocations: 2.64 MB / 0.6546 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00496/0.631, allocations: 2.539 MB / 0.657 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.6311, allocations: 5.625 kB / 0.657 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6323, allocations: 0.6674 MB / 0.6577 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.6347, allocations: 325.8 kB / 0.658 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06252/0.6972, allocations: 27.3 MB / 0.6847 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006762/0.704, allocations: 2.82 MB / 0.6874 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003864/0.7079, allocations: 1.178 MB / 0.6886 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/0.7114, allocations: 1.429 MB / 0.69 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of SimCode: time 1.603e-06/0.7114, allocations: 0 / 0.69 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09933/0.8107, allocations: 44.26 MB / 0.7332 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/18.49, allocations: 8.016 kB / 0.7332 GB, free: 11.8 MB / 0.5762 GB " [Timeout remaining time 641] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 22.29169407999143]