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.001651/0.001651, allocations: 108.4 kB / 17.12 MB, free: 5.793 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.002056/0.002056, allocations: 192.7 kB / 20.08 MB, free: 2.879 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.456/1.456, allocations: 207.6 MB / 230.5 MB, free: 4.055 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.3345/0.3345, allocations: 44.23 MB / 326.5 MB, free: 6.836 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.002281/0.002281, allocations: 71.89 kB / 462.2 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2452, allocations: 60.99 MB / 0.5109 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.009329/0.2545, allocations: 12.67 MB / 0.5233 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.2608, allocations: 3.384 MB / 0.5266 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.2624, allocations: 59.94 kB / 0.5266 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004988/0.2674, allocations: 2.679 MB / 0.5292 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.271, allocations: 1.397 MB / 0.5306 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.2719, allocations: 347.4 kB / 0.5309 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004303/0.2762, allocations: 2.88 MB / 0.5338 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.2797, allocations: 2.637 MB / 0.5363 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.2816, allocations: 1.203 MB / 0.5375 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.2843, allocations: 1.752 MB / 0.5392 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009778/0.2853, allocations: 296 kB / 0.5395 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.2871, allocations: 0.7958 MB / 0.5403 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.289, allocations: 1.605 MB / 0.5418 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002335/0.2913, allocations: 1.833 MB / 0.5436 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.2986, allocations: 6.026 MB / 0.5495 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2986, allocations: 0 / 0.5495 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2986, allocations: 0 / 0.5495 GB, free: 7.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001884/0.2988, allocations: 0 / 0.5495 GB, free: 7.297 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.008023/0.3068, allocations: 3.847 MB / 0.5533 GB, free: 3.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3069, allocations: 11.89 kB / 0.5533 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.308, allocations: 0.6331 MB / 0.5539 GB, free: 2.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.3139, allocations: 1.738 MB / 0.5556 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.3182, allocations: 1.672 MB / 0.5572 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.3184, allocations: 205.2 kB / 0.5574 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.319, allocations: 263.9 kB / 0.5577 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01727/0.3363, allocations: 8.362 MB / 0.5658 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.3364, allocations: 11.88 kB / 0.5659 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008281/0.3372, allocations: 127.9 kB / 0.566 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/0.3402, allocations: 1.764 MB / 0.5677 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/0.3557, allocations: 7.034 MB / 0.5746 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.4002, allocations: 25.78 MB / 0.5997 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/0.406, allocations: 2.443 MB / 0.6021 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.4076, allocations: 0.8875 MB / 0.603 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009387/0.417, allocations: 4.46 MB / 0.6073 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.417, allocations: 39.56 kB / 0.6074 GB, free: 10.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=120): time 3.767e-06/0.417, allocations: 0 / 0.6074 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=120): time 0.007622/0.4247, allocations: 2.739 MB / 0.6101 GB, free: 7.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4247, allocations: 64.41 kB / 0.6101 GB, free: 7.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.4287, allocations: 2.273 MB / 0.6123 GB, free: 5.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.4289, allocations: 45.64 kB / 0.6124 GB, free: 5.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.4309, allocations: 2.406 MB / 0.6147 GB, free: 2.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006436/0.4316, allocations: 484.3 kB / 0.6152 GB, free: 2.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.4329, allocations: 0.7466 MB / 0.6159 GB, free: 1.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.4331, allocations: 305.1 kB / 0.6162 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.435, allocations: 1.124 MB / 0.6173 GB, free: 340 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/0.4389, allocations: 3.287 MB / 0.6205 GB, free: 11.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006347/0.4453, allocations: 4.815 MB / 0.6252 GB, free: 6.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.636e-05/0.4454, allocations: 24 kB / 0.6253 GB, free: 6.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008154/0.4535, allocations: 4.333 MB / 0.6295 GB, free: 1.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.4536, allocations: 36 kB / 0.6295 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.4537, allocations: 76 kB / 0.6296 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.4538, allocations: 103.9 kB / 0.6297 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.4564, allocations: 0.8194 MB / 0.6305 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001488/0.4566, allocations: 151.4 kB / 0.6306 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.459, allocations: 0.5079 MB / 0.6311 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/0.4594, allocations: 220 kB / 0.6313 GB, free: 15.83 MB / 0.4981 GB 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.002919/0.4623, allocations: 1.706 MB / 0.633 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.4627, allocations: 206.6 kB / 0.6332 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.4656, allocations: 1.518 MB / 0.6347 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.4657, allocations: 12 kB / 0.6347 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4657, allocations: 3.984 kB / 0.6347 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4657, allocations: 7.922 kB / 0.6347 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/0.4806, allocations: 7.382 MB / 0.6419 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.363e-05/0.4806, allocations: 19.94 kB / 0.6419 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/0.4815, allocations: 191.6 kB / 0.6421 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.859e-05/0.4815, allocations: 23.94 kB / 0.6421 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.4816, allocations: 40.61 kB / 0.6422 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.874e-05/0.4817, allocations: 27.86 kB / 0.6422 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-05/0.4817, allocations: 27.88 kB / 0.6422 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.4847, allocations: 2.002 MB / 0.6442 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.4855, allocations: 331.2 kB / 0.6445 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/0.4859, allocations: 35.98 kB / 0.6445 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.4869, allocations: 59.8 kB / 0.6446 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.4871, allocations: 115.5 kB / 0.6447 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.4872, allocations: 51.97 kB / 0.6448 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.246/0.7331, allocations: 1.573 MB / 0.6463 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7331, allocations: 0 / 0.6463 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003957/0.7371, allocations: 0.9376 MB / 0.6472 GB, free: 118.9 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.003262/0.7403, allocations: 2.635 MB / 0.6498 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004824/0.7452, allocations: 2.542 MB / 0.6523 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.7452, allocations: 2.094 kB / 0.6523 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.7463, allocations: 0.6644 MB / 0.6529 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.748, allocations: 317.5 kB / 0.6532 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/0.782, allocations: 27.3 MB / 0.6799 GB, free: 96.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/0.7853, allocations: 2.826 MB / 0.6826 GB, free: 94.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002364/0.7876, allocations: 1.175 MB / 0.6838 GB, free: 93.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.7893, allocations: 1.437 MB / 0.6852 GB, free: 92.06 MB / 0.4981 GB Notification: Performance of SimCode: time 1.794e-06/0.7893, allocations: 0 / 0.6852 GB, free: 92.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/0.8581, allocations: 41.24 MB / 0.7255 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.73, allocations: 12.02 kB / 0.7255 GB, free: 50.76 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: 18.881511168088764]